BKDR_KELIHOS.NRT

 Modified by: Rika Joi Gregorio

 ALIASES:

Backdoor:Win32/Kelihos(Microsoft), W32/Kelihos.G!tr(Fortinet), a variant of Win32/Kryptik.BJWM trojan(Eset), Trojan.Sinowal(Ikarus)

 PLATFORM:

Windows 2000, Windows Server 2003, Windows XP (32-bit, 64-bit), Windows Vista (32-bit, 64-bit), Windows 7 (32-bit, 64-bit)

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

  • Threat Type: Backdoor

  • Destructiveness: No

  • Encrypted: Yes

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

It executes commands from a remote malicious user, effectively compromising the affected system.

  TECHNICAL DETAILS

File Size:

1,138,373 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

18 Dec 2013

Payload:

Sends messages, Compromises network security, 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.

Autostart Technique

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

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
{random parameter 1}{random parameter 2} = "{malware path and file name}"

Other System Modifications

This backdoor adds the following registry entries:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
Advanced
DefaultCompressedRecord = "{random value}"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
Advanced
RecordModifiedMax = "{random value}=="

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
Advanced
FlagsModifiedValid = "0"

HKEY_CURRENT_USER\Software\TansuTCP
ActiveModifiedTheme = "{random value}"

HKEY_CURRENT_USER\Software\TansuTCP
SizeCompletedValid = "{random value}=="

HKEY_CURRENT_USER\Software\TansuTCP
InfoPlayedCurrent = "0"

Propagation

This backdoor does not have any propagation routine.

Backdoor Routine

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

  • Request spam email messages structure and template
  • Send spam email messages
  • Send stolen information
  • Get operating system information
  • Get drive information
  • List running processes
  • Download and execute arbitrary files
  • Update server with a list of compromised computers
  • Manage registry
  • Download updated copy of itself

It connects to the following URL(s) to send and receive commands from a remote malicious user:

  • http://{BLOCKED}.95.3/home.htm
  • http://{BLOCKED}.205.70/welcome.htm
  • http://{BLOCKED}.95.3/online.htm
  • http://{BLOCKED}.95.3/main.htm
  • http://{BLOCKED}.108.182/file.htm

Information Theft

This backdoor gathers the following data:

  • Network traffic information
  • Login credentials from FTP, POP3 and SMTP traffic
  • Bitcoins

It attempts to steal stored account information used in the following installed File Transfer Protocol (FTP) clients or file manager software:

  • 3D-FTP
  • 32bit FTP
  • ALFTP
  • BlazeFtp
  • BPFTP
  • Classic FTP
  • COREFTP
  • CuteFTP
  • DeluxeFTP
  • EasyFTP
  • FAR Manager FTP
  • FFFTP
  • FreeFTP/DirectFTP
  • FreshFTP
  • FTP Commander
  • FTP Control
  • FTP Explorer
  • FTP Navigator
  • FTP Now
  • FTP Surfer
  • FTP++
  • FTPGetter
  • FTPNow
  • FTPRush
  • GoFTP
  • LeapFTP
  • LeechFTP
  • LINASFTP
  • MyFTP
  • NovaFTP
  • NppFTP
  • QuickFtp
  • Robo-FTP
  • SmartFTP
  • SoftX FTP Client
  • Staff-FTP
  • TurboFTP
  • WinFTP
  • WS_FTP

It gathers the following account information from any of the mentioned File Transfer Protocol (FTP) clients or file manager software:

  • Server Name
  • User Name
  • Password
  • Directory
  • Port

It attempts to get stored information such as user names, passwords, and hostnames from the following browsers:

  • Bromium
  • ChromePlus
  • Chromium
  • Comodo
  • CoolNovo
  • Epic Browser
  • Google Chrome
  • K-Meleon
  • Nichrome
  • Rockmelt
  • Yandex

NOTES:
This backdoor modifies its file attributes to read-only and hidden after execution.

The auto-run registry, {random parameter 1} can be any of the following:

  • CrashReport
  • Database
  • Desktop
  • Icon
  • Media
  • Network
  • Time
  • Tray
  • Video

The auto-run registry, {random parameter 2} can be any of the following:

  • Checker
  • CrashReportUpdater
  • For example:
  • Informer
  • NetworkVerifyer
  • Notifyer
  • Saver
  • TrayNotifyer
  • Updater
  • Verifyer

It saves its updated copy using the following file names:

  • acrord32
  • agent
  • alg
  • ati2evxx
  • avguard
  • batch
  • block
  • ccapp
  • ccevtmgr
  • ccsetmgr
  • convert
  • decompile
  • defwatch
  • dit
  • download
  • dwm
  • edit
  • em_exec
  • explorer
  • extract
  • ezsp_px
  • firefox
  • fix
  • gearsec
  • hkcmd
  • hkcr
  • htpatch
  • ielowutil
  • ieuser
  • iexplore
  • igfxtray
  • isuspm
  • java
  • jqs
  • jucheck
  • jusched
  • khalmnpr
  • klwtblfs
  • lame
  • launch
  • lsass
  • lucoms
  • mac
  • mcshield
  • mcvsescn
  • msascui
  • mscorsvw
  • mspmspsv
  • naprdmgr
  • navapsvc
  • nprotect
  • ntvdm
  • nvsvc32
  • nvxdsync
  • nwiz
  • pctspk
  • pdvddxsrv
  • play
  • point32
  • qbw32
  • qttask
  • rename
  • rundll32
  • services
  • sidebar
  • smc
  • spoolsv
  • svchost
  • taskman
  • terraria
  • toaster
  • trustedinstaller
  • unhide
  • unpack
  • unzip
  • update
  • upgrade
  • uptime
  • view
  • vsmon
  • webscanx
  • winlogon
  • wisptis
  • wmpnetwk
  • wmpnscfg
  • xsd
  • zcfgsvc
  • zumodrive

