Hackers chained Fortinet vulnerabilities to steal sensitive firewall data and deploy PEERSTITCH, a stealthy implant that operates inside running processes.
Unit 42 uncovered the activity while investigating an intrusion against a telecommunications managed service provider that began in September 2024. Researchers track the attackers as CL-STA-0954, also known as UNC5820.
The attackers stole configurations, credentials and cryptographic material linked to more than 500 managed FortiGate firewalls.
These devices protected the provider and its customers. However, researchers investigated only the provider’s environment and did not confirm intrusions into customer networks.
Fortinet Firewalls Face Memory-Malware
The intrusion started with CVE-2024-47575, commonly called FortiJump, in a centralized FortiManager appliance.
This vulnerability allows unauthenticated attackers to execute commands through crafted requests to the management channel on TCP port 541.
After registering a rogue virtual FortiGate device, the attackers created and downloaded an archive named .tm.
It contained firewall configurations, management databases, network maps, device serial numbers, encrypted credentials, certificates and private keys.
Researchers confirmed that administrative and SSL/VPN passwords could be recovered from the stolen configurations.
The attackers used legitimate credentials to establish unauthorized VPN sessions and reach internal network management systems.
They also pushed packet capture settings to downstream firewalls, targeting HTTP, RADIUS, LDAP and other traffic. The attackers then exploited CVE-2025-61624, a path traversal flaw in the FortiOS auto-script engine.
An authenticated administrator could abuse unsanitized script names to read and write files as root, escaping the restricted management interface. This enabled deployment of the malware loader.
PEERSTITCH is a Linux ARM64 implant written in C. Its injector targets two FortiOS services: /bin/miglogd, which handles logging, and /bin/iked, which manages IKE/IPsec VPN negotiations.
The injector locates both processes, examines their memory layouts and uses ptrace to attach to them.
It allocates 16 KB of readable, writable and executable memory, then writes malicious code into the running services. The injector subsequently deletes its own binary from disk.
Unlike a typical backdoor, PEERSTITCH opens no listening ports and creates no outbound connections. Instead, injected hooks inspect traffic already handled by legitimate processes.
They identify specific markers, extract session tags and share them directly between process memory regions. Matching tags can cause the VPN service to bypass normal security checks, unit42 said.
Indicators of Compromise
| Type | Indicator | Description |
|---|---|---|
| SHA-256 | b9fb0b27ddd59b58d3ae53c7227298a3e0de1e6f868b9429ae21533bb9cd1e70 | PEERSTITCH ARM64 ELF injector |
| SHA-256 | 829b1cd270b30565739a478441833f49f10a49bd06f0d18cc96c8ae4a0431f11 | ARM64 memory-allocation shellcode bootstr |
Note: IP addresses and domains are intentionally defanged (e.g., [.]) to prevent accidental resolution or hyperlinking. Re-fang only within controlled threat intelligence platforms such as MISP, VirusTotal, or your SIEM.
Join 16,000+ SOC teams using ANY.RUN to streamline threat investigations and reduce manual effort. Explore for your team
