Executive Summary
COATHANGER is a state‑sponsored RAT that targets FortiGate appliances via CVE‑2022‑42475, enabling persistent remote access and data exfiltration. It encrypts its configuration files on disk using a hard‑coded phrase, evading standard detection tools. Prompt patching, network segmentation, and intrusion visibility are essential to mitigate this threat.
Enhanced Description
COATHANGER is a sophisticated remote access trojan (RAT) engineered to compromise Cisco‑derived FortiGate network appliances, with a specific focus on high‑profile military and government infrastructures. First documented in 2023 during targeted intrusions against Dutch state agencies, the tool was later disclosed by the Dutch National Cyber Security Centre in February 2024. The exploitation chain typically begins with an attacker exploiting CVE‑2022‑42475—a remote code execution vulnerability that permits arbitrary command execution on FortiGate firmware versions released prior to the vendor’s patch. Once access is established, COATHANGER installs a persistent backdoor by modifying system configuration files and encrypting them using a hard‑coded phrase (“She took his coat and hung it up”), effectively obfuscating its presence from ordinary file‑system scans. After achieving persistence, the malware establishes outbound telemetry to command‐and‐control (C2) endpoints. COATHANGER then performs lateral movement within the device’s operational environment by leveraging privileged APIs such as the FortiOS CLI or REST interface, allowing it to execute arbitrary shell commands, enumerate system information, and exfiltrate credentials or configuration data. The tool is tailored for stealth; its encrypted configuration files trigger minimal alerts in standard intrusion detection systems, while network traffic may piggyback on legitimate HTTPS/SSH channels, making it difficult to isolate without deep packet inspection. The threat intelligence community has attributed COATHANGER to a state‑sponsored actor based in the People’s Republic of China. The attribution is supported by code similarities with other Chinese APT families, the timing of the attacks against Dutch military targets, and the use of a known vulnerability that the country was reported to have actively leveraged in prior operations. The impact of this RAT is significant: compromised FortiGate appliances can provide adversaries with network‑wide visibility, manipulation of traffic filtering rules, and covert exfiltration paths back into enterprise networks. Security teams should treat COATHANGER as a high‑severity threat that requires immediate remediation through patching, device isolation, and rigorous monitoring for abnormal configuration changes or outbound connections to undocumented IP addresses.
Key Capabilities
ATT&CK Techniques
Recommended Actions
Suggested Tags
Confidence Assessment
The analysis is built upon published incident reports and public vulnerability data, providing high confidence in the malware’s objectives and attack vector. However, specific details about its internal command set, encryption routines beyond the configuration file keyphrase, and full post‑exploitation capabilities remain inferred from limited samples; further sandboxing or reverse engineering could fill these gaps.
COATHANGER is a remote access tool (RAT) targeting FortiGate networking appliances. First used in 2023 in targeted intrusions against military and government entities in the Netherlands along with other victims, COATHANGER was disclosed in early 2024, with a high confidence assessment linking this malware to a state-sponsored entity in the People's Republic of China. COATHANGER is delivered after gaining access to a FortiGate device, with in-the-wild observations linked to exploitation of CVE-2022-42475. The name COATHANGER is based on a unique string in the malware used to encrypt configuration files on disk: <code>“She took his coat and hung it up”</code>.(Citation: NCSC-NL COATHANGER Feb 2024)