Trojan:W32/Qhost.JE

Classification

Category :

Malware

Type :

Trojan

Aliases :

Trojan:W32/Qhost.JE

Summary

Trojan:W32/Qhost.JE is a trojan that steals sensitive information. It also modifies the hosts file in an attempt to redirect online bank traffic to a web site in Russia. The trojan has rootkit functionality.

Removal

Based on the settings of your F-Secure security product, it will either move the file to the quarantine where it cannot spread or cause harm, or remove it.

A False Positive is when a file is incorrectly detected as harmful, usually because its code or behavior resembles known harmful programs. A False Positive will usually be fixed in a subsequent database update without any action needed on your part. If you wish, you may also:

  • Check for the latest database updates

    First check if your F-Secure security program is using the latest updates, then try scanning the file again.

  • Submit a sample

    After checking, if you still believe the file is incorrectly detected, you can submit a sample of it for re-analysis.

    Note: If the file was moved to quarantine, you need to collect the file from quarantine before you can submit it.

  • Exclude a file from further scanning

    If you are certain that the file is safe and want to continue using it, you can exclude it from further scanning by the F-Secure security product.

    Note: You need administrative rights to change the settings.

Technical Details

Qhost.JE consists of multiple components. Its main component is named system32.exe. It sets a registry launchpoint for crypt32net.dll (detected as Trojan.Win32.Zapchast.co), loads a kernel.dll (Trojan.Win32.Delf.xi), and runs scardrv.exe (Trojan-Downloader.Win32.Small.djr).When system32.exe is run it registers crypt32net.dll as a Winlogon notify library thus creating an autorun for itself. Basically the exported "ChainWlxLogoffEvent" function is run at every logon and it, in turn, runs system32.exe.System32.exe creates these keys:

  • HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\crypt32net

It sets these values:

  • HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\crypt32net DllName = crypt32net.dll
  • HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\crypt32net Logon = ChainWlxLogoffEvent
  • HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\crypt32net Asynchronous = 00000001
  • HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\crypt32net Impersonate = 00000000

Qhost.JE has rootkit functionality: kernel.dll sets a global windows hook and uses it to hide the malware processes. It does this by placing an inline hook on NtQuerySystemInformation(). The trojan also hooks HttpSendRequestA() from wininet.dll. A mutex called "ProcHideHook" is present when hooks are active.Kernel.dll monitors HTTP request with the hook on HttpSendRequestA(). It grabs POST data from web traffic and sends it to a hidden window called "Windows System Messenger" maintained by system32.exe process. System32.exe writes data to a log when it receives the message.The malware captures email client passwords, clipboard data, and other information and writes them to C:\WINDOWS\tmp.log. The trojan tries to upload this information to an FTP server. FTP username and password are hard-coded in the trojan.Scardrv.exe is a SOCKS proxy listening on 18191. It also downloads a file from a web server, 84.252.148.70. The downloaded file is stored as "%WINDOWS%\1.tmp". The download page was inaccessible at the time of analysis. System32.exe adds both itself and scardrv.exe to the Windows Firewall list of programs allowed to access the Internet.System32.exe overwrites the hosts-file (%WINDOWS%\system32\drivers\etc\hosts). This is done in order to perform a so-called "pharming" attack i.e. an attack where the user is redirected onto a fraudulent site. Several online banking sites are redirected to a web server in Russia. Also, a number of sites of antivirus vendors are redirected to the localhost address in an attempt to prevent antivirus updates and web access to virus information. Some advertisement sites are also redirected to the localhost address.List of banking sites redirected:

  • 3riversfcu.org
  • 53.com
  • bankofamerica.com
  • bbt.com
  • capitalone.com
  • chase.com
  • citi.com
  • citibank.com
  • cnb.com
  • cnbwax.com
  • comerica.com
  • cwbk.com
  • edsefcu.org
  • etrade.com
  • firstusa.com
  • frontierbank.com
  • gncu.org
  • householdbank.com
  • icicibank.com
  • mbna.com
  • mibank.com
  • midamericabank.com
  • myindymacbank.com
  • nafcunet.org
  • nationalcity.com
  • nationwide.com
  • netbank.com
  • netbank.com.au
  • neteller.com
  • postfinance.com
  • providian.com
  • sbbt.com
  • sears.com
  • southtrust.com
  • tcfbank.com
  • tcfexpress.com
  • tcuonline.org
  • telcomcu.com
  • umb.com
  • uofcfcu.com
  • usaa.com
  • visionsfcu.org
  • wachovia.com
  • warrenfcu.com
  • wellsfargo.com
  • www.3riversfcu.org
  • www.53.com
  • www.bankofamerica.com
  • www.bbt.com
  • www.capitalone.com
  • www.chase.com
  • www.citi.com
  • www.citibank.com
  • www.cnb.com
  • www.cnbwax.com
  • www.comerica.com
  • www.commbank.com.au
  • www.cwbk.com
  • www.edsefcu.org
  • www.etrade.com
  • www.firstusa.com
  • www.frontierbank.com
  • www.gncu.org
  • www.householdbank.com
  • www.icicibank.com
  • www.mbna.com
  • www.mibank.com
  • www.midamericabank.com
  • www.myindymacbank.com
  • www.nafcunet.org
  • www.nationalcity.com
  • www.nationwide.com
  • www.netbank.com
  • www.netbank.com
  • www.netbank.com.au
  • www.neteller.com
  • www.postfinance.com
  • www.providian.com
  • www.sbbt.com
  • www.sears.com
  • www.southtrust.com
  • www.tcfbank.com
  • www.tcfexpress.com
  • www.tcuonline.org
  • www.telcomcu.com
  • www.umb.com
  • www.uofcfcu.com
  • www.usaa.com
  • www.visionsfcu.org
  • www.wachovia.com
  • www.warrenfcu.com
  • www.wellsfargo.com

