Analysis by: Janus Agcaoili

ALIASES:

RDN/Sdbot.worm (McAfee), Trojan.Win32.Jorik.IRCbot.xw (Kaspersky)

 PLATFORM:

Windows

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

  • Threat Type: Worm

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW

Infection Channel: Propagates via instant messaging applications, Via physical/removable drives

This worm monitors the Internet activities of the infected system to steal user credentials if the user visits websites with certain strings. It attempts to steal user credentials used in the certain websites. It monitors certain browsers. It has backdoor capabilities. It modifies the following system files. It hooks the following API to hide itself and to aid its routines.

It drops shortcut files pointing to the copy of itself in removable drives. These dropped .LNK files use the names of the folders located on the said drives for their file names. It then sets the attributes of the original folders to Hidden to trick the user into clicking the .LNK files.

This worm arrives via removable drives. It arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

It is injected into all running processes to remain memory resident.

It drops an AUTORUN.INF file to automatically execute the copies it drops when a user accesses the drives of an affected system.

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

It prevents users from visiting antivirus-related websites that contain specific strings. It deletes the initially executed copy of itself.

  TECHNICAL DETAILS

File Size: 224,408 bytes
File Type: EXE
Memory Resident: Yes
Initial Samples Received Date: 07 Mar 2016
Payload: Steals information, Compromises system security, Connects to URLs/IPs

Arrival Details

This worm arrives via removable drives.

It 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 worm drops a copy of itself in the following folders using different file names:

  • %Application Data%\{random characters}.exe

(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 is injected into all running processes to remain memory resident.

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

  • Snipa-Mutex

It injects codes into the following process(es):

  • explorer.exe
  • winlogon.exe
  • svchost.exe

Autostart Technique

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

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
{filename of dropped copy} = "%Application Data%\{filename of dropped copy}.exe"

Propagation

This worm creates the following folders in all removable drives:

  • {drive letter}:\RECYCLER

It drops the following copy(ies) of itself in all removable drives:

  • {drive letter}:\RECYCLER\{random characters}.exe

It drops an AUTORUN.INF file to automatically execute the copies it drops when a user accesses the drives of an affected system.

The said .INF file contains the following strings:

[AutoRun]
;{garbage characters}
shellexecute=RECYCLER\{file name of malware copy}.exe
;{garbage characters}
icon=shell32.dll,7
;{garbage characters}
shell\open\command=RECYCLER\{file name of malware copy}.exe
;{garbage characters}
action=Open folder to view files
;{garbage characters}
shell\explore\command=RECYCLER\{file name of malware copy}.exe
;{garbage characters}
useautoplay=1

It sends messages that contain links to sites hosting remote copies of itself using the following instant-messaging (IM) applications:

  • XChat
  • Windows Messenger
  • Windows Live Communicator
  • MSN Messenger
  • Pidgin

Backdoor Routine

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

  • Join an IRC channel
  • Send private messages on IRC channel joined
  • Update self
  • Download arbitrary files
  • Send MSN Messenger messages
  • Insert iframe tags into HTML files
  • Visit arbitrary website
  • Block arbitrary DNS
  • Steal login credentials
  • Log in to FTP sites
  • Create arbitrary processes
  • Can modifies the following system files:
    • ipconfig.exe
    • verclsid.exe
    • regedit.exe
    • rundll32.exe
    • cmd.exe
    • regsvr32.exe
  • Perform DDOS attack

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

  • {BLOCKED}ney.biz:53
  • {BLOCKED}h.biz:53
  • {BLOCKED}rbitch.com:53
  • {BLOCKED}pussy.info:53

Information Theft

This worm targets the following websites:

  • OfficeBanking
  • Megaupload
  • FileServe
  • Twitter
  • AlertPay
  • Moneybookers
  • LogMeIn
  • Runescape
  • DynDNS
  • Steam
  • Hackforums
  • Facebook
  • Yahoo
  • Gmail
  • Fastmail
  • BigString
  • AOL
  • YouTube
  • PayPal

Other Details

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

  • api.wipmania.com

It does the following:

  • This worm monitors the Internet activities of the infected system to steal user credentials if the user visits websites with the following strings:
    • *officebanking.cl/*login.asp*
    • *secure.logmein.*/*logincheck*
    • *megaupload.*/*login
    • loginUserPassword
    • loginUserName
    • *loginUserPassword=*
    • *fileserve.*/login*
    • session[password]
    • session[username_or_email]
    • *password]=*
    • *twitter.com/sessions
    • *:2086/login*
    • *:2083/login*
    • Password
    • EmailName
    • *&Password=*
    • *.alertpay.*/*login.aspx
    • txtPassword
    • txtEmail
    • *&txtPassword=*
    • *.moneybookers.*/*login.pl
    • *runescape*/*weblogin*
    • *dyndns*/account*
    • *&password=*
    • *no-ip*/login*
    • *steampowered*/login*
    • quick_password
    • quick_username
    • username
    • *hackforums.*/member.php
    • email
    • *facebook.*/login.php*
    • *login.yahoo.*/*login*
    • passwd
    • login
    • *passwd=*
    • *login.live.*/*post.srf*
    • TextfieldPassword
    • TextfieldEmail
    • *TextfieldPassword=*
    • *gmx.*/*FormLogin*
    • *Passwd=*
    • FLN-Password
    • FLN-UserName
    • *FLN-Password=*
    • *fastmail.*/mail/*
    • *pass=*
    • *bigstring.*/*index.php*
    • screenname
    • *screenname.aol.*/login.psp*
    • password
    • loginId
    • *password=*
    • *aol.*/*login.psp*
    • Passwd
    • Email
    • *service=youtube*
    • *google.*/*ServiceLoginAuth*
    • login_password
    • login_email
    • *login_password=*
    • *paypal.*/webscr?cmd=_login-submit*

  • This worm monitors and captures messages posted on comment boxes on websites with the following URL strings:
    • comment-text
    • *bebo.*/c/home/ajax_post_lifestream_comment
    • bebo Lifestream
    • *bebo.*/c/profile/comment_post.json
    • bebo Comment
    • Message
    • *bebo.*/mail/MailCompose.jsp*
    • bebo Message
    • *friendster.*/sendmessage.php*
    • Friendster Message
    • comment
    • Friendster Comment
    • shoutout
    • *friendster.*/rpc.php
    • Friendster Shoutout
    • *vkontakte.ru/mail.php
    • vkontakte Message
    • *vkontakte.ru/wall.php
    • vkontakte Wall
    • message
    • *vkontakte.ru/api.php
    • vkontakte Chat
    • *twitter.*/*direct_messages/new*
    • Twitter Message
    • *twitter.*/*status*/update*
    • Twitter Tweet
    • status
    • *facebook.*/ajax/*MessageComposerEndpoint.php*
    • Facebook Message
    • msg_text
    • *facebook.*/ajax/chat/send.php*
    • Facebook IM

  • It drops shortcut files pointing to the copy of itself in removable drives. These dropped .LNK files use the names of the folders located on the said drives for their file names. It then sets the attributes of the original folders to Hidden to trick the user into clicking the .LNK files.

  • It monitors the following application:
    • mIRC
    • Internet Explorer
    • Mozilla Firefox

