Threat Intel
FINALDRAFT Malware Uses Microsoft Graph API for C2 in Espionage Campaign
Elastic Security Labs uncovered a new espionage malware family, FINALDRAFT, that leverages Outlook and Microsoft Graph API for command and control. The kit includes a lightweight Windows loader, PATHLOADER, and a Linux variant, using typosquatted domains and API hashing to evade analysis. Defenders should block the identified domains, monitor Graph API traffic, and detect PATHLOADER execution.
During a recent investigation, Elastic Security Labs identified a new malware family targeting a foreign ministry. The package, named FINALDRAFT, is delivered through a small Windows loader called PATHLOADER and includes a Linux variant. Both components use Outlook and Microsoft Graph API to communicate with command‑and‑control servers.
What Happened
PATHLOADER is a 206 KB Windows PE that downloads encrypted shellcode from a remote server. The shellcode is then executed on the victim machine, creating the FINALDRAFT implant. The loader embeds a configuration string that points to two typosquatted domains resembling security‑vendor URLs.
Impact
- Targets high‑value government environments.
- Provides a full post‑exploitation kit with loader, backdoor, and sub‑modules.
- Uses API hashing (FNV‑0x1000193) and string obfuscation to avoid static analysis.
What to Do
Defenders should:
- Block outbound traffic to poster.checkponit.com and support.fortineat.com.
- Inspect outbound Microsoft Graph API calls for suspicious Outlook activity.
- Deploy detection rules for the PATHLOADER binary size and hash patterns.
- Monitor for execution of encrypted shellcode in the system memory.
Early detection of the loader and blocking of the typosquatted domains can prevent the implant from establishing a foothold.