SWORDLDR is a Windows shellcode loader that uses DLL sideloading to execute through a legitimate application. It decrypts staged payloads and injects them into a process selected by its embedded configuration, concealing subsequent execution within legitimate processes. Observed implementations use multilayer payload obfuscation, anti-debugging checks, and process hollowing to support in-memory execution.
Earth Baxia has used SWORDLDR to deploy customized Cobalt Strike payloads in campaigns targeting government, telecommunications, and energy organizations across Asia-Pacific. These campaigns used spear-phishing with malicious attachments or download links, as well as exploitation of GeoServer vulnerability CVE-2024-36401, to deliver their toolsets.
SWORDLDR has also deployed Charon ransomware in targeted attacks against public-sector and aviation organizations in the Middle East. In that chain, the loader decrypted staged shellcode and injected it into a newly created, suspended Windows service-host process; subsequent stages reconstructed and executed the ransomware in memory. Although this delivery chain overlaps technically with Earth Baxia operations, attribution of the Charon attacks to that actor has not been established. Ransomware encryption and recovery-inhibition functions belong to the delivered Charon payload rather than to SWORDLDR itself.
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.
3 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
The shellcode loader, known as “SWORDLDR,” decrypts the payload and injects it into a specified process according to its embedded configuration.
The attack chain leveraged a legitimate browser-related file, Edge.exe (originally named cookie_exporter.exe), to sideload a malicious msedge.dll (SWORDLDR), which subsequently deployed the Charon ransomware payload.
The attack chain leveraged a legitimate browser-related file, Edge.exe (originally named cookie_exporter.exe), to sideload a malicious msedge.dll (SWORDLDR), which subsequently deployed the Charon ransomware payload.
6 distinct techniques documented for this family, organized by ATT&CK tactic.
At start, the shellcode resolves ntdll!LdrLoadDll, NtAllocateVirtualMemory, NtProtectVirtualMemory, and NtFreeVirtualMemory... Selected API hashes resolved by stage‑2 for injection/execution: NtGetContextThread, NtOpenThread, NtSetContextThread, NtResumeThread.
The ransomware leverages techniques such as DLL sideloading, process injection, and anti-EDR capabilities... "The attack chain leveraged a legitimate browser-related file, Edge.exe (originally named cookie_exporter.exe), to sideload a malicious msedge.dll (SWORDLDR), which subsequently deployed the Charon ransomware payload."
CreateProcess(... CREATE_SUSPENDED) + VirtualAllocEx / WriteProcessMemory / SetThreadContext / ResumeThread T1055.012 - Process Injection: Process Hollowing Inject/hollow into svchost.exe and transfer control to staged shellcode/PE.
Charon also uses a multistage payload extraction technique via what appears to be a benign log file, DumpStack.log. Upon closer inspection however, this turns out to be an encrypted shellcode responsible for delivering the ransomware payload... Further analysis also revealed a second layer of encryption within the intermediate payload.
CreateProcess(... CREATE_SUSPENDED) + VirtualAllocEx / WriteProcessMemory / SetThreadContext / ResumeThread T1055.012 - Process Injection: Process Hollowing Inject/hollow into svchost.exe and transfer control to staged shellcode/PE.
It checks for the presence of DumpStack.log, reads and decodes the file into payload_shellcode_layer_1... Stage‑2 begins by XOR‑decoding and calling RtlDecompressBuffer to produce the Charon PE in memory.
The ransomware leverages techniques such as DLL sideloading, process injection, and anti-EDR capabilities... "The attack chain leveraged a legitimate browser-related file, Edge.exe (originally named cookie_exporter.exe), to sideload a malicious msedge.dll (SWORDLDR), which subsequently deployed the Charon ransomware payload."
During this operation the code also performs anti-debug checks... Anti‑Debug routine (invoked within the DumpStack.log decoder) inspects whether the process is under a debugger.
During this operation the code also performs anti-debug checks... Anti‑Debug routine (invoked within the DumpStack.log decoder) inspects whether the process is under a debugger.
12 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
6 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.