NIGHTFORGE
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.
Khmer Shadow targeted Cambodian government agencies using SFX archives, DLL sideloading, NIGHTFORGE, and Havoc Demon.
Threat actors have been abusing a legitimate, digitally signed VMware binary to slip a custom malicious loader called NIGHTFORGE onto victim systems.
Techniques & procedures
11 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
The initial intrusion begins with a compressed archive delivered through phishing. Inside, victims find a government-themed document designed to resemble a legitimate diplomatic communication...
The threat cluster delivered a new malware family called NIGHTFORGE through spear-phishing emails bearing government-themed lures.
Execution
2 techniques
Execution
Khmer Shadow establishes persistence by creating a scheduled task called “VMwareNamespace” that blends with legitimate entries.
The NIGHTFORGE loader includes multiple anti-analysis features. It unhooks NTDLL to bypass malware defenses, uses the Hell’s Gate technique to call Windows APIs covertly via syscalls, and injects shellcode directly into memory.
Persistence
1 technique
Persistence
Khmer Shadow establishes persistence by creating a scheduled task called “VMwareNamespace” that blends with legitimate entries.
Privilege Escalation
2 techniques
Privilege Escalation
Khmer Shadow establishes persistence by creating a scheduled task called “VMwareNamespace” that blends with legitimate entries.
The NIGHTFORGE loader includes multiple anti-analysis features. It unhooks NTDLL to bypass malware defenses, uses the Hell’s Gate technique to call Windows APIs covertly via syscalls, and injects shellcode directly into memory.
Stealth
6 techniques
Stealth
Recipients see a file like “Contact_Letter_To_Ms_Pech_ICB_Cambodia_On_Collaboration.pdf.exe,” which is actually a self-extracting archive hiding malware.
The NIGHTFORGE loader includes multiple anti-analysis features. It unhooks NTDLL to bypass malware defenses, uses the Hell’s Gate technique to call Windows APIs covertly via syscalls, and injects shellcode directly into memory.
The malicious vmtools.dll acts as the NIGHTFORGE loader, which decrypts and launches a Havoc Demon implant directly in memory leaving no traces on disk.
The code decodes the encoded shellcode blob present on disk using a simple XOR method. It reads the first 8 bytes of the encrypted file and XORs them against a hardcoded magic value... then decrypts the remaining contents using a rolling 8-byte XOR.
Once extracted, the archive contained a malicious script responsible for executing the loader, deleting all DLL files, the decoy PDF and remaining artifacts including the SFX archive itself from disk, a basic cleanup routine used by the threat actor to hide its tracks.
The malicious vmtools.dll acts as the NIGHTFORGE loader, which decrypts and launches a Havoc Demon implant directly in memory leaving no traces on disk.
Collection
1 technique
Collection
Khmer Shadow targeted Cambodian government agencies using SFX archives, DLL sideloading, NIGHTFORGE, and Havoc Demon.
Observables
10 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.