BKDR_QAKBOT.MEQH

 Analysis by: Wilbert Vidal

 ALIASES:

Backdoor.Win32.QBot.vtf (Kaspersky); Backdoor:Win32/Qakbot.T ( Microsoft)

 PLATFORM:

Windows

 OVERALL RISK RATING:
 DAMAGE POTENTIAL:
 DISTRIBUTION POTENTIAL:
 REPORTED INFECTION:
 INFORMATION EXPOSURE:

  • Threat Type: Backdoor

  • Destructiveness: No

  • Encrypted: No

  • In the wild: Yes

  OVERVIEW

Infection Channel:

Dropped by other malware, Downloaded from the Internet

This Backdoor arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

It connects to certain websites to send and receive information.

  TECHNICAL DETAILS

File Size:

442,368 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

24 Aug 2017

Payload:

Terminates processes, Steals information, Downloads files

Arrival Details

This Backdoor arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

Installation

This Backdoor drops the following component file(s):

  • %Application Data%\Microsoft\{random folder}\{random file name}.dll
  • %Application Data%\Microsoft\{random folder}\{random file name}.dat
  • %Application Data%\Microsoft\{random folder}\{random file name}.exe ← Dropped Copy
  • %AppDataLocal%\Microsoft\{random file name}.wpl ← Javascript component

(Note: %Application Data% is the Application Data folder, where it usually is C:\Documents and Settings\{user name}\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Roaming on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.. %AppDataLocal% is the Application Data folder found in Local Settings, where it is usually C:\Documents and Settings\{user name}\Local Settings\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Local on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.)

It adds the following processes:

  • explorer.exe

It creates the following folders:

  • %Application Data%\Microsoft\{random folder}

(Note: %Application Data% is the Application Data folder, where it usually is C:\Documents and Settings\{user name}\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Roaming on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.)

It injects codes into the following process(es):

  • explorer.exe

Autostart Technique

This Backdoor adds the following registry entries to enable its automatic execution at every system startup:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
{random name} = "%Application Data%\Microsoft\{random folder name}\{random file name}.exe"

Process Termination

This Backdoor terminates the following processes if found running in the affected system's memory:

  • windbg.exe
  • ChromeUpdate.exe
  • msdev.exe
  • dbgview.exe
  • ollydbg.exe
  • ctfmon.exe
  • Proxifier.exe
  • nav.exe

Information Theft

This Backdoor monitors the Internet Explorer (IE) activities of the affected system, specifically the address bar or title bar. It recreates a legitimate website with a spoofed login page if a user visits banking sites with the following strings in the address bar or title bar:

  • tbank.com
  • business-eb.ibanking-services.com
  • treasury.pncbank.com
  • access.jpmorgan.com
  • tssportal.jpmorgan.com
  • ktt.key.com
  • onlineserv/CM
  • premierview.membersunited.org
  • directline4biz.com
  • .webcashmgmt.com
  • tmconnectweb
  • moneymanagergps.com
  • ibc.klikbca.com
  • directpay.wellsfargo.com
  • express.53.com
  • ctm.53.com
  • itreasury.regions.com
  • itreasurypr.regions.com
  • cpw-achweb.bankofamerica.com
  • businessaccess.citibank.citigroup.com
  • businessonline.huntington.com
  • /cmserver/
  • goldleafach.com
  • iachwellsprod.wellsfargo.com
  • achbatchlisting
  • /achupload
  • commercial2.wachovia.com
  • commercial3.wachovia.com
  • commercial4.wachovia.com
  • wc.wachovia.com
  • commercial.wachovia.com
  • wcp.wachovia.com
  • chsec.wellsfargo.com
  • wellsoffice.wellsfargo.com
  • /ibws/
  • /stbcorp/
  • /payments/ach
  • trz.tranzact.org
  • /wiret
  • /payments/ach
  • cbs.firstcitizensonline.com
  • /corpach/
  • scotiaconnect.scotiabank.com
  • webexpress.tdbank.com
  • businessonline.tdbank.com
  • /wcmpw/
  • /wcmpr/
  • /wcmtr/
  • tcfexpressbusiness.com
  • trz.tranzact.org

It gathers the following data:

  • GeoIP locations
  • Browser cookies
  • Flash cookies
  • Network information
  • System information
  • FTP, POP3, IMAP, SMTP, HTTPMail, NNTP Passwords
  • Outlook login credentials
  • Private keys from system certificates
  • Login credentials for certain websites
  • Internet sessions

Other Details

This Backdoor connects to the following URL(s) to check for an Internet connection:

  • cnn.com
  • microsoft.com
  • baidu.com
  • facebook.com
  • yahoo.com
  • wikipedia.org
  • qq.com
  • linkedin.com
  • mail.ru

It connects to the following URL(s) to get the affected system's IP address:

  • www.ip-adress.com

It connects to the following website to send and receive information:

  • {BLOCKED}.{BLOCKED}.19.94:995