List of sites redirected to localhost address:

  • ad.doubleclick.net
  • ad.fastclick.net
  • ads.fastclick.net
  • ar.atwola.com
  • atdmt.com
  • avp.ch
  • avp.com
  • avp.com
  • avp.com
  • avp.ru
  • awaps.net
  • banner.fastclick.net
  • banners.fastclick.net
  • ca.com
  • ca.com
  • ca.com
  • click.atdmt.com
  • clicks.atdmt.com
  • customer.symantec.com
  • dispatch.mcafee.com
  • dispatch.mcafee.com
  • download.mcafee.com
  • download.mcafee.com
  • download.mcafee.com
  • download.microsoft.com
  • downloads.microsoft.com
  • downloads1.kaspersky-labs.com
  • downloads1.kaspersky-labs.com
  • downloads1.kaspersky-labs.com/updates
  • downloads2.kaspersky-labs.com
  • downloads3.kaspersky-labs.com
  • downloads4.kaspersky-labs.com
  • downloads-us1.kaspersky-labs.com
  • downloads-us2.kaspersky-labs.com
  • downloads-us3.kaspersky-labs.com
  • engine.awaps.net
  • fastclick.net
  • f-secure.com
  • f-secure.com
  • ftp.avp.ch
  • ftp.downloads2.kaspersky-labs.com
  • ftp.f-secure.com
  • ftp.kasperskylab.ru
  • ftp.sophos.com
  • go.microsoft.com
  • ids.kaspersky-labs.com
  • kaspersky.com
  • kaspersky.ru
  • kaspersky-labs.com
  • liveupdate.symantec.com
  • liveupdate.symantec.com
  • liveupdate.symantec.com
  • liveupdate.symantecliveupdate.com
  • liveupdate.symantecliveupdate.com
  • mast.mcafee.com
  • mast.mcafee.com
  • mcafee.com
  • mcafee.com
  • media.fastclick.net
  • msdn.microsoft.com
  • my-etrust.com
  • my-etrust.com
  • nai.com
  • nai.com
  • networkassociates.com
  • networkassociates.com
  • office.microsoft.com
  • phx.corporate-ir.net
  • rads.mcafee.com
  • secure.nai.com
  • secure.nai.com
  • securityresponse.symantec.com
  • securityresponse.symantec.com
  • service1.symantec.com
  • sophos.com
  • sophos.com
  • spd.atdmt.com
  • support.microsoft.com
  • symantec.com
  • symantec.com
  • trendmicro.com
  • update.symantec.com
  • update.symantec.com
  • update.symantec.com
  • updates.symantec.com
  • updates.symantec.com
  • updates1.kaspersky-labs.com
  • updates1.kaspersky-labs.com
  • updates2.kaspersky-labs.com
  • updates3.kaspersky-labs.com
  • updates3.kaspersky-labs.com/updates
  • updates4.kaspersky-labs.com
  • updates5.kaspersky-labs.com
  • us.mcafee.com
  • us.mcafee.com
  • vil.nai.com
  • viruslist.com
  • viruslist.ru
  • windowsupdate.microsoft.com
  • www.avp.ch
  • www.avp.com
  • www.avp.ru
  • www.awaps.net
  • www.ca.com
  • www.fastclick.net
  • www.f-secure.com
  • www.f-secure.com
  • www.grisoft.com
  • www.kaspersky.com
  • www.kaspersky.ru
  • www.kaspersky-labs.com
  • www.mcafee.com
  • www.mcafee.com
  • www.my-etrust.com
  • www.my-etrust.com
  • www.nai.com
  • www.nai.com
  • www.networkassociates.com
  • www.networkassociates.com
  • www.sophos.com
  • www.sophos.com
  • www.symantec.com
  • www.symantec.com
  • www.trendmicro.com
  • www.trendmicro.com
  • www.viruslist.com
  • www.viruslist.ru
  • www3.ca.com