TSPY_DRIDEX.WQJ


 ALIASES:

Win32/Dridex.C (ESET)

 PLATFORM:

Windows

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

  • Threat Type: Spyware

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW

Infection Channel:

Downloaded from the Internet, Dropped by other malware

This spyware arrives as an attachment to spammed messages. It arrives as a malicious macro code.

To get a one-glance comprehensive view of the behavior of this Spyware, refer to the Threat Diagram shown below.

This spyware arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites. It may be downloaded from remote sites by other malware.

It connects to certain websites to send and receive information. It is used to load and execute a file. It deletes itself after execution.

  TECHNICAL DETAILS

File Size:

81,920 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

29 Oct 2014

Payload:

Connects to URLs/IPs, Downloads files, Steals information

Arrival Details

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

It may be downloaded from remote site(s) by the following malware:

  • TROJ_WMSHELL.A

It may be downloaded from the following remote sites:

  • http://{BLOCKED}hurt.com.pl/js/bin.exe

Installation

This spyware drops the following copies of itself into the affected system and executes them:

  • %AppDataLocal%\edg{number}.exe
  • %AppDataLocal%\edg{number}.tmp - deleted afterwards

(Note: %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 injects codes into the following process(es):

  • explorer.exe

Autostart Technique

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

HKEY_CURRENT_USER\ Software\Microsoft\
Windows\CurrentVersion\Run
wmnotify = "rundll32.exe %Application Data%\{number}.tmp NotifierInit"
This autorun registry is added before the system shuts down

Other System Modifications

This spyware adds the following registry entries:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
CLSID\{GUID}\ShellFolder
{random} = "{encrypted}"

Download Routine

This spyware saves the files it downloads using the following names:

  • %AppDataLocal%\{number}.tmp - TSPY_DRIDEX.WQJ
    This file is moved to %Application Data%\{number}.tmp before the system shuts down

(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.)

Information Theft

This spyware gathers the following data:

  • username
  • computer name
  • installation date

Other Details

This spyware connects to the following website to send and receive information:

  • {BLOCKED}.{BLOCKED}.184.70:8080
  • {BLOCKED}.{BLOCKED}.89.83:8080
  • {BLOCKED}.{BLOCKED}.157.176:8080

It is used to load and execute the following file:

  • %AppDataLocal%\{number}.tmp
    executed using the following command:
    rundll32.exe %AppDataLocal%\{number}.tmp,NotifierInit

(Note: %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 does the following:

  • httpshots
  • form grabbing
  • clickshots
  • site injections

It deletes itself after execution.

NOTES:

This spyware monitors the following browsers:

  • firefox.exe
  • chrome.exe
  • iexplore.exe

The following are malware sources used for site injections:

  • http://{BLOCKED}.{BLOCKED}.13.10:8080/injectgate
  • http://{BLOCKED}.{BLOCKED}.13.10:8080/tokengate
  • http://{BLOCKED}.{BLOCKED}.87.132:8080/logs/dtukvbv/js.php
  • http://{BLOCKED}.{BLOCKED}.87.132:8080/logs/dtukvbv/in.php

It captures screenshots once the following sites are loaded:

  • https://ibank1\.bib\.barclays\.com/logon/bibapplication.+LOGON\.VALIDATE\.SIGNED
  • https://cashmanagement\.barclays\.net/portalservices/forms/login\.pser\?TYPE.+cashmanagement

It monitors the following bank-related sites by form grabbing, clickshots, and site injections:

  • accounts.google.com/ServiceLoginAuth
  • aol.com/.*/login/
  • http://business.aib.ie/(business|)login
  • http://www\.co\-operativebank\.co\.uk/business/businessonlinebanking/bobs\-noticeboard
  • http://www\.co\-operativebank\.co\.uk/corporate/fdo\-noticeboard
  • https://(edi|del|hkg|lon|sta)\.my\.rbs\.com
  • https://(retail|corporate)\.metrobankonline\.co\.uk
  • https://.*/tdsecure/intro\.jsp.*
  • https://.*\.directnet\.com/dn/c/cls/auth
  • https://access\.rbsm\.com/logon/(password|dp300)/.+\.fcc(\?|$)
  • https://ambank\.amonline\.com\.my
  • https://banking\.bankofscotland\.co\.uk/Logon/Logon\.aspx(\?|$)
  • https://banking\.lloydsbank\.com/Logon/logon\.aspx(\?|$)
  • https://banking\.triodos\.co\.uk/ib\-seam/login\.seam\?loginType=dp550
  • https://bbank\d+\.ybonline\.co\.uk/ifdu/ifdlm\-web/login\.ctl
  • https://bbmy\.ocbc\.com
  • https://biz\.uob\.com\.my/ELO/login\.jsp
  • https://bizibanking\.bangkokbank\.com/bblamsui/Signon.*\.aspx
  • https://business\.co\-operativebank\.co\.uk/corp/BANKAWAY
  • https://business\.santander\.co\.uk/LGSBBI\_NS\_ENS/
  • https://business\d*\.danskebank\.(co\.uk|com)/pub/logon/logon\.aspx
  • https://cardservicing\.mint\.co\.uk/RBSG\_Consumer/Login\.do
  • https://cashmanagement\.barclays\.net/portalservices/forms/login\.pser
  • https://cbfm\.saas\.cashfac\.com/cbfm/
  • https://cib\.affinonline\.com/business/login\.html
  • https://cib\.uab\.ae/
  • https://comnet\.pbz\.hr/PbzComnetWeb/app/logon\.html
  • https://connect\.barclays\.com/.*authen
  • https://corporate\.adcb\.com/corporateWeb/
  • https://corporate\.cbq\.com\.qa
  • https://corporate\.santander\.co\.uk/LOGSCU_NS_ENS/
  • https://direkt\.rba\.hr/cgi\-bin/ppz2/start/rbat\.jsp
  • https://e\-finance\.postfinance\.ch/(ef/secure|secure/fp)/html/
  • https://ebank\.kasikornbankgroup\.com/kbiznet/login.*\.html
  • https://ebanking\-ch\d+\.ubs\.com/workbench/Index\.do
  • https://fdonline\.co\-operativebank\.co\.uk/corp/BANKAWAY
  • https://home\d*\.cybusinessonline\.co\.uk/lmgru.*/ceblm\-web/
  • https://home\d+\.cbonline.co\.uk/ralu/reglm\-web/login\.ctl
  • https://home\d+\.ybonline.co\.uk/ralu/reglm\-web/login\.ctl
  • https://ib\.bankmandiri\.co\.id/retail/Login\.do
  • https://ib\.bri\.co\.id/ib\-bri/Login\.html
  • https://ib\d*\.npbs\.co\.uk/IB\.Web/Login\.aspx
  • https://ibank\.agribank\.com\.vn/ibank/index\.jsp
  • https://ibank\.bni\.co\.id/corp/AuthenticationController
  • https://ibank\.bri\.co\.id/cms/
  • https://ibank\.klikbca\.com
  • https://ibank\d*\.bib\.barclays\.com/logon/
  • https://ibb\.aibgb1\.co\.uk/ibb/controller
  • https://ibps\.hpb\.hr/HPB\.iBank\.IBPS\.Web/login\.iface
  • https://ibusinessbanking\.aib\.ie/ibb/controller
  • https://ideal\.dbs\.com/loginSubscriber/login/(SubscriberLoginServlet|pin\.jsp)
  • https://leumionline\.bankleumi\.co\.uk/my\.policy
  • https://lloydslink\.online\.lloydsbank\.com/Logon/Logon\.jsp
  • https://login\.smartbusiness\.ae/
  • https://logon\.reflex\.rhbbank\.com\.my/rhbcams/corporate/login\.jsp
  • https://mcm\.bankmandiri\.co\.id/corp/common/login\.do\?action=login
  • https://mcsign\.ba\-ca\.com/smartoffice/\_mcologon\?\.\.OASLogon
  • https://mib\.bankmandiri\.co\.id/sme/common/login\.do\?action=login
  • https://net\.pbz\.hr/pbz365/logon.*
  • https://online\-business\.bankofscotland\.co\.uk/business/logon/login\.jsp(\?|$)
  • https://online\.adambank\.com/eBankingAdamLogin/login
  • https://online\.bankofcyprus\.co\.uk/netteller/login\.faces
  • https://online\.coutts\.com/eBankingCouttsLogin/login
  • https://online\.fgb\.ae/fgbcorporate/CorpLogin\.html?(\?|$)
  • https://online\.nbad\.com/iportalweb/iportal/jsps/orbilogin\.jsp
  • https://online\.ybs\.co\.uk/public/authentication/login1\.do
  • https://onlinebanking\.nationwide\.co\.uk/AccessManagement/Login
  • https://professionalson\-line\.bankofscotlandbusiness\.co\.uk/\_mem\_bin/formslogin\.asp
  • https://s2b\.standardchartered\.com/ssoapp/(login\.jsp|core\.security\.login\.event)
  • https://securebank\.cahoot\.com/servlet/com\.aquariussecurity\.bks\.security\.authentication\.servlet\.LoginEntryServletBKS
  • https://sme\.standardchartered\.com/commonapp/core\.security\.vascochallenge\.event
  • https://vpn.*\.sjp\.co\.uk/vpn/vpnloginpage\.html
  • https://vpn\.tarumanagara\.com/\+CSCOE\+/logon\.html
  • https://ws\d+\.kasikornbank\.com/baliweb/\d+/site/defaultskin/.*/html/static/logon\.htm
  • https://www\.allianceonline\.net\.my/Corporate/welcome\.htm
  • https://www\.amesecurities\.com\.my/gc/main\.jsp
  • https://www\.bankislam\.biz/rib/login/index
  • https://www\.bankline\.natwest\.com/CWSLogon/
  • https://www\.bankline\.rbs\.com/CWSLogon/
  • https://www\.bankline\.ulsterbank\.(ie|co\.uk)/CWSLogon/
  • https://www\.barclayswealth\.com/login/action/logon/unauthenticated/personal/loginDetails
  • https://www\.boi\-bol\.com/comLogon\.jsp
  • https://www\.boi\-bol\.com/newHome\.jsp
  • https://www\.caterallenonline\.co\.uk/WebAccess\.dll
  • https://www\.citibank\.com\.my/MYGCB/JPS/portal/Index\.do
  • https://www\.danamonline\.com/onlinebanking/Login/lgn_new\.aspx
  • https://www\.ebanking\.cimbthai\.com/cash/logon\.jsp
  • https://www\.fundsdirect\.co\.uk/bks/login\.aspx\?bksid=beaumont
  • https://www\.halifax\-online\.co\.uk/personal/logon/login\.jsp
  • https://www\.hongleongonline\.com\.my/business/public/main\.html
  • https://www\.hsbc\.com\.vn/1/2/
  • https://www\.hvbrsce\.com/ebanking/London/EXE/WBankDsp\.exe
  • https://www\.iombankibanking\.com/eai/IPB_EAI_Web/
  • https://www\.irakyat\.com\.my/retail/security/commonLogin\.jsp
  • https://www\.kbc\.be/
  • https://www\.maybank2e\.net/M2E/mbbcustomer/
  • https://www\.maybank2u\.com\.my/mbb/m2u/common/mbbLoginCheckAdapt\.do
  • https://www\.maybank2u\.com\.my/mbb/m2uNOW/common/mbbLoginCheckAdapt\.do
  • https://www\.mybsn\.com\.my/mybsn/login/login\.do
  • https://www\.mybusinessbank\.co\.uk/cs70\_banking/logon/slogon
  • https://www\.nwolb\.com/(login|default)\.aspx
  • https://www\.onlinebanking\.iombank\.com/(login|default)\.aspx
  • https://www\.permatae\-business\.com/corp/common/login\.do\?action=login
  • https://www\.rbsdigital\.com/(login|default)\.aspx
  • https://www\.sbnet\.splitskabanka\.hr/priv/.*/dciweb\.htm
  • https://www\.tescobank\.com/sss/auth
  • https://www\.ulsterbankanytimebanking\.co\.uk/(login|default)\.aspx
  • https://www\.unb\.com/uninet/main\_login\.asp
  • https://www\.unity\-online\.co\.uk
  • https://www\.vietcombank\.com\.vn/ibanking/Default\.aspx
  • https://www\.vietinbank\.vn/ipay/vbh/login\.do
  • https://www\.zaba\.hr/ebank/gradjani/InnerLogin\.jsp
  • https://www\d+\.firstdirect\.com/1/2/
  • https?://www.rbs\.co\.uk/corporate/electronic\-services/g1/bankline\.ashx
  • https?://www\.business\.natwest\.com/afb/public/nwb/AFBRoot/mainhome/2morover/accounts
  • https?://www\.cybusinessonline\.co\.uk/essential\-maintenance/fraud\-message
  • https?://www\.lloydsbankcommercial\.com/servicemessage
  • login.live.com/
  • login.yahoo.com/
  • https://apib\d*\.anz\.com/apinetbank/(Startup|LoginEsInetANZ)\.aspx(\?|$)

It may load any of the following modules:

  • vnc_x32
  • socks_x32
  • bot_x32

  SOLUTION

Minimum Scan Engine:

9.700

FIRST VSAPI PATTERN FILE:

11.240.06

FIRST VSAPI PATTERN DATE:

28 Oct 2014

VSAPI OPR PATTERN File:

11.241.00

VSAPI OPR PATTERN Date:

28 Oct 2014

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

Remove the malware/grayware file that dropped/downloaded TSPY_DRIDEX.WQJ. (Note: Please skip this step if the threat(s) listed below have already been removed.)

Step 3

Scan your computer with your Trend Micro product and note files detected as TSPY_DRIDEX.WQJ

Step 4

Restart in Safe Mode

[ Learn More ]

Step 5

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
    • wmnotify = "rundll32.exe %Application Data%\{number}.tmp NotifierInit"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{GUID}\ShellFolder
    • {random} = "{encrypted}"

Step 6

Search and delete the file detected as TSPY_DRIDEX.WQJ

[ Learn More ]
Please make sure you check the Search Hidden Files and Folders checkbox in the More advanced options option to include all hidden files in the search result.

Step 7

Restart in normal mode and scan your computer with your Trend Micro product for files detected as TSPY_DRIDEX.WQJ. 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.