TrojanSpy.Win32.STEALC.A

 Analysis by: John Rainier Navato

 ALIASES:

UDS:Trojan-PSW.Win32.Stealerc.gen (KASPERSKY)

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

It does not have any backdoor routine.

It gathers certain information on the affected computer.

It connects to certain websites to send and receive information. However, as of this writing, the said sites are inaccessible.

  TECHNICAL DETAILS

File Size:

8,288,256 bytes

File Type:

EXE

Memory Resident:

No

Initial Samples Received Date:

08 Aug 2023

Payload:

Collects system information, Connects to URLs/IPs, Deletes files, Steals information

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 drops the following component file(s):

  • %ProgramData%\sqlite3.dll
  • %ProgramData%\freebl3.dll
  • %ProgramData%\mozglue.dll
  • %ProgramData%\msvcp40.dll
  • %ProgramData%\nss3.dll
  • %ProgramData%\softokn3.dll
  • %ProgramData%\vcruntime140.dll

(Note: %ProgramData% is a version of the Program Files folder where any user on a multi-user computer can make changes to programs. This contains application data for all users. This is usually C:\ProgramData on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit), or C:\Documents and Settings\All Users on Windows Server 2003(32-bit), 2000(32-bit) and XP.)

It adds the following processes:

  • "%System%\cmd.exe" /c timeout /t 5 & del /f /q "{Malware File Path}\{Malware File Name}" & del "%ProgramData%\*.dll" & exit

(Note: %ProgramData% is a version of the Program Files folder where any user on a multi-user computer can make changes to programs. This contains application data for all users. This is usually C:\ProgramData on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit), or C:\Documents and Settings\All Users on Windows Server 2003(32-bit), 2000(32-bit) and XP.)

Other System Modifications

This Trojan Spy deletes the following files:

  • {Malware File Path}\{Malware File Name}.{Malware File Extension}
  • %ProgramData%\{File Name}.dll

(Note: %ProgramData% is a version of the Program Files folder where any user on a multi-user computer can make changes to programs. This contains application data for all users. This is usually C:\ProgramData on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit), or C:\Documents and Settings\All Users on Windows Server 2003(32-bit), 2000(32-bit) and XP.)

Propagation

This Trojan Spy does not have any propagation routine.

Backdoor Routine

This Trojan Spy does not have any backdoor routine.

Rootkit Capabilities

This Trojan Spy does not have rootkit capabilities.

Information Theft

This Trojan Spy gathers the following information on the affected computer:

  • System Information:
    • Public IP address
    • Geolocation
    • Hardware ID
    • Operating system version
    • System architecture
    • Username
    • Computer name
    • Local time
    • Time zone information
    • Language
    • Keyboard layout
    • If machine is laptop or desktop
    • {Malware File Path}\{Malware File Name}
    • Physical resources
      • CPU core count
      • CPU name
      • RAM amount
      • Number of threads
      • Display resolution
      • GPU driver
    • List of running processes
    • List of installed applications
  • Screenshot of current display
  • Browser data (e.g. autofills, cookies, credentials, credit card data, browser extensions)
    • Chromium-based browsers
    • Firefox-based browsers
    • Opera-based browsers
  • Email credentials:
    • Outlook
  • Cryptocurrency wallet data
  • Telegram session data
  • Steam metadata
  • Discord tokens
  • Account credentials:
    • Tox
    • Pidgin

Other Details

This Trojan Spy connects to the following website to send and receive information:

  • http://{BLOCKED}.{BLOCKED}.{BLOCKED}.7/b5c26998bb7c2272.php

It does the following:

  • It terminates itself when one of the following conditions is met:
    • If system processor count is less than 2
    • If system display raster lines is less than 666
    • If system default computer language is one of the following:
      • Russian
      • Ukranian
      • Belarussian
      • Kazakh
      • Uzbek (Latin)
    • If system computer name is HAL9TH and username is JohnDoe
    • If system total physical memory is less than 1,111 megabytes
    • If the malware is executed after August 27, 2023
  • It accesses the following websites to download its configuration/component files:
    • http://{BLOCKED}.{BLOCKED}.{BLOCKED}.7/b5c26998bb7c2272.php
    • http://{BLOCKED}.{BLOCKED}.{BLOCKED}.7:80/714211d16652b54f/sqlite3.dll
    • http://{BLOCKED}.{BLOCKED}.{BLOCKED}.7:80/714211d16652b54f/freebl3.dll
    • http://{BLOCKED}.{BLOCKED}.{BLOCKED}.7:80/714211d16652b54f/mozglue.dll
    • http://{BLOCKED}.{BLOCKED}.{BLOCKED}.7:80/714211d16652b54f/msvcp40.dll
    • http://{BLOCKED}.{BLOCKED}.{BLOCKED}.7:80/714211d16652b54f/nss3.dll -
    • http://{BLOCKED}.{BLOCKED}.{BLOCKED}.7:80/714211d16652b54f/softokn3.dll
    • http://{BLOCKED}.{BLOCKED}.{BLOCKED}.7:80/714211d16652b54f/vcruntime140.dll

However, as of this writing, the said sites are inaccessible.

It does not exploit any vulnerability.

  SOLUTION

Minimum Scan Engine:

9.800

FIRST VSAPI PATTERN FILE:

18.624.02

FIRST VSAPI PATTERN DATE:

09 Aug 2023

VSAPI OPR PATTERN File:

18.625.00

VSAPI OPR PATTERN Date:

10 Aug 2023

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

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

Search and delete these files

[ 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.
  • %ProgramData%\sqlite3.dll
  • %ProgramData%\freebl3.dll
  • %ProgramData%\mozglue.dll
  • %ProgramData%\msvcp40.dll
  • %ProgramData%\nss3.dll
  • %ProgramData%\softokn3.dll
  • %ProgramData%\vcruntime140.dll

Step 5

Scan your computer with your Trend Micro product to delete files detected as TrojanSpy.Win32.STEALC.A. 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 the following Trend Micro Support pages for more information:


Did this description help? Tell us how we did.