BKDR_CRIDEX.ASV

 Analysis by: Anthony Joe Melgarejo

 ALIASES:

W32.Cridex (Symantec), TR/Bublik.por (Antivir), Trojan.Win32.Bublik (Ikarus), Trj/OCJ.A (Panda)

 PLATFORM:

Windows 2000, Windows XP, Windows Server 2003

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

  • Threat Type: Backdoor

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW

Infection Channel:

Propagates via removable drives


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 does not have any propagation routine.

It executes commands from a remote malicious user, effectively compromising the affected system. It connects to a website to send and receive information.

It deletes the initially executed copy of itself.

  TECHNICAL DETAILS

File Size:

167936 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

07 Nov 2012

Payload:

Compromises system security, Connects to URLs/IPs, Steals information

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 copies of itself into the affected system and executes them:

  • %User Profile%\Application Data\KB{random number}.exe

(Note: %User Profile% is the current user's profile folder, which is usually C:\Windows\Profiles\{user name} on Windows 98 and ME, C:\WINNT\Profiles\{user name} on Windows NT, and C:\Documents and Settings\{user name} on Windows 2000, XP, and Server 2003.)

It creates the following folders:

  • %User Profile%\Application Data\{random folder name}

(Note: %User Profile% is the current user's profile folder, which is usually C:\Windows\Profiles\{user name} on Windows 98 and ME, C:\WINNT\Profiles\{user name} on Windows NT, and C:\Documents and Settings\{user name} on Windows 2000, XP, and Server 2003.)

It adds the following mutexes to ensure that only one of its copies runs at any one time:

  • Local\XME{8 random characters}
  • Local\XMI{8 random characters}
  • Local\XMM{8 random characters}
  • Local\XMS{8 random characters}
  • Local\XMF{8 random characters}
  • Local\XMR{8 random characters}
  • Local\XMQ{8 random characters}
  • Local\XMB{8 random characters}

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
KB{random number}.exe = "%User Profile%\Application Data\KB{random number}.exe"

Other System Modifications

This backdoor adds the following registry keys:

HKEY_CURRENT_USER\Software\Microsoft\
Windows NT\{random value 1}

HKEY_CURRENT_USER\Software\Microsoft\
Windows NT\{random value 2}

It adds the following registry entries:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Internet Settings
GlobalUserOffline = "0"

Propagation

This backdoor does not have any propagation routine.

Backdoor Routine

This backdoor executes the following commands from a remote malicious user:

  • Monitor browser cookies
  • Download and execute arbitrary files
  • Upload stolen information
  • Download configuration files

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

  • http://{BLOCKED}8.{BLOCKED}8.216.70:8080/jsbqmCA/hCpyb/Cnw/ED/
  • http://{BLOCKED}0.{BLOCKED}5.150.72:8080/jsbqmCA/hCpyb/Cnw/ED/
  • http://{BLOCKED}0.{BLOCKED}9.13.84:8080/jsbqmCA/hCpyb/Cnw/ED/
  • http://{BLOCKED}9.{BLOCKED}0.221.6:8080/jsbqmCA/hCpyb/Cnw/ED/
  • http://{BLOCKED}1.{BLOCKED}.235.35:8080/jsbqmCA/hCpyb/Cnw/ED/
  • http://{BLOCKED}0.{BLOCKED}6.23.100:8080/jsbqmCA/hCpyb/Cnw/ED/
  • http://{BLOCKED}5.{BLOCKED}1.72.46:8080/jsbqmCA/hCpyb/Cnw/ED/
  • http://{BLOCKED}6.{BLOCKED}8.12.158:8080/jsbqmCA/hCpyb/Cnw/ED/
  • http://{BLOCKED}0.{BLOCKED}2.102.132:8080/jsbqmCA/hCpyb/Cnw/ED/

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:

  • \.com/k1/
  • /ach/
  • /authentication/zbf/k/
  • /bb/logon/
  • chase\.com
  • /cashman/
  • /cashplus/
  • /clkccm/
  • /cmmain\.cfm
  • /cmserver/
  • /cmwire
  • achredirect\.aspx
  • cbonline
  • /ebc_ebc1961/
  • /ibs\.
  • /ibws/
  • /icm/
  • /icm2/
  • /inets/
  • /livewire/
  • /loginolb/loginolb
  • /netbnx/
  • /olbb/
  • /phcp
  • /sbuser/
  • /smallbiz/
  • /wcmpw/
  • /webcm/
  • /wire/
  • /wires/
  • 2checkout\.com
  • ablv\.com
  • access\.jpmorgan\.com
  • access\.usbank\.com
  • accessbankplc\.com
  • accountoverview\.aspx
  • accurint\.com
  • achieveaccess\.citizensbank\.com
  • achpayment
  • achweb\.unionbank\.com
  • achworks\.com
  • alltimetreasury\.pacificcapitalbank\.com
  • alphabank\.com
  • amegybank\.com/
  • anb\.portalvault\.com
  • atbonlinebusiness\.com
  • auth\.umb\.com
  • authmaster\.nationalcity\.com
  • baltikums\.com
  • baltikums\.eu
  • banesco\.com\.pa
  • bankbyweb
  • bankfirst\.com
  • banking\.calbanktrust\.com
  • banking\.firsttennessee\.biz
  • accurint\.com
  • plainscapital\.gfxwebwire\.com
  • sterlingpayment\.com
  • rbsm\.com
  • business\.swedbank\.lv
  • secure\.accesshorizon\.com
  • myonline\.bankbv\.com
  • cencorpcu\.com/
  • banknet\.lv
  • bankofbermuda\.com
  • bankofcyprus\.com
  • bankonline\.sboff\.com
  • bankonline\.umpquabank\.com
  • bbo\.1stsource\.com
  • bib\.lv
  • billauth
  • billmenu
  • bizcurrency\.com
  • blilk
  • bmo\.com/
  • bmoharrisprivatebankingonline\.com
  • bmomutualfunds\.com
  • bnycash\.bankofny\.com
  • bob\-w\.
  • bob\.sovereignbank\.com
  • bolb\-east\.associatedbank\.com
  • bolb\-west\.associatedbank\.com
  • bolb\.
  • boveda\.banamex\.com\.mx
  • bscincky\.com
  • business\.macu\.com
  • business\.netbankerplus\.com
  • business_solutions
  • businessaccess\.citibank\.citigroup\.com
  • businessappshome
  • businessbanking\.cibc\.com
  • businessclassonline\.compassbank\.com
  • businesslogin
  • businessmanager\.com
  • businessonline
  • businessportal\.mibank\.com
  • butterfieldonline\.ky
  • bxs\.com
  • cashanalyzer\.com
  • cashmanager\.mizuhoe\-treasurer\.com
  • cashmgmt
  • cashmgt
  • cashproonline\.bankofamerica\.com
  • bankofamerica\.com
  • cashproweb\.com/cpwportal
  • cbbusinessonline\.com
  • cencorpcu\.com
  • cfgbusinessaccess\.com
  • checkgateway
  • checkout\.com/va/login
  • cib\.bankofthewest
  • cibconline\.cibc\.com
  • cimbanque\.net
  • citizensbankmoneymanagergps\.com
  • cmachm\.w
  • cmbmnt\.w
  • cmol\.bbt\.com/auth
  • cmwirp\.w
  • cnbsec1\.
  • colb\.
  • comerica\.com
  • commercebusinessdirect\.com
  • commercial\.wachovia\.com
  • commercialservices
  • connect\.bankcolonial\.com
  • connect\.colonialbank\.com
  • constitutioncorp\.org
  • corpach
  • corporate\.epfc\.com
  • corporateaccounts
  • corporatebankingweb
  • corporateconnect\.net
  • corpower\.coop
  • createcorpwire
  • createwire
  • cu\.com
  • cu\.org
  • danskebanka\.lv
  • db\-direct\.db\.com
  • directline4biz\.com
  • directnet\.com
  • e\-moneyger
  • e\-norvik\.lv
  • easywebcpo\.td\.com/waw/idp
  • ebanking\-services
  • ebemo\.bemobank\.com
  • ebill\.highmark\.com
  • ecash\.
  • ecm\-transfers\.unionbank\.com
  • ecms\.unionbank\.com
  • efirstbank\.com
  • ekp\.lv
  • enternetbank\.com
  • enterprise2\.openbank\.com
  • epd\.uscentral\.org
  • eurobankefg\.com
  • exact4web
  • exness\.com
  • express\.53\.com
  • expressdeposit\.colonialbank\.com
  • fbmedirect\.com
  • ffinonline\.com
  • ffrontier\.com
  • firstbancorp\.com
  • firstbanks\.com
  • firstcitizens\.com
  • fnfgbusinessonline\.enterprisebanker\.com
  • fxpayments\.americanexpress\.com
  • geonline\.lv
  • global\-ebanking\.com
  • global1\.onlinebank\.com
  • globalink\.leumiusa\.com
  • goldleaf
  • guard\.scotiabank\.com
  • handelsbanken\.lv
  • hbcash\.exe
  • hblibank\.com
  • hbproxy\.exe
  • hellenicnetbanking\.com
  • hillsbank\.com
  • hiponet\.lv
  • hkbea
  • hsbc\.com\.mx
  • i\-linija\.lt
  • ib\.dnb\.lv
  • ibanking\-services\.com
  • ibbpl2\.com
  • ibbpowerlink\.com
  • ibbusinessnet\.com
  • ibcbankonline\.ibc\.com
  • ifxmanager\.bankofny\.com
  • ifxmanager\.bnymellon\.com
  • inetbanker
  • injectreceiver
  • internationalbanking\.
  • internationalpayments\.
  • internet\-ebanking\.com
  • internetbanker\.cc
  • itinternet\.net
  • itreasury\.amsouth\.com
  • ktt\.key\.com
  • lakelandbank\.com
  • libertymutualbusinessdirect\.com
  • lionbank\.com
  • login_business\.asp
  • logincm
  • loyalbank\.com
  • lv\.unicreditbanking\.net
  • marfinbank\.com\.cy
  • mbachexpress\.com
  • mcb\-home\.com/online
  • memberach
  • metrobankdirect\.com
  • midatlanticcorp\.org
  • moneymanagergps\.com
  • multinetbank\.eu
  • my\.statestreet\.com
  • mycorporate\.org
  • myonlineservices\.cbolobank\.com
  • nashvillecitizensbank\.com
  • nationalcity\.com/consultnc
  • nbarizona\.com/login_business\.jsp
  • nbb\.controlsecure\.com
  • ncms\-inc\.com
  • netteller
  • nfbconnect\.com
  • northbaybancorp\.com
  • northerntrust\.com
  • norvik\.lv
  • nsbank\.com
  • ntrs\.com
  • nubi
  • olb\.
  • olb\.ent\.com/business/
  • online\-offshore\.lloydstsb\.com
  • online\.1stnb\.com
  • online\.alphabank\.com
  • online\.citadele\.lv
  • online\.dollarbank\.com
  • online\.ibl\.com\.lb
  • online\.lkb\.lv
  • online\.ovcb\.com
  • online\.usb\.com\.cy
  • online\.wilberbank\.com

Other Details

This backdoor deletes the initially executed copy of itself

NOTES:

It monitors the following browsers:

  • firefox.exe

It does not have rootkit capabilities.

It does not exploit any vulnerability.

  SOLUTION

Minimum Scan Engine:

9.300

FIRST VSAPI PATTERN FILE:

9.514.06

FIRST VSAPI PATTERN DATE:

08 Nov 2012

VSAPI OPR PATTERN File:

9.515.00

VSAPI OPR PATTERN Date:

09 Nov 2012

Step 1

For Windows XP and Windows Server 2003 users, before doing any scans, please make sure you disable System Restore to allow full scanning of your computer.

Step 2

Scan your computer with your Trend Micro product and note files detected as BKDR_CRIDEX.ASV

Step 3

Restart in Safe Mode

[ Learn More ]

Step 4

Delete this registry key

[ 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 NT
    • {random value 1}
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows NT
    • {random value 2}

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
    • KB{random number}.exe = "%User Profile%\Application Data\KB{random number}.exe"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings
    • GlobalUserOffline = "0"

Step 6

Search and delete this folder

[ 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.
  • %User Profile%\Application Data\{random folder name}

Step 7

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

NOTES:
The created registry keys HKEY_CURRENT_USER\Software\Microsoft\Windows NT\{random value 1} and HKEY_CURRENT_USER\Software\Microsoft\Windows NT\{random value 2} cannot be identified by the users since there are no reference values in the created keys. The only way these keys can be identified is by comparing the present keys with a backup if the users have one. Note that these keys need not be deleted since it won't cause the user system any harm.


Did this description help? Tell us how we did.