Active Exploitation
#threatreport #HighCompleteness
Unit 42 Uncovers PEERSTITCH, a Stealthy FortiGate Implant | 14-10-2026
Source: https://unit42.paloaltonetworks.com/fortimanager-cve-2024-47575-peerstitch-malware/
Key details below ↓
🧑💻Actors/Campaigns:
Unc5820
💀Threats:
Peerstitch, Fortijump_vuln, Hook_injection_technique,
🎯Victims: Telecommunications managed service provider, Client networks
🏭Industry: Iot, Telco
🔓CVEs: CVE-2025-61624 \[[Vulners](https://vulners.com/cve/CVE-2025-61624)]
- CVSS V3.1: *6.5*,
- Vulners: Exploitation: Unknown
Soft:
- fortinet fortios (<7.4.10, <7.6.5)
CVE-2024-26009 \[[Vulners](https://vulners.com/cve/CVE-2024-26009)]
- CVSS V3.1: *8.1*,
- Vulners: Exploitation: Unknown
Soft:
- fortinet fortiswitchmanager (<7.0.4, <7.2.4)
CVE-2024-26008 \[[Vulners](https://vulners.com/cve/CVE-2024-26008)]
- CVSS V3.1: *5.3*,
- Vulners: Exploitation: Unknown
Soft:
- fortinet fortios (<7.2.8, <7.4.4)
CVE-2025-59718 \[[Vulners](https://vulners.com/cve/CVE-2025-59718)]
- CVSS V3.1: *9.8*,
- Vulners: Exploitation: True
Soft:
- fortinet fortiproxy (<7.0.22, <7.2.15, <7.4.11, <7.6.4)
- fortinet fortiswitchmanager (<7.0.6, <7.2.7)
- fortinet fortios (<7.0.18, <7.2.12, <7.4.9, <7.6.4)
CVE-2025-59719 \[[Vulners](https://vulners.com/cve/CVE-2025-59719)]
- CVSS V3.1: *9.8*,
- Vulners: Exploitation: True
Soft:
- fortinet fortiweb (le7.4.9, le7.6.4, 8.0.0)
CVE-2024-47575 \[[Vulners](https://vulners.com/cve/CVE-2024-47575)]
- CVSS V3.1: *9.8*,
- Vulners: Exploitation: True
Soft:
- fortinet fortimanager (<6.2.13, <6.4.15, <7.0.13, <7.2.8, <7.4.5)
- fortinet fortimanager_cloud (le6.4.7, <7.0.13, <7.2.8, <7.4.5)
📚TTPs:
⚔️Tactics: 6
🛠️Technics: 0
🧨IOCs:
- IP: 4
- File: 11
- Url: 8
- Hash: 8
💽Software: FortiGate, WildFire, Linux, Active Directory, Node.js
🔢Algorithms: sha256
🔠Functions: strstr, open, lseek, write
📜Programming Languages: javascript
💻Platforms: arm
:
In September 2024, the threat cluster CL-STA-0954, also known as UNC5820, compromised a telecommunications managed service provider by exploiting CVE-2024-47575 (“FortiJump”) in a centralized FortiManager appliance. The vulnerability allowed unauthenticated command execution through crafted requests over the FMG-Access management channel on TCP port 541. The attackers registered a rogue virtual FortiGate named “localhost” and exfiltrated an archive containing configurations, SQLite databases, device inventories, network topology data, credentials, certificates, private keys and other trust material for more than 500 managed FortiGate firewalls.
After maintaining access, the attackers used the compromised FortiManager to push packet-capture configurations to downstream FortiGate devices. Sniffing targeted HTTP traffic and services including TFTP, RADIUS, RADIUS Accounting and LDAP to capture credentials, configuration data and information about internal networks. Reversible credentials recovered from stolen configurations were brute-forced and used to establish unauthorized SSL/VPN sessions from external infrastructure, providing access to internal management networks.
The attackers subsequently exploited CVE-2025-61624 through FortiOS auto-script path traversal to obtain root-level access and deploy PEERSTITCH. This ARM64 Linux implant is statically linked, operates as a one-shot memory injector and targets the `/bin/miglogd` and `/bin/iked` FortiOS processes. It locates these processes through `/proc`, attaches with `ptrace`, allocates executable memory, injects shellcode through `/proc/<pid>/mem`, and modifies execution paths with ARM64 patches. PEERSTITCH creates a covert inter-process communication channel between the two daemons by monitoring legitimate traffic for specific markers, transferring extracted session identifiers through shared process memory and altering VPN-related validation logic.
The deployment chain included self-deleting scripts, JavaScript and WebAssembly components, and a native injector. The malware left no persistent binary, opened no listening ports and generated no direct outbound connections, making conventional file- and network-based detection difficult.
The attackers also abused Apache’s `mod_md` ACME functionality. By mapping DNS-01 challenge execution to `/bin/node`, they injected shell commands into certificate challenge data and used continuous renewal polling to maintain an SSH reverse shell. Defense evasion included terminating logging processes, clearing crash logs, deleting malicious configuration objects, overwriting reverse-shell configuration files with decoy content and unlinking the injector from disk.