TrojanSpy.Win32.FORMBOOK.SHKL

 Analysis by: Maria Emreen Viray

 ALIASES:

Trojan:Win32/Tnega.RV!MTB (MICROSOFT)

 PLATFORM:

Windows

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

  • Threat Type: Trojan Spy

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW

Infection Channel:

Downloaded from the Internet, Dropped by other malware


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

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

It logs a user's keystrokes to steal information.

  TECHNICAL DETAILS

File Size:

218,206 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

02 Jun 2021

Payload:

Connects to URLs/IPs, Terminates processes, Compromises system security

Arrival Details

This Trojan Spy 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 Trojan Spy adds the following folders:

  • %User Temp%\nsf{4 random characters}.tmp

(Note: %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Local\Temp on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).)

It drops a copy of itself in the following folders using different file names:

  • %Program Files%\{Random}\{Random}.exe

(Note: %Program Files% is the default Program Files folder, usually C:\Program Files in Windows 2000(32-bit), Server 2003(32-bit), XP, Vista(64-bit), 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit) , or C:\Program Files (x86) in Windows XP(64-bit), Vista(64-bit), 7(64-bit), 8(64-bit), 8.1(64-bit), 2008(64-bit), 2012(64-bit) and 10(64-bit).)

It drops the following files:

  • %User Temp%\tvpqfrc5b5q
  • %User Temp%\rtjansgcaru
  • %User Temp%\nsf{4 random characters}.tmp\System.dll

(Note: %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Local\Temp on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).)

It adds the following processes:

  • {Malware Full Path}

It injects codes into the following process(es):

  • {Malware Full Path}
  • explorer.exe
  • Any of the following legitimate Windows applications (Spawned by the hijacked explorer.exe):
    • audiodg.exe
    • autochk.exe
    • autoconv.exe
    • autofmt.exe
    • chkdsk.exe
    • cmd.exe
    • cmmon32.exe
    • cmstp.exe
    • colorcpl.exe
    • control.exe
    • cscript.exe
    • dwm.exe
    • help.exe
    • ipconfig.exe
    • lsass.exe
    • lsm.exe
    • msdt.exe
    • msg.exe
    • msiexec.exe
    • mstsc.exe
    • napstat.exe
    • nbtstat.exe
    • netsh.exe
    • netstat.exe
    • raserver.exe
    • rdpclip.exe
    • rundll32.exe
    • services.exe
    • spoolsv.exe
    • svchost.exe
    • systray.exe
    • taskhost.exe
    • wininit.exe
    • wlanext.exe
    • wscript.exe
    • wuapp.exe
    • wuauclt.exe
    • wwahost.exe
  • {Targeted Applications}

It terminates itself if it finds the following processes in the affected system's memory:

  • vmwareuser.exe
  • vmwareservice.exe
  • vboxservice.exe
  • vboxtray.exe
  • sandboxiedcomlaunch.exe
  • sandboxierpcss.exe
  • procmon.exe
  • filemon.exe
  • wireshark.exe
  • netmon.exe
  • SharedIntApp.exe
  • vmsrvc.exe
  • vmusrvc.exe
  • python.exe
  • perl.exe
  • regmon.exe

Autostart Technique

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

HKEY_CURRENT_USER\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
{Random Characters} = %Program Files%\{Random}\{Random}.exe

Backdoor Routine

This Trojan Spy executes the following commands from a remote malicious user:

  • Download and execute a file
  • Update Self
  • Uninstall Self
  • Execute Arbitrary Commands
  • Clear cookies
  • Reboot System
  • Shutdown System
  • Send gathered data to C2 Server

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

  • http://www.{BLOCKED}demo.net/pb93/
  • http://www.{BLOCKED}straders.com/pb93/
  • http://www.{BLOCKED}zworldwidepartners.sucks/pb93/
  • http://www.{BLOCKED}adingltd.com/pb93/
  • http://www.{BLOCKED}lexcellencefitness.com/pb93/
  • http://www.{BLOCKED}nandmary.com/pb93/
  • http://www.{BLOCKED}ritic.com/pb93/
  • http://www.{BLOCKED}fredag.com/pb93/
  • http://www.{BLOCKED}ipe.com/pb93/
  • http://www.{BLOCKED}alwomen.com/pb93/
  • http://www.{BLOCKED}i.com/pb93/
  • http://www.{BLOCKED}ngservices.net/pb93/
  • http://www.{BLOCKED}hoes.com/pb93/
  • http://www.{BLOCKED}mpionz.com/pb93/
  • http://www.{BLOCKED}owinggenius.com/pb93/
  • http://www.{BLOCKED}upersport.com/pb93/
  • http://www.{BLOCKED}rowz.com/pb93/
  • http://www.{BLOCKED}tionsystems.net/pb93/
  • http://www.{BLOCKED}digitais.life/pb93/
  • http://www.{BLOCKED}ite.com/pb93/
  • http://www.{BLOCKED}3.info/pb93/
  • http://www.{BLOCKED}gisthenewblack.com/pb93/
  • http://www.{BLOCKED}eaven.com/pb93/
  • http://www.{BLOCKED}ld.com/pb93/
  • http://www.{BLOCKED}rtechia.net/pb93/
  • http://www.{BLOCKED}nglife.com/pb93/
  • http://www.{BLOCKED}llstudent.com/pb93/
  • http://www.{BLOCKED}western.com/pb93/
  • http://www.{BLOCKED}hengxi.com/pb93/

