← all research
2026-10-15 Never trust your edge devices

FortiJump to PEERSTITCH: One FortiManager, 500 Firewalls and trust you should hate

A pointer to my latest Unit 42 writeup on an edge device intrusion, a memory-only FortiGate implant and certificate renewal as C2

original_researchCVE-2024-47575CVE-2025-61624CVE-2024-26009CVE-2024-26008FortinetFortiManagerFortiGatePEERSTITCHforensicsvulnerability
the short version the cves the fun parts go read it

Quick one. I just published a recent intrusion on Unit 42: Unit 42 Uncovers PEERSTITCH, a Stealthy FortiGate Implant.

The Short Version

CL-STA-0954 (aka UNC5820), a patient crew whose tradecraft overlaps with suspected nation-state activity, hit a telecom organization’s FortiManager and walked off with configs, credentials and trust material for 500+ FortiGates. Then they sat on it. Long dwell, legitimate credentials, everything dressed up as normal management traffic. When you hold the keys to 500 firewalls, there is no rush.

The CVEs

The Fun Parts

PEERSTITCH: A one-shot ARM64 injector that ptraces into miglogd and iked, plants hooks in RWX memory and wires the two daemons together through /proc/<pid>/mem. No file on disk, no listening port, no outbound connection.

Apache mod_md persistence: The attackers pointed the FortiGate’s built-in ACME client at their own server, mapped the DNS-01 challenge to /bin/node and smuggled a reverse shell into the domain field. Set renewal to always, and Apache happily re-runs it forever. Certificate renewal as C2. Rude, but impressive.

Anti-forensics: Logging daemons killed, crashlogs wiped, config changes rolled back, the implant deleting itself, and a decoy md-acme.conf that looks perfectly boring. Anything they wrote down was either erased or faked.

Go Read It

The full post has the technical breakdown, hunting guidance, IOCs and a YARA rule.

Unit 42 Uncovers PEERSTITCH, a Stealthy FortiGate Implant