SombRAT
- Type
- RAT
- Capabilities
- ExfiltrationPost exploitationDefense evasionReconnaissanceProcess injection
- Delivery
- Spearphishing
- Platforms
- Windows
SombRAT is a modular remote access trojan targeting Windows systems, used in cyberespionage and financially motivated intrusions. Its core component enables remote operators to securely download and load executable DLL plugins that provide much of its functionality. It supports DLL injection from disk, internal storage, or memory, and can restart itself through native Windows APIs.
SombRAT collects host information, including computer and user names, operating system version, process information, and local system time. It can enumerate running processes, collect files and data, stage harvested information in a custom local database, and upload staged material to command-and-control infrastructure. It can also delete stored data and temporary storage artifacts. Its communications capabilities include TCP sockets, ICMP checks of command-and-control availability, SOCKS proxy support, and DNS tunneling with algorithmically generated subdomains. It uses RSA and AES cryptography alongside SSL-protected communications. Evasion features include legitimate-looking process names and encoded strings; observed deployment chains also use PowerShell-based AMSI bypasses and reflective in-memory loading.
SombRAT is associated with CostaRicto, a mercenary threat group that has used spear-phishing to deploy it against organizations worldwide, including financial-sector victims. It has also been deployed by the financially motivated group UNC2447 following exploitation of a SonicWall VPN zero-day vulnerability. SombRAT has appeared alongside FiveHands ransomware and administrative or penetration-testing tools in intrusions involving information theft and ransom demands; it is not itself the ransomware component.
Associated vulnerabilities
1 CVE 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
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
SombRAT has the ability to use TCP sockets to send data and ICMP to ping the C2 server.
For many of its campaigns, CostaRicto uses spear-phishing attacks to drop a custom backdoor, dubbed SombRAT, that has rarely been seen in the wild.
Techniques & procedures
38 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
“SonicWall SMA 100 Series Appliance Vulnerability CVE-2021-20016 is a critical SQL injection vulnerability… A remote, unauthenticated attacker could submit a specially crafted query… Successful exploitation would grant an attacker the ability to access login credentials… as well as session information…”
For many of its campaigns, CostaRicto uses spear-phishing attacks to drop a custom backdoor, dubbed SombRAT.
Execution
4 techniques
Execution
The newly decoded script is then executed using the InvokeExpression command.
The script will decode the content of WwanSvc.b ... and then check to confirm that it has a valid PE header. | When executed it will invoke PowerShell, which decodes and executes a base64 encoded PowerShell script called "WwanSvc.txt"
[SombRAT](https://attack.mitre.org/software/S0615) has the ability to respawn itself using <code>ShellExecuteW</code> and <code>CreateProcessW</code>.(Citation: BlackBerry CostaRicto November 2020)
“The backdoor's primary purpose is to download and execute plugins provided via the C2 server… dynamically loaded plugins… may be shellcode or DLL modules…”
Privilege Escalation
2 techniques
Privilege Escalation
Aria-body has the ability to inject itself into another process such as rundll32.exe and dllhost.exe... BlackEnergy injects its DLL component into svchost.exe... ComRAT has injected its orchestrator DLL into explorer.exe... Stuxnet injects an entire DLL into an existing, newly created, or preselected trusted process.
[SombRAT](https://attack.mitre.org/software/S0615) can execute <code>loadfromfile</code>, <code>loadfromstorage</code>, and <code>loadfrommem</code> to inject a DLL from disk, storage, or memory respectively.(Citation: BlackBerry CostaRicto November 2020)
Stealth
8 techniques
Stealth
[SombRAT](https://attack.mitre.org/software/S0615) can encrypt strings with XOR-based routines and use a custom AES storage format for plugins, configuration, C2 domains, and harvested data.(Citation: BlackBerry CostaRicto November 2020)(Citation: FireEye FiveHands April 2021)(Citation: CISA AR21-126A FIVEHANDS May 2021)
[SombRAT](https://attack.mitre.org/software/S0615) can use a legitimate process name to hide itself.(Citation: CISA AR21-126A FIVEHANDS May 2021)
Aria-body has the ability to inject itself into another process such as rundll32.exe and dllhost.exe... BlackEnergy injects its DLL component into svchost.exe... ComRAT has injected its orchestrator DLL into explorer.exe... Stuxnet injects an entire DLL into an existing, newly created, or preselected trusted process.
[SombRAT](https://attack.mitre.org/software/S0615) can execute <code>loadfromfile</code>, <code>loadfromstorage</code>, and <code>loadfrommem</code> to inject a DLL from disk, storage, or memory respectively.(Citation: BlackBerry CostaRicto November 2020)
[SombRAT](https://attack.mitre.org/software/S0615) has the ability to run <code>cancel</code> or <code>closeanddeletestorage</code> to remove all files from storage and delete the storage temp file on a compromised host.(Citation: BlackBerry CostaRicto November 2020)
[SombRAT](https://attack.mitre.org/software/S0615) can run <code>upload</code> to decrypt and upload files from storage.(Citation: BlackBerry CostaRicto November 2020)(Citation: CISA AR21-126A FIVEHANDS May 2021)
[SombRAT](https://attack.mitre.org/software/S0615) has the ability to modify its process memory to hide process command-line arguments.(Citation: FireEye FiveHands April 2021)
This artifact is a XOR encoded PowerSploit reflective loader program. | The executable is not written to disk but loaded directly into memory.
Defense Impairment
1 technique
Defense Impairment
The script allows PowerShell to run without system restrictions while bypassing the Microsoft Antimalware program.
Discovery
6 techniques
Discovery
[SombRAT](https://attack.mitre.org/software/S0615) can enumerate services on a victim machine.(Citation: BlackBerry CostaRicto November 2020)
[SombRAT](https://attack.mitre.org/software/S0615) can execute <code>getinfo</code> to identify the username on a compromised host.(Citation: BlackBerry CostaRicto November 2020)(Citation: CISA AR21-126A FIVEHANDS May 2021)
[SombRAT](https://attack.mitre.org/software/S0615) can use the <code>getprocesslist</code> command to enumerate processes on a compromised host.(Citation: BlackBerry CostaRicto November 2020)(Citation: FireEye FiveHands April 2021)(Citation: CISA AR21-126A FIVEHANDS May 2021)
[SombRAT](https://attack.mitre.org/software/S0615) can execute <code>getinfo</code> to enumerate the computer name and OS version of a compromised system.(Citation: BlackBerry CostaRicto November 2020)
[SombRAT](https://attack.mitre.org/software/S0615) can execute <code>enum</code> to enumerate files in storage on a compromised system.(Citation: BlackBerry CostaRicto November 2020)
[SombRAT](https://attack.mitre.org/software/S0615) can execute <code>getinfo</code> to discover the current time on a compromised host.(Citation: BlackBerry CostaRicto November 2020)(Citation: CISA AR21-126A FIVEHANDS May 2021)
Collection
4 techniques
Collection
[SombRAT](https://attack.mitre.org/software/S0615) has collected data and files from a compromised host.(Citation: BlackBerry CostaRicto November 2020)(Citation: CISA AR21-126A FIVEHANDS May 2021)
The content repeatedly describes adversaries and malware storing collected data, command output, credentials, archives, or files in local temporary folders, working directories, hidden directories, registry locations, recycle bins, or specific files prior to exfiltration.
[SombRAT](https://attack.mitre.org/software/S0615) can store harvested data in a custom database under the %TEMP% directory.(Citation: BlackBerry CostaRicto November 2020)
[SombRAT](https://attack.mitre.org/software/S0615) has encrypted collected data with AES-256 using a hardcoded key.(Citation: BlackBerry CostaRicto November 2020)
Command and Control
12 techniques
Command and Control
The primary purpose of the loader is to allow a remote operator to securely download and load executable plugins ... utilize to secure its command and control (C2) sessions ... encrypted using Advanced Encryption Standard (AES) resulting in a secure Secure Sockets Layer (SSL) tunnel
[SombRAT](https://attack.mitre.org/software/S0615) can communicate over DNS with the C2 server.(Citation: BlackBerry CostaRicto November 2020)(Citation: FireEye FiveHands April 2021)
[SombRAT](https://attack.mitre.org/software/S0615) has the ability to use an embedded SOCKS proxy in C2 communications.(Citation: CISA AR21-126A FIVEHANDS May 2021)
"APT41 used a tool called CLASSFON to covertly proxy network communications." / "BADCALL functions as a proxy server between the victim and C2 server." / "Sandworm Team's BCS-server tool can create an internal proxy server to redirect traffic..."
The program also contains native C2 capabilities allowing it to communicate with the remote operator using an embedded SOCKS proxy or via domain name system (DNS) tunneling.
Aria-body has the ability to use a reverse SOCKS proxy module... BADHATCH can use SOCKS4 and SOCKS5 proxies... GoBear implements SOCKS5 proxy functionality... Neo-reGeorg has the ability to establish a SOCKS5 proxy... Remcos uses the infected hosts as SOCKS5 proxies...
[SombRAT](https://attack.mitre.org/software/S0615) has the ability to use TCP sockets to send data and ICMP to ping the C2 server.(Citation: BlackBerry CostaRicto November 2020)(Citation: FireEye FiveHands April 2021)
[SombRAT](https://attack.mitre.org/software/S0615) has the ability to download and execute additional payloads.(Citation: BlackBerry CostaRicto November 2020)(Citation: FireEye FiveHands April 2021)(Citation: CISA AR21-126A FIVEHANDS May 2021)
[SombRAT](https://attack.mitre.org/software/S0615) can use a custom DGA to generate a subdomain for C2.(Citation: BlackBerry CostaRicto November 2020)
The content repeatedly describes malware and threat actors using SSL, TLS, HTTPS, RSA, AES, Blowfish, RC4, ECIES, Diffie-Hellman, OpenSSL, WolfSSL, and mutual TLS to protect command and control traffic.
[SombRAT](https://attack.mitre.org/software/S0615) has encrypted its C2 communications with AES.(Citation: BlackBerry CostaRicto November 2020)
[SombRAT](https://attack.mitre.org/software/S0615) can SSL encrypt C2 traffic.(Citation: BlackBerry CostaRicto November 2020)(Citation: FireEye FiveHands April 2021)(Citation: CISA AR21-126A FIVEHANDS May 2021)
Exfiltration
1 technique
Exfiltration
[SombRAT](https://attack.mitre.org/software/S0615) has uploaded collected data and files from a compromised host to its C2 server.(Citation: BlackBerry CostaRicto November 2020)
Observables
72 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
48 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.