It does the following:

  • It connects to the following site to check for internet connection:
    • http://{BLOCKED}e.speedtest.{BLOCKED}t.net/random750x750.jpg?x={random numbers}&y=1
    • http://{BLOCKED}n.speedtest.{BLOCKED}t.net/random750x750.jpg?x={random numbers}&y=1
    • http://{BLOCKED}nville.speedtest.{BLOCKED}t.net/random750x750.jpg?x={random numbers}&y=1
    • http://{BLOCKED}n.speedtest.{BLOCKED}t.net/random750x750.jpg?x={random numbers}&y=1
  • It is capable of the following:
    • Download and execute component files
    • Download configuration and updates
    • Download updated copy of itself
    • Uninstall itself
    • Kill processes
    • Upload files containing stolen information
    • Perform FTP functionalities
  • It sends the following information to its C&C server:
    • ext_ip
    • dnsname
    • hostname
    • user
    • domain
    • is_admin
    • os
    • qbot_version
    • install_time
    • exe
  • It also steals stored passwords, cache and cookies from the following servers:
    • 001e6608
    • 001e6607
    • Email
    • HTTP Server URL
    • HTTP User
    • HTTPMail Server
    • HTTPMail User Name
    • IMAP Server
    • IMAP User
    • IMAP User Name
    • NNTP Email Address
    • NNTP Server
    • NNTP User Name
    • POP3 Server
    • POP3 User
    • POP3 User Name
    • SMTP Email Address
    • SMTP Server
    • SMTP User
    • SMTP User Name
  • It also monitors the browsing activities of the infected computer and logs all information related to websites containing the following strings:
    • .5min.com
    • 127.0.0.1
    • 180solutions.com
    • .adworldmedia.com
    • .amazonaws.com
    • .bing.com
    • .gator.com
    • .microsoft.com
    • .mozilla.com
    • .mozilla.org
    • .twimg.com
    • \.king.com
    • api.skype.com
    • audatexsolutions.com
    • auditude.com
    • brightcove.com
    • clients.mindbodyonline.com
    • conduit-services.com
    • contacts.msn.com
    • digitalmediacommunications.com
    • doubleclick.
    • eorezo.com
    • etsy.com
    • facebook.com
    • farmville.com
    • fwmrm.net
    • googleusercontent.com
    • hotbar.com
    • internet-optimizer.com
    • kixeye.com
    • localhost
    • loyaltyconnect.ihg.com
    • lphbs.com
    • mail.google.com
    • mail.services.live.com
    • mapquest.com
    • mendeley.com
    • messenger.live.com
    • mochibot.com
    • mybrowserbar.com
    • myshopres.com
    • netflix.com
    • newasp.com.cn
    • owlforce.com
    • phantomefx.com
    • playtoga.com
    • r777r.info
    • radialpoint.com
    • salesforce.com
    • search.msn.com
    • securestudies.com
    • seekmo.com
    • sipuku.com
    • spamblockerutility.com
    • storage.live.com
    • tbreport.bellsouth.net
    • tubemogul.com
    • webhancer.com
    • wildtangent.com
    • wpzkq.com
    • youtube.com
    • zango.com
    • zynga.com
  • It terminates itself when executed in the following Virtual Environments:
    • Virtual HD
    • VirtualProtect
    • VirtualBox
    • CWSandbox
    • VMWare
  • It checks for the following running process:
    • AvastSvc.exe
    • avgcsrvx.exe
    • ccSvcHst.exe
    • coreServiceShell.exe
    • egui.exe
    • mcshield.exe
    • vsservppl.exe
  • It checks if the following anti-virus software is installed:
    • norton
    • AVG
    • mcaffee
    • kaspersky
    • NOD32
    • Bitdefender
    • Avast
    • Trend Micro
    • Microsoft Security Essentials
  • It prevents users from visiting antivirus-related websites that contain the following strings:
    • siteadvisor.com
    • avgthreatlabs.com
    • safeweb.norton.com
  • It replaces the file itself with autoconv.exe (Microsoft File)

  SOLUTION

Minimum Scan Engine:

9.850

FIRST VSAPI PATTERN FILE:

13.612.08

FIRST VSAPI PATTERN DATE:

23 Aug 2017

VSAPI OPR PATTERN File:

13.613.00

VSAPI OPR PATTERN Date:

24 Aug 2017

Step 1

Before doing any scans, Windows XP, Windows Vista, and Windows 7 users must disable System Restore to allow full scanning of their computers.

Step 2

Note that not all files, folders, and registry keys and entries are installed on your computer during this malware's/spyware's/grayware's execution. This may be due to incomplete installation or other operating system conditions. If you do not find the same files/folders/registry information, please proceed to the next step.

Step 3

Restart in Safe Mode

[ Learn More ]

Step 4

Delete this registry value

[ Learn More ]

Important: Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this step only if you know how or you can ask assistance from your system administrator. Else, check this Microsoft article first before modifying your computer's registry.

 
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
    • {random name} = "%Application Data%\Microsoft\{random folder name}\{random file name}.exe"

Step 5

Search and delete these folders

[ Learn More ]
Please make sure you check the Search Hidden Files and Folders checkbox in the More advanced options option to include all hidden folders in the search result.
  • %Application Data%\Microsoft\{random folder}

Step 6

Search and delete these files

[ Learn More ]
There may be some files that are hidden. Please make sure you check the Search Hidden Files and Folders checkbox in the "More advanced options" option to include all hidden files and folders in the search result.
  • %Application Data%\Microsoft\{random folder}\{random file name}.dll
  • %Application Data%\Microsoft\{random folder}\{random file name}.dat
  • %AppDataLocal%\Microsoft\{random file name}.wpl

Step 7

Restart in normal mode and scan your computer with your Trend Micro product for files detected as BKDR_QAKBOT.MEQH. If the detected files have already been cleaned, deleted, or quarantined by your Trend Micro product, no further step is required. You may opt to simply delete the quarantined files. Please check this Knowledge Base page for more information.


Did this description help? Tell us how we did.