Information Theft

This Trojan Spy gathers the following data:

  • Username
  • CRC32 of SID
  • Operating System
  • Captured Screenshots
  • Clipboard and keylogged data from Targeted Applications:
    • Browsers:
      • 360 Browser
      • Avant
      • Baidu
      • BlackHawk
      • Browzar
      • Canary
      • Chrome
      • Chromium
      • Citrio
      • Comodo Dragon
      • Comodo IceDragon
      • CoolNovo
      • Coowon
      • CyberFox
      • Deepnet
      • Dooble
      • Epic
      • Firefox
      • Internet Explorer
      • Iridium
      • KMeleon
      • Lunascape
      • Maxthon
      • Microsoft Edge
      • Midori
      • Mustang
      • Opera
      • Orbitum
      • PaleMoon
      • QTWeb
      • QupZilla
      • Rambler
      • Safari
      • SafeZone
      • ScriptFTP
      • SeaMonkey
      • Sleipnir
      • Superbird
      • Titan
      • Tor Browser
      • Torch
      • UC Browser
      • Vivaldi
      • Waterfox
      • Yandex
    • Mail Clients:
      • Barca
      • Foxmail
      • GMail
      • Incredimail
      • Microsoft Outlook
      • Mozilla Thunderbird
      • Opera Mail
    • FTP Clients:
      • 3DFTP
      • AbsoluteTelnet
      • ALFTP
      • BitKinex
      • CoreFTP
      • Far File Manager
      • FileZilla
      • FlashFXP
      • Fling FTP
      • LeechFTP
      • NCFTP
      • SmartFTP
      • Total Commander
      • WebDrive
      • WinSCP
    • Instant Messaging (IM) Applications:
      • ICQ Messenger
      • Pidgin
      • Skype
      • Trillian
      • WhatsApp
      • Yahoo Messenger

It logs a user's keystrokes to steal information.

Other Details

This Trojan Spy does the following:

  • It terminates itself if the loaded DLLs has the following strings in their filepath:
    • \cuckoo\
    • \sandcastle\
    • \aswsnx\
    • \sandbox\
    • \smpdir\
    • \samroot\
    • \avctestsuite\
  • It terminates itself if its filename has a length greater than or equal to 32 characters

It terminates itself if any of the following user name(s) are found in the affected system:

  • cuckoo
  • sandbox-
  • nmsdbox-
  • xxxx-ox-
  • cwsx-
  • wilbert-sc
  • xpamast-sc

  SOLUTION

Minimum Scan Engine:

9.800

FIRST VSAPI PATTERN FILE:

16.756.05

FIRST VSAPI PATTERN DATE:

02 Jun 2021

VSAPI OPR PATTERN File:

16.757.00

VSAPI OPR PATTERN Date:

03 Jun 2021

Step 1

Trend Micro Predictive Machine Learning detects and blocks malware at the first sign of its existence, before it executes on your system. When enabled, your Trend Micro product detects this malware under the following machine learning name:

     
    • Troj.Win32.TRX.XXPE50FSX011

Step 2

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

Step 3

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 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
    • {Random Characters} = %Program Files%\{Random}\{Random}.exe

Step 6

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.
  • %User Temp%\tvpqfrc5b5q
  • %User Temp%\rtjansgcaru
  • %User Temp%\nsf{4 random characters}.tmp\System.dll

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.
  • %User Temp%\nsf{4 random characters}.tmp

Step 8

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