OceanLotus
- Type
- Backdoor
- Capabilities
- PersistenceDefense evasionReconnaissanceExfiltrationDLL sideloadingPost exploitation
- Delivery
- LureWatering holeFake update
- Platforms
- macOSWindows
OceanLotus is a backdoor family associated with the OceanLotus threat group, also known as APT32 and APT-C-00. Documented variants target macOS and Windows and provide persistent remote access, host reconnaissance, file transfer, and execution of additional code. Associated campaigns have targeted corporate and government networks in East and Southeast Asia, including Vietnam, the Philippines, Laos, and Cambodia, as well as journalists, dissidents, and media organizations.
macOS variants are distributed in ZIP archives containing application bundles disguised as Microsoft Word documents. Execution displays a decoy document while a multistage installation chain deploys the backdoor. Some variants use an invisible Unicode variation selector to preserve the appearance of a document extension while allowing application execution. Persistence uses LaunchAgents or LaunchDaemons. Evasion techniques include encrypted strings, quarantine-attribute removal, timestamp manipulation, and deletion of installation components. The backdoor collects hardware, operating-system, user, and network information; uploads and downloads files; deletes files; and executes terminal commands or functions from dynamically loaded libraries.
Windows infection chains use document-themed executable lures and fake software installers, including distribution through watering-hole campaigns. They employ encrypted and compressed payloads, shellcode-based in-memory PE loading, and DLL side-loading through legitimate signed applications. Persistence is established through Windows services or registry autorun entries. Windows variants support host fingerprinting, file and registry operations, process execution, and loading additional components. Command-and-control implementations vary by version and include encrypted custom binary protocols and HTTP/HTTPS fallback channels.
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.
Some of the updates of this new variant (detected by Trend Micro as Backdoor.MacOS.OCEANLOTUS.F) include new behavior and domain names.
Techniques & procedures
19 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
The new OceanLotus backdoor is distributed in a zip file. While we don’t have direct evidence for the initial infection vector we presume it’s most likely via an email attachment.
Execution
2 techniques
Execution
0x1B25503 execute function from a plugin(a aynamic library); 0x1532e65 execute function from a plugin(a aynamic library); 0x25D5082 execute function from a plugin(a aynamic library).
Once the user double clicks on the purported Word document, the Trojan executes and then launches Word to display a decoy document.
Persistence
2 techniques
Persistence
This version creates a Launch Agent that runs when the victim host starts up.
If the user is root, the executable is stored in the system wide library directory at /Library/TimeMachine/bin/mtmfs.
Privilege Escalation
2 techniques
Privilege Escalation
This version creates a Launch Agent that runs when the victim host starts up.
If the user is root, the executable is stored in the system wide library directory at /Library/TimeMachine/bin/mtmfs.
Stealth
4 techniques
Stealth
The string decode routine now consists of a combination of bit shifting and XOR operations with a variable key that depends on the length of the string that was encoded.
Once the user has extracted the zip file, they see a directory containing a file with a Microsoft Word document icon. The file is actually an application bundle, which contains executable code. | The malware uses the decoy document to help mask the execution of the malware.
0x12B3629 delete file / directory
Once the malware has set up persistence, it deletes the application bundle from the executable path leaving the decoy document in its place.
Discovery
5 techniques
Discovery
Not highlighted in Figure 11 but also included in this packet is the kernel boot time... Figure 11 shows ... en0 : AA:BB:CC:DD:EE:FF ... en0 : 192.168.1.254
The client gathers all the data seen in Figure 11... username
Cmd Function 0x18320e0 Upload device Info
0x2CD9070 get info on a file / directory
Not highlighted in Figure 11 but also included in this packet is the kernel boot time which may be used by the C2 server to help determine if the backdoor is being run in a sandbox environment.
Command and Control
4 techniques
Command and Control
The backdoor uses a custom binary protocol on TCP port 443, a well-known port that is unlikely to be blocked by traditional firewalls due to its use in HTTPS connections.
RotaJakiro and OceanLotus use separate data structures to hold C2 session information... C2 domain name resolution and session establishment are performed in one function.
0x2E25992 receive file from server ... it is possible that these functions correspond to a shared library that the server uploads to the victim host.
Both RotaJakiro and OceanLotus have a function we called rotate() for encryption/decryption... in the process of encrypting the registration packets, the RotaJakiro and the OceanLotus use the same parameters.
Exfiltration
1 technique
Exfiltration
Cmd Function 0x18320e0 Upload device Info
Observables
19 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.