TESDAT
- Type
- Loader
- Capabilities
- PersistencePost exploitationDefense evasion
- Platforms
- Windows
TESDAT is a Windows malware loader used by Earth Kurma in cyberespionage operations targeting government and government-related telecommunications organizations in Southeast Asia, including the Philippines, Vietnam, Thailand, and Malaysia. It was observed alongside DUNLOADER and DMLOADER in compromised environments between 2022 and 2024, where the loaders supported persistent access and execution of next-stage payloads, predominantly Cobalt Strike beacons.
TESDAT loads payloads from external files with a .dat extension, decodes shellcode, and executes it in memory using the Windows SwitchToFiber API rather than conventional thread-creation APIs. This execution technique supports defense evasion. TESDAT exists in executable and DLL forms; the DLL variant exports an Init function. Earth Kurma places randomly named loaders in frequently accessed user directories to blend with legitimate files.
TESDAT also executes document-collection commands targeting PDF, Word, Excel, and PowerPoint files modified within the preceding 30 days. Collected documents are staged and compressed into password-protected WinRAR archives for subsequent exfiltration. In Earth Kurma operations, separate tools—SIMPOBOXSPY and ODRIZ—upload stolen archives to Dropbox and OneDrive, respectively. TESDAT's initial delivery vector is unknown.
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.
The newer loader we later found is called TESDAT. It always loads a payload file with a “.dat” extension.
Techniques & procedures
4 distinct techniques documented for this family, organized by ATT&CK tactic.
Privilege Escalation
1 technique
Privilege Escalation
“TESDAT loader used SwitchToFiber to inject shellcode in-memory. MORIYA rootkit injected AES-decrypted payloads into svchost.exe.”
Stealth
1 technique
Stealth
“TESDAT loader used SwitchToFiber to inject shellcode in-memory. MORIYA rootkit injected AES-decrypted payloads into svchost.exe.”
Collection
3 techniques
Collection
“TESDAT collecting documents with the extension .pdf, .doc, .docx, .xls, .xlsx, .ppt, .pptx.”
“TESDAT moves the RAR archive to a SYSVOL folder, where Windows Distributed File System Replication (DFSR) synchronizes it across all domain controllers.”
“TESDAT stages these files in a ‘tmp’ folder and archives them using WinRAR with a preset password.”
Observables
11 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
6 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.