BBSRAT
- Type
- RAT
- Capabilities
- ReconnaissancePersistenceDefense evasionDLL sideloadingProcess injectionPost exploitation
- Delivery
- SpearphishingLure
- Platforms
- Windows
BBSRAT is a Windows remote access trojan associated with Roaming Tiger activity and attacks against Russian organizations and Mongolian government offices. Its capabilities include enumerating running processes, listing file and directory information, deleting files and directories, querying and modifying Windows service configurations, and starting, stopping, or deleting services. It communicates with command-and-control servers through HTTP or HTTPS GET and POST requests, uses custom encryption for outbound data, and sends ZLIB-compressed data.
BBSRAT has been delivered through spear-phishing emails containing weaponized Microsoft Word documents with political and official-announcement lures. A campaign targeting Mongolian government offices between August 2015 and February 2016 exploited CVE-2012-0158 and, in later documents, CVE-2014-1761. Most documents deployed the Cmstar loader to retrieve BBSRAT, while some embedded BBSRAT directly. Execution techniques include DLL side-loading through the legitimate Citrix Single Sign-On Server executable and process hollowing within a Windows Installer process to conceal execution. Deployment has also used the Windows Expand utility to extract executable content from CAB archives. Persistence is established through Windows Registry Run autostart entries, including entries that launch a legitimate executable used for side-loading.
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.
"BBSRAT Attacks Targeting Russian Organizations Linked to Roaming Tiger" is the reference for abuse of Citrix Single Sign On Server, ssonsvr.exe.
Techniques & procedures
29 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
The attacks themselves followed a consistent playbook throughout the observed timeframe; using weaponized Microsoft Word documents initially containing an exploit for only CVE-2012-0158...
Execution
5 techniques
Execution
All of the Microsoft Word documents leveraged in these attacks used the CVE-2012-0158 and CVE-2014-1761 exploits.
Weaponized Microsoft Word document found titled 'Путины урилга.doc' (Putin's Invitation). CVE-2012-0158 exploit used, dropping new variant of Cmstar.
[BBSRAT](https://attack.mitre.org/software/S0127) can start, stop, or delete services.(Citation: Palo Alto Networks BBSRAT)
DLL side-loading has been used to execute [BBSRAT](https://attack.mitre.org/software/S0127) through a legitimate Citrix executable, ssonsvr.exe. The Citrix executable was dropped along with [BBSRAT](https://attack.mitre.org/software/S0127) by the dropper.(Citation: Palo Alto Networks BBSRAT)
They also replaced the ImagePath registry value of a Windows service with a new backdoor binary.
Persistence
3 techniques
Persistence
[BBSRAT](https://attack.mitre.org/software/S0127) can modify service configurations.(Citation: Palo Alto Networks BBSRAT)
[BBSRAT](https://attack.mitre.org/software/S0127) has been seen persisting via COM hijacking through replacement of the COM object for MruPidlList <code>{42aedc87-2188-41fd-b9a3-0c966feabec1}</code> or Microsoft WBEM New Event Subsystem <code>{F3130CDB-AA52-4C3A-AB32-85FFC23AF9C1}</code> depending on the system's CPU architecture.(Citation: Palo Alto Networks BBSRAT)
[BBSRAT](https://attack.mitre.org/software/S0127) has been loaded through DLL side-loading of a legitimate Citrix executable that is set to persist through the Registry Run key location <code>HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\ssonsvr.exe</code>.
Privilege Escalation
4 techniques
Privilege Escalation
[BBSRAT](https://attack.mitre.org/software/S0127) has been seen loaded into msiexec.exe through process hollowing to hide its execution.(Citation: Palo Alto Networks BBSRAT)
[BBSRAT](https://attack.mitre.org/software/S0127) can modify service configurations.(Citation: Palo Alto Networks BBSRAT)
[BBSRAT](https://attack.mitre.org/software/S0127) has been seen persisting via COM hijacking through replacement of the COM object for MruPidlList <code>{42aedc87-2188-41fd-b9a3-0c966feabec1}</code> or Microsoft WBEM New Event Subsystem <code>{F3130CDB-AA52-4C3A-AB32-85FFC23AF9C1}</code> depending on the system's CPU architecture.(Citation: Palo Alto Networks BBSRAT)
[BBSRAT](https://attack.mitre.org/software/S0127) has been loaded through DLL side-loading of a legitimate Citrix executable that is set to persist through the Registry Run key location <code>HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\ssonsvr.exe</code>.
Stealth
9 techniques
Stealth
The initial dropper embedded in the weaponized document files were obfuscated using a subtraction cipher previously used to obfuscate strings in the NetTraveler malware family.
...while displaying a decoy document or a legitimate appearing document that is generated and presented to the user to make it appear that the weaponized document that had been executed was indeed, legitimate.
[BBSRAT](https://attack.mitre.org/software/S0127) has been seen loaded into msiexec.exe through process hollowing to hide its execution.(Citation: Palo Alto Networks BBSRAT)
[BBSRAT](https://attack.mitre.org/software/S0127) can delete files and directories.(Citation: Palo Alto Networks BBSRAT)
[BBSRAT](https://attack.mitre.org/software/S0127) uses [Expand](https://attack.mitre.org/software/S0361) to decompress a CAB file into executable content.(Citation: Palo Alto Networks BBSRAT)
"BBSRAT uses Expand to decompress a CAB file into executable content." / "Expand can be used to decompress a local or remote CAB file into an executable."
BBSRAT will ensure persistence by setting the following registry key: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\comctl32 - rundll32.exe %APPDATA%\comctl32.dll, Enter
DLL side-loading has been used to execute [BBSRAT](https://attack.mitre.org/software/S0127) through a legitimate Citrix executable, ssonsvr.exe. The Citrix executable was dropped along with [BBSRAT](https://attack.mitre.org/software/S0127) by the dropper.(Citation: Palo Alto Networks BBSRAT)
They also replaced the ImagePath registry value of a Windows service with a new backdoor binary.
Discovery
3 techniques
Discovery
[BBSRAT](https://attack.mitre.org/software/S0127) can query service configuration information.(Citation: Palo Alto Networks BBSRAT)
[BBSRAT](https://attack.mitre.org/software/S0127) can list running processes.(Citation: Palo Alto Networks BBSRAT)
[BBSRAT](https://attack.mitre.org/software/S0127) can list file and directory information.(Citation: Palo Alto Networks BBSRAT)
Collection
2 techniques
Collection
Examples in the content include 'DropBook can unarchive data downloaded from the C2 to obtain the payload and persistence modules,' 'Molerats decompresses ZIP files once on the victim machine,' and 'Rocke has extracted tar.gz files after downloading them from a C2 server.'
[BBSRAT](https://attack.mitre.org/software/S0127) can compress data with ZLIB prior to sending it back to the C2 server.(Citation: Palo Alto Networks BBSRAT)
Command and Control
7 techniques
Command and Control
Examples include: "ChChes communicates to its C2 server over HTTP and embeds data within the Cookie HTTP header," "UPPERCUT has used HTTP for C2, including sending error codes in Cookie headers," and "GoldMax has used HTTPS and HTTP GET requests with custom HTTP cookies for C2."
Each of the samples collected via WildFire and VirusTotal contained significant overlaps in tactics used, tools used, as well as infrastructure for command and control channels.
[BBSRAT](https://attack.mitre.org/software/S0127) uses GET and POST requests over HTTP or HTTPS for command and control to obtain commands and send ZLIB compressed data back to the C2 server.(Citation: Palo Alto Networks BBSRAT)
Once Cmstar was loaded onto the victim hosts, it would attempt to retrieve a final payload... those that were available were variants of BBSRAT.
Examples include 'Dark Caracal's version of Bandook communicates ... using HTTP payloads Base64 encoded,' 'BBSRAT ... send ZLIB compressed data back to the C2 server,' and 'FRAMESTING ... from decompressed zlib data within the request's POST data.'
The content is a catalog of malware and threat groups that encrypt command-and-control communications using algorithms such as DES, AES, RC4, XOR, Blowfish, RSA, Camellia, RC2, RC6, and custom ciphers.
[BBSRAT](https://attack.mitre.org/software/S0127) uses a custom encryption algorithm on data sent back to the C2 server over HTTP.(Citation: Palo Alto Networks BBSRAT)
Exfiltration
1 technique
Exfiltration
Examples include 'BeaverTail has used HTTP POST to exfiltrate data to C2 infrastructure,' 'LAMEHUG can use HTTP POST requests to exfiltrate data from compromised hosts to C2,' 'StealBit can use HTTP to exfiltrate files to actor-controlled infrastructure,' and 'SolarWinds Compromise ... used HTTP for C2 and data exfiltration.'
Observables
17 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
31 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.