It prevents users from visiting antivirus-related websites that contain the following strings:

  • webroot
  • fortinet
  • virusbuster
  • nprotect
  • gdatasoftware
  • virus
  • precisesecurity
  • lavasoft
  • heck.tc
  • emsisoft
  • onlinemalwarescanner
  • onecare.live
  • f-secure
  • bullguard
  • clamav
  • pandasecurity
  • sophos
  • malwarebytes
  • sunbeltsoftware
  • norton
  • norman
  • mcafee
  • symantec
  • comodo
  • avast
  • avira
  • bitdefender
  • eset
  • kaspersky
  • trendmicro
  • iseclab
  • virscan
  • garyshood
  • viruschief
  • jotti
  • threatexpert
  • novirusthanks
  • virustotal

It deletes the initially executed copy of itself

  SOLUTION

Minimum Scan Engine: 9.800
FIRST VSAPI PATTERN FILE: 12.388.04
FIRST VSAPI PATTERN DATE: 07 Mar 2016
VSAPI OPR PATTERN File: 12.389.00
VSAPI OPR PATTERN Date: 08 Mar 2016

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

Scan your computer with your Trend Micro product and note files detected as WORM_DORKBOT.NS

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
    • {file name of dropped copy} = "%Application Data%\{file name of dropped copy}.exe"

Step 6

  1. Open a command prompt.
    • For Windows 2000, Windows XP, and Windows Server 2003 users, click Start>Run. In the Search box, type CMD then press Enter.
    • For Windows Vista, Windows 7, and Windows Server 2008 users, click Start, type CMD in the Search input field then press Enter.
    • For Windows 8, Windows 8.1, and Windows Server 2012 users, right-click on the lower-left corner of the screen, click Command Prompt.
  2. In the CMD console, type the following:

    ATTRIB [+R | -R] [+A | -A ] [+S | -S] [+H | -H] [+I | -I] [drive:][path][file name] [/S [/D] [/L]]

    Where:
    + Sets an attribute.
    - Clears an attribute
    R Read-only file attribute
    A Archive file attribute
    S System file attribute
    H Hidden file attribute
    I Not content indexed file attribute
    [drive:][path][filename]
    Specifies a file or files for attrib to process
    /S Processes matching files in the current folder and all subfolders.
    /D Processes folders
    /L Work on the attributes of the Symbolic Link versus the target of the Symbolic Link
    Example:
    To unhide all files and folders (including subfolders) in drive D:
    ATTRIB –H D:\* /S /D
  3. Repeat Step 3 for folders and files in other drives or folders.

Step 7

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.
  • {drive letter}:\RECYCLER

Step 8

Search and delete this file

[ 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.
  • {drive letter}:\{folder name}.lnk

Step 9

Search and delete AUTORUN.INF files created by WORM_DORKBOT.NS that contain these strings

[ Learn More ]


[AutoRun]
;{garbage characters}
shellexecute=RECYCLER\{malware file name}.exe
;{garbage characters}
icon=shell32.dll,7
;{garbage characters}
shell\open\command=RECYCLER\{malware file name}.exe
;{garbage characters}
action=Open folder to view files
;{garbage characters}
shell\explore\command=RECYCLER\{malware file name}.exe
;{garbage characters}
useautoplay=1

Step 10

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