TrojanSpy.MSIL.NEGASTEAL.THGAIAI

 Analysis by: Rayven Cervantes

 PLATFORM:

Windows

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

  • Threat Type: Trojan Spy

  • Destructiveness: No

  • Encrypted: No

  • In the wild: Yes

  OVERVIEW

Infection Channel:

Downloaded from the Internet

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.

  TECHNICAL DETAILS

File Size:

347,648 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

19 Jul 2019

Payload:

Connects to URLs/IPs, Deletes files

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:

  • %Application Data%\WechattsApp
  • %Application Data%\{Random Characters}.{3 Random Characters}\
  • %Application Data%\{Random Characters}.{3 Random Characters}\Chrome
  • %Application Data%\{Random Characters}.{3 Random Characters}\Chrome\Default
  • %Application Data%\{Random Characters}.{3 Random Characters}\Chrome\Default\Cookies -> Puts in a Zip file
  • %Application Data%\{Random Characters}.{3 Random Characters}\Firefox
  • %Application Data%\{Random Characters}.{3 Random Characters}\Firefox\Profiles
  • %Application Data%\{Random Characters}.{3 Random Characters}\Firefox\Profiles\dxxbjsgn.default
  • %Application Data%\{Random Characters}.{3 Random Characters}\Firefox\Profiles\dxxbjsgn.default\cookies.sqlite -> Puts in a Zip file

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

It drops the following copies of itself into the affected system:

  • %Application Data%\WechattsApp\WechattsApp.exe
  • %User Temp%\tmpG844.tmp

(Note: %Application Data% is the current user's Application Data folder, which is usually C:\Documents and Settings\{user name}\Application Data on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Roaming on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).. %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).)

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
WechattsApp = %Application Data%\WechattsApp\WechattsApp.exe

Dropping Routine

This Trojan Spy drops the following files:

  • %Application Data%\{Random Characters}.{3 Random Characters}.zip -> contains browser cookie data

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

Information Theft

This Trojan Spy gathers the following data:

  • Computer Name
  • OS Name
  • Mouse Activity
  • Capture clipboard
  • Keyboard Layout
  • Keyboard Stroke and State
  • Processes Running
  • Hard drive information and Free Space
  • Active Window
  • Browser Cookies

Stolen Information

This Trojan Spy sends the gathered information via HTTP POST to the following URL:

  • server248-1.{BLOCKED}ing.com (SMTP Server)

Other Details

This Trojan Spy deletes the following files to remove its traces in the system:

  • {Malware Path and Name} -> Original Malware
  • %Application Data%\{Random Characters}.{3 Random Characters}\
  • %Application Data%\{Random Characters}.{3 Random Characters}\Chrome
  • %Application Data%\{Random Characters}.{3 Random Characters}\Chrome\Default
  • %Application Data%\{Random Characters}.{3 Random Characters}\Chrome\Default\Cookies
  • %Application Data%\{Random Characters}.{3 Random Characters}\Firefox
  • %Application Data%\{Random Characters}.{3 Random Characters}\Firefox\Profiles
  • %Application Data%\{Random Characters}.{3 Random Characters}\Firefox\Profiles\dxxbjsgn.default
  • %Application Data%\{Random Characters}.{3 Random Characters}\Firefox\Profiles\dxxbjsgn.default\cookies.sqlite

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

  SOLUTION

Minimum Scan Engine:

9.800

FIRST VSAPI PATTERN FILE:

15.244.02

FIRST VSAPI PATTERN DATE:

19 Jul 2019

VSAPI OPR PATTERN File:

15.245.00

VSAPI OPR PATTERN Date:

20 Jul 2019

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.XXPE50FFF031

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
    • WechattsApp - %Application Data%\WechattsApp\WechattsApp.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.
  • %Application Data%\{Random Characters}.{3 Random Characters}.zip
  • %Application Data%\WechattsApp\WechattsApp.exe
  • %User Temp%\tmpG844.tmp

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.
  • %Application Data%\WechattsApp

Step 8

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