Haskell Platform 8.2.2 - virus?

New Haskell install was tripping my Bitdefender like crazy and in weird ways - not new as that's how bitdefender rolls. However, I retested in a clean test, with (free) Hitman Pro I started from a base case with 2 clean windows 8 VMs. New 8.2.2 install - has virus Old 8.0.2 Jan 2017 - no virus According to Hitman Pro, touchy.exe, haddock-8.2.2, ghc-8.2.2.exe, and unlit.exe have some problem post-install. I went no further on the VMs. "Detection Names Kaspersky Trojan-Downloader.Win32.Paph.fsv " Bitdefender didn't get it on install but would lock the whole thing down on the first run of "Cabal".

Upload one of the binaries it flagged to https://www.virustotal.com/en/ and send the link. As far as I can tell, they’re all clean https://www.virustotal.com/en/file/9cc2a6032dde8d8ab572f9491041242ab4c76d2b7... https://www.virustotal.com/en/file/5ffdaa7da4381637ab2a0ec327118cd933398a477... From: Matthew Lamari Sent: Thursday, December 28, 2017 20:29 To: ghc-devs@haskell.org Subject: Haskell Platform 8.2.2 - virus? New Haskell install was tripping my Bitdefender like crazy and in weird ways - not new as that's how bitdefender rolls. However, I retested in a clean test, with (free) Hitman Pro I started from a base case with 2 clean windows 8 VMs. New 8.2.2 install - has virus Old 8.0.2 Jan 2017 - no virus According to Hitman Pro, touchy.exe, haddock-8.2.2, ghc-8.2.2.exe, and unlit.exe have some problem post-install. I went no further on the VMs. "Detection Names Kaspersky Trojan-Downloader.Win32.Paph.fsv " Bitdefender didn't get it on install but would lock the whole thing down on the first run of "Cabal". _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

The site gave me the 5ffdaa sha256 you have below for touchy.exe. That said, I still have the 2 builds yield different results from Hitman Pro on the clean boxes. And Bitdefender, on my machine, (albeit being obtuse) chucks a fit over it. It doesn't detect the EXE files; but detects secondary consequences of them running. *I really think something is afoot here.* On 12/28/2017 3:00 PM, lonetiger@gmail.com wrote:
Upload one of the binaries it flagged to https://www.virustotal.com/en/ and send the link.
As far as I can tell, they’re all clean
https://www.virustotal.com/en/file/9cc2a6032dde8d8ab572f9491041242ab4c76d2b7...
https://www.virustotal.com/en/file/5ffdaa7da4381637ab2a0ec327118cd933398a477...
*From: *Matthew Lamari mailto:matt.lamari@gmail.com *Sent: *Thursday, December 28, 2017 20:29 *To: *ghc-devs@haskell.org mailto:ghc-devs@haskell.org *Subject: *Haskell Platform 8.2.2 - virus?
New Haskell install was tripping my Bitdefender like crazy and in weird
ways - not new as that's how bitdefender rolls. However, I retested in a
clean test, with (free) Hitman Pro
I started from a base case with 2 clean windows 8 VMs.
New 8.2.2 install - has virus
Old 8.0.2 Jan 2017 - no virus
According to Hitman Pro, touchy.exe, haddock-8.2.2, ghc-8.2.2.exe, and
unlit.exe have some problem post-install. I went no further on the VMs.
"Detection Names
Kaspersky Trojan-Downloader.Win32.Paph.fsv
"
Bitdefender didn't get it on install but would lock the whole thing down
on the first run of "Cabal".
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

This wouldn't be the first time some program that uses heuristic execution
patterns to detect malware decided it didn't like the STG.
On Thu, Dec 28, 2017 at 4:15 PM, Matthew Lamari
The site gave me the 5ffdaa sha256 you have below for touchy.exe.
That said, I still have the 2 builds yield different results from Hitman Pro on the clean boxes. And Bitdefender, on my machine, (albeit being obtuse) chucks a fit over it. It doesn't detect the EXE files; but detects secondary consequences of them running.
*I really think something is afoot here.*
On 12/28/2017 3:00 PM, lonetiger@gmail.com wrote:
Upload one of the binaries it flagged to https://www.virustotal.com/en/ and send the link.
As far as I can tell, they’re all clean
https://www.virustotal.com/en/file/9cc2a6032dde8d8ab572f949104124 2ab4c76d2b7d36eea5283c82cf9bf9fd69/analysis/
https://www.virustotal.com/en/file/5ffdaa7da4381637ab2a0ec327118c d933398a477430e2f5d94e9d53c53f2782/analysis/
*From: *Matthew Lamari
*Sent: *Thursday, December 28, 2017 20:29 *To: *ghc-devs@haskell.org *Subject: *Haskell Platform 8.2.2 - virus? New Haskell install was tripping my Bitdefender like crazy and in weird
ways - not new as that's how bitdefender rolls. However, I retested in a
clean test, with (free) Hitman Pro
I started from a base case with 2 clean windows 8 VMs.
New 8.2.2 install - has virus
Old 8.0.2 Jan 2017 - no virus
According to Hitman Pro, touchy.exe, haddock-8.2.2, ghc-8.2.2.exe, and
unlit.exe have some problem post-install. I went no further on the VMs.
"Detection Names
Kaspersky Trojan-Downloader.Win32.Paph.fsv
"
Bitdefender didn't get it on install but would lock the whole thing down
on the first run of "Cabal".
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
-- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net

Yes, AV software, especially HitmanPro are not gospel.
67 other AVs came out clean. But let’s say for the sake of argument that they’re all wrong.
“Trojan-Downloader” is a class of Trojan that downloads a payload. Which means they need to use a socket somehow.
$ sha256sum.exe ghc-8.2.2/lib/bin/touchy.exe
5ffdaa7da4381637ab2a0ec327118cd933398a477430e2f5d94e9d53c53f2782 *ghc-8.2.2/lib/bin/touchy.exe
Is the binary I’m looking it, it matches the hash on the total virus link and yours.
This is the source of touchy https://github.com/ghc/ghc/blob/ghc-8.2/utils/touchy/touchy.c
The application does not import Winsock, so networking seems more unlikely, but it imports GetProcAddress, so let’s say for the sake of argument it’s
Dynamically binding to the socket library.
http://lpaste.net/3408264924009332736 is the full string table. Which contains no ascii string starting with “WSA”. So unlikely since you need to name the function
you want to call, and you need to initialize the sockets, so WSA.
This is the full disassembly of touchy.exe
http://lpaste.net/7667888088021991424
Below you’ll find an inline copy of main, it pretty much follows the source in touchy.c.
I’m pretty confident that HitmanPro is just throwing a false positive, I won’t be going through the CRT startup code.
Here’s main:
00000000004015c0 <main>:
4015c0: 41 57 push %r15
4015c2: 41 56 push %r14
4015c4: 41 55 push %r13
4015c6: 41 54 push %r12
4015c8: 55 push %rbp
4015c9: 57 push %rdi
4015ca: 56 push %rsi
4015cb: 53 push %rbx
4015cc: 48 83 ec 68 sub $0x68,%rsp
4015d0: 89 ce mov %ecx,%esi
4015d2: 48 89 d7 mov %rdx,%rdi
4015d5: e8 e6 02 00 00 callq 4018c0 <__main>
4015da: 83 fe 01 cmp $0x1,%esi
4015dd: 74 10 je 4015ef
participants (3)
-
Brandon Allbery
-
lonetiger@gmail.com
-
Matthew Lamari