The downloaded files' folder depends on the Download backdoor command.

It uses WinPcap, a legitimate and commonly used Windows packet capture library, to monitor the infected computer's network activities. It does this by dropping and installing the following non-malicious files:

  • %System%\packet.dll
  • %System%\wpcap.dll
  • %System%\drivers\npf.sys

It exchanges encrypted messages with a remote server via HTTP protocol (TCP port 80). It uses the following crafted User-Agent when communicating with the remote host:

  • Mozilla/1.22 (compatible; MSIE 10.0; Windows 3.1)
  • Mozilla/4.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/5.0)
  • Mozilla/5.0 (compatible; MSIE 10.0; Macintosh; Intel Mac OS X 10_7_3; Trident/6.0)
  • Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/4.0; InfoPath.2; SV1; .NET CLR 2.0.50727; WOW64)
  • Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/5.0)
  • Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0)
  • Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)
  • Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; Acoo Browser 1.98.744; .NET CLR 3.5.30729)
  • Mozilla/5.0 (compatible; MSIE 9.0; AOL 9.7; AOLBuild 4343.19; Windows NT 6.1; WOW64; Trident/5.0; FunWebProducts)
  • Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0) Opera 12.14
  • Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; chromeframe/12.0.742.112)
  • Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; Media Center PC 6.0; InfoPath.3; MS-RTC LM 8; Zune 4.7)
  • Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 7.1; Trident/5.0)
  • Mozilla/5.0 (iPad; CPU OS 5_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko ) Version/5.1 Mobile/9B176 Safari/7534.48.3
  • Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5355d Safari/8536.25
  • Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:21.0) Gecko/20100101 Firefox/21.0
  • Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.13+ (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2
  • Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/534.55.3 (KHTML, like Gecko) Version/5.1.3 Safari/534.53.10
  • Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_7; da-dk) AppleWebKit/533.21.1 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
  • Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_8; de-at) AppleWebKit/533.21.1 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
  • Mozilla/5.0 (Windows NT 5.0; rv:21.0) Gecko/20100101 Firefox/21.0
  • Mozilla/5.0 (Windows NT 5.1) Gecko/20100101 Firefox/14.0 Opera/12.0
  • Mozilla/5.0 (Windows NT 5.1; rv:21.0) Gecko/20100101 Firefox/21.0
  • Mozilla/5.0 (Windows NT 5.1; rv:21.0) Gecko/20130331 Firefox/21.0
  • Mozilla/5.0 (Windows NT 5.1; rv:21.0) Gecko/20130401 Firefox/21.0
  • Mozilla/5.0 (Windows NT 6.0; rv:2.0) Gecko/20100101 Firefox/4.0 Opera 12.14
  • Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1468.0 Safari/537.36
  • Mozilla/5.0 (Windows NT 6.1; rv:21.0) Gecko/20100101 Firefox/21.0
  • Mozilla/5.0 (Windows NT 6.1; rv:21.0) Gecko/20130328 Firefox/21.0
  • Mozilla/5.0 (Windows NT 6.1; rv:21.0) Gecko/20130401 Firefox/21.0
  • Mozilla/5.0 (Windows NT 6.1; rv:22.0) Gecko/20130405 Firefox/22.0
  • Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:22.0) Gecko/20130328 Firefox/22.0
  • Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0
  • Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20130330 Firefox/21.0
  • Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20130331 Firefox/21.0
  • Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20130401 Firefox/21.0
  • Mozilla/5.0 (Windows NT 6.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1464.0 Safari/537.36
  • Mozilla/5.0 (Windows NT 6.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1467.0 Safari/537.36
  • Mozilla/5.0 (Windows NT 6.2; rv:21.0) Gecko/20130326 Firefox/21.0
  • Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.2 Safari/537.36
  • Mozilla/5.0 (Windows; U; MSIE 9.0; Windows NT 9.0; en-US)
  • Mozilla/5.0 (X11; Linux i686; rv:21.0) Gecko/20100101 Firefox/21.0
  • Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:21.0) Gecko/20100101 Firefox/21.0
  • Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:21.0) Gecko/20130331 Firefox/21.0
  • Opera/9.80 (Windows NT 5.1; U; zh-sg) Presto/2.9.181 Version/12.00
  • Opera/9.80 (Windows NT 6.0) Presto/2.12.388 Version/12.14
  • Opera/9.80 (Windows NT 6.1; U; es-ES) Presto/2.9.181 Version/12.00

This backdoor sends spam email messages using Simple Mail Transfer Protocol (SMTP) connection. It harvests email addresses from the affected computer's local drive.

It does not have rootkit capabilities.

It does not exploit any vulnerability.

  SOLUTION

Minimum Scan Engine:

9.700

FIRST VSAPI PATTERN FILE:

10.480.03

FIRST VSAPI PATTERN DATE:

18 Dec 2013

VSAPI OPR PATTERN File:

10.481.00

VSAPI OPR PATTERN Date:

19 Dec 2013

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

Restart in Safe Mode

[ Learn More ]

Step 3

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\Explorer\Advanced
    • DefaultCompressedRecord = "{random value}"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
    • RecordModifiedMax = "{random value}=="
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
    • FlagsModifiedValid = "0"
  • In HKEY_CURRENT_USER\Software\TansuTCP
    • ActiveModifiedTheme = "{random value}"
  • In HKEY_CURRENT_USER\Software\TansuTCP
    • SizeCompletedValid = "{random value}=="
  • In HKEY_CURRENT_USER\Software\TansuTCP
    • InfoPlayedCurrent = "0"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    • {random parameter 1}{random parameter 2} = "{malware path and file name}"

Step 4

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