SodaMaster
- Type
- RAT
- Capabilities
- Credential theftKeyloggingReconnaissanceDefense evasionPost exploitationDLL sideloadingProcess injectionPersistence
- Delivery
- Exploit kit
- Platforms
- Windows
SodaMaster, also known as DelfsCake, dfls, and HEAVYPOT, is a memory-resident remote access trojan and backdoor for Windows used in cyberespionage operations. It is closely associated with the China-linked APT10/Cicada intrusion set and the A41APT campaign, with documented use since at least 2020. It has also been deployed by FishMonger during Operation FishMedley, so its use is not exclusive to APT10. Campaigns deploying SodaMaster have targeted Japanese companies and their overseas branches, as well as government bodies, NGOs, religious organizations, and organizations in the telecommunications, legal, and pharmaceutical sectors across Asia, Europe, and North America.
SodaMaster collects host information, including the username, computer name, operating-system details, process identifier, and privilege information, and can enumerate running processes. It receives and executes additional payloads from command-and-control servers. Version 3 expanded its functionality to include Outlook credential theft, screenshot capture, keylogging, and execution of DLLs and shellcode. Its communications use a hardcoded RSA public key to protect initial beacon data and RC4 for subsequent traffic. Earlier versions perform VMware-related Registry checks and can delay execution to hinder sandbox analysis; version 3 removed virtual-machine detection. Samples have also used falsified compilation timestamps.
SodaMaster is commonly deployed after attackers have obtained access to a network, including in campaigns involving compromised VPN infrastructure and Microsoft Exchange servers. Deployment chains have used SigLoader/DESLoader and HUI Loader to decrypt and execute the implant in memory. Associated loaders abuse legitimate executables through DLL side-loading and inject decrypted payloads into suspended Windows processes. Some SodaMaster loaders establish persistence through Windows services.
Associated threat actors
5 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Earth Tengshe used custom malware, such as SigLoader, SodaMaster, P8RAT, FYAnti, and Jackpot.
SigLoader and SodaMaster are still used in 2021... SodaMaster Evolution... Command List of SodaMaster Version 3
SodaMaster — Aka. DelfsCake, dfls, HEAVYPOT ▪ One of DESLoader's payloads ▪ Fileless RAT ▪ Command identifiers are d, f, l and s
SodaMaster — Aka. DelfsCake, dfls, HEAVYPOT ▪ One of DESLoader's payloads ▪ Fileless RAT ▪ Command identifiers are d, f, l and s
SodaMaster is a backdoor that was documented by Kaspersky in 2021. APT10 was the first group known to have access to this backdoor but Operation FishMedley indicates that it may now be shared among multiple China-aligned APT groups.
Techniques & procedures
34 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
2 techniques
Resource Development
FishMonger bought domains and used them for C&C traffic.
FishMonger rented servers at several hosting providers.
Initial Access
1 technique
Initial Access
Penetrate via internet-facing system by using vulnerabilities or stolen credentials ... The actor always intruded via Internet-facing systems ... Intrusion via VPN Devices ... Using known vulnerabilities ... Pulse Connect Secure ... FortiGate: CVE-2018-13379 ... Cisco AnyConnect: CVE-2020-3125 ... Exploiting ProxyShell vulnerability
Execution
5 techniques
Execution
Install malware by using Taskscheduler ... In A41APT campaign, scheduled tasks are favor to be used
なお、コマンド「d」に関しては、コマンドの受信時のデータを使用してライブラリのロードと関数アドレスの取得を行い、その関数をCall命令で呼び出します。
At Victim D, the attackers gained access to an admin console and used it to deploy implants on other machines in the local network.
[SodaMaster](https://attack.mitre.org/software/S0627) can use <code>RegOpenKeyW</code> to access the Registry.(Citation: Securelist APT10 March 2021)
The attackers also exploit the legitimate VLC Media Player by launching a custom loader via the VLC Exports function
Persistence
3 techniques
Persistence
Install malware by using Taskscheduler ... In A41APT campaign, scheduled tasks are favor to be used
SodaMaster can use RegOpenKeyW to access the Registry.
Some SodaMaster loaders persist via a Windows service.
Privilege Escalation
3 techniques
Privilege Escalation
Install malware by using Taskscheduler ... In A41APT campaign, scheduled tasks are favor to be used
Execution Flow of HUI Loader ... XOR decode & code injection ... svchost.exe
Some SodaMaster loaders persist via a Windows service.
Stealth
8 techniques
Stealth
[SodaMaster](https://attack.mitre.org/software/S0627) can use "stackstrings" for obfuscation.(Citation: Securelist APT10 March 2021)
Execution Flow of HUI Loader ... XOR decode & code injection ... svchost.exe
Decrypt multiple PEs and shellcodes sequentially in multiple stages. Multiple algorithms are used for decryption. Finally, the payload is executed in memory.
It is a fileless malware that is capable of multiple functions, including evading detection in a sandbox by checking for a registry key or delaying execution
[SodaMaster](https://attack.mitre.org/software/S0627) can check for the presence of the Registry key <code>HKEY_CLASSES_ROOT\\Applications\\VMwareHostOpen.exe</code> before proceeding to its main functionality.(Citation: Securelist APT10 March 2021)
[SodaMaster](https://attack.mitre.org/software/S0627) has the ability to put itself to "sleep" for a specified time.(Citation: Securelist APT10 March 2021)
The attackers also exploit the legitimate VLC Media Player by launching a custom loader via the VLC Exports function
その後、復号したペイロードをメモリ領域に展開し実行します。
Defense Impairment
1 technique
Defense Impairment
SodaMaster can use RegOpenKeyW to access the Registry.
Credential Access
3 techniques
Credential Access
Following tools were found in the lateral movement stage ... Mimikatz ... secretdump.py ... Command List of SodaMaster Version 3 ... c Steals credentials of Outlook
Command List of SodaMaster Version 3 ... q Enables key logging ... r Disables key logging
They have an export named getAllAuthData that implements a password stealer for Firefox. It reads the Firefox SQLite database and runs the query SELECT encryptedUsername, encryptedPassword, hostname,httpRealm FROM moz_logins .
Discovery
7 techniques
Discovery
[SodaMaster](https://attack.mitre.org/software/S0627) has the ability to query the Registry to detect a key specific to VMware.(Citation: Securelist APT10 March 2021)
[SodaMaster](https://attack.mitre.org/software/S0627) can identify the username on a compromised host.(Citation: Securelist APT10 March 2021)
[SodaMaster](https://attack.mitre.org/software/S0627) can search a list of running processes.(Citation: Securelist APT10 March 2021)
[SodaMaster](https://attack.mitre.org/software/S0627) can enumerate the host name and OS version on a target system.(Citation: Securelist APT10 March 2021)
It is a fileless malware that is capable of multiple functions, including evading detection in a sandbox by checking for a registry key or delaying execution
[SodaMaster](https://attack.mitre.org/software/S0627) can check for the presence of the Registry key <code>HKEY_CLASSES_ROOT\\Applications\\VMwareHostOpen.exe</code> before proceeding to its main functionality.(Citation: Securelist APT10 March 2021)
[SodaMaster](https://attack.mitre.org/software/S0627) has the ability to put itself to "sleep" for a specified time.(Citation: Securelist APT10 March 2021)
Lateral Movement
2 techniques
Lateral Movement
At Victim F, the implants were delivered using Impacket... At Victim F, the operators also used Impacket to move laterally.
At Victim D, the attackers gained access to an admin console and used it to deploy implants on other machines in the local network.
Collection
2 techniques
Collection
Command List of SodaMaster Version 3 ... q Enables key logging ... r Disables key logging
Command List of SodaMaster Version 3 ... m Collects screenshot
Command and Control
7 techniques
Command and Control
最終的に実行されるペイロード(DelfsCake)は、DLL形式で、C2サーバからデータやペイロードなどを受信して実行する機能を有します。
Application Layer Protocol: Web Protocols (T1071.001)
[SodaMaster](https://attack.mitre.org/software/S0627) has the ability to download additional payloads from C2 to the targeted system.(Citation: Securelist APT10 March 2021)
Data Encoding: Non-Standard Encoding (T1132.002)
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.
[SodaMaster](https://attack.mitre.org/software/S0627) can use RC4 to encrypt C2 communications.(Citation: Securelist APT10 March 2021)
[SodaMaster](https://attack.mitre.org/software/S0627) can use a hardcoded RSA key to encrypt some of its C2 traffic.(Citation: Securelist APT10 March 2021)
Exfiltration
1 technique
Exfiltration
Search for secret information, exfiltrate after encryption and compression ... The first data sent to SodaMaster C2
Observables
52 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
27 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.