Malware profile
PEERSTITCH malware
PEERSTITCH is a small Linux program that Palo Alto Networks Unit 42 found on Fortinet FortiGate firewalls.
In short
PEERSTITCH is a small Linux program that Palo Alto Networks Unit 42 found on Fortinet FortiGate firewalls. It injects code into two running system processes and leaves no file on disk. Unit 42 ties it to an intrusion that began with a FortiManager flaw.
- Names2names in public reportsPEERSTITCH · lldprx
- Infection Steps6in the delivery chainFirst access · Data theft
In one minute
- What it is
- A small Linux program that hides inside two running processes on a Fortinet firewall and leaves no file on disk, as described by Palo Alto Networks Unit 42.
- What it does
- Injects code into the FortiOS processes miglogd and iked, then passes hidden tags between them so iked skips some default checks. Unit 42 says it opens no ports and makes no outbound connections.
- Who uses it
- Attributed by Palo Alto Networks Unit 42 to a cluster it tracks as CL-STA-0954, also called UNC5820. Unit 42 says parts of the activity overlap with intrusions attributed to suspected nation-state actors and does not name a state. No government body has named PEERSTITCH.
- How it gets in
- In the case Unit 42 describes, attackers used FortiManager flaw CVE-2024-47575 for first access and FortiOS flaw CVE-2025-61624 to reach root and drop the program.
- What to do first
- Patch FortiManager and FortiOS as Fortinet advises, restrict the FortiManager port 541 to known devices, and rotate credentials and certificates stored on any management platform that may have been exposed.
What it does
Palo Alto Networks Unit 42 describes PEERSTITCH as a 64-bit ARM64 Linux program that runs once. It attaches to the logging process miglogd and the VPN process iked, writes a small block of code into each, and patches a few instructions so execution jumps into that code. The hooks then pass hidden tags between the two processes, and iked takes a different path that skips some default checks.
Unit 42 says PEERSTITCH leaves no program file on disk, opens no listening ports and makes no outbound connections. The attackers kept remote access by other means. Unit 42 reports a separate reverse shell built on the Apache certificate renewal module, so that channel is not part of PEERSTITCH itself.
The report names CVE-2024-47575 in FortiManager and CVE-2025-61624 in FortiOS. Unit 42 says the intrusion occurred in September 2024 and that the attackers stayed for an extended dwell period before moving on. It does not say when CVE-2025-61624 was used or whether the flaw was still unknown at that time. Fortinet published its advisory for CVE-2025-61624 on 14 April 2026.
Names
Public sources use several names for this malware.
| Name | Where it appears |
|---|---|
| PEERSTITCH | Name used by Palo Alto Networks Unit 42 for the injector[1] |
| lldprx | File name under which the PEERSTITCH core was saved on the device, per Unit 42[1] |
How it spreads
Unit 42 does not describe PEERSTITCH spreading by itself. In the intrusion it reports, attackers got into a FortiManager with CVE-2024-47575, moved to FortiOS devices, used CVE-2025-61624 to gain root and then had a loader fetch five files, including the PEERSTITCH program, from a server they controlled.
How an infection runs
The order of steps in a typical infection, as the sources describe it.
First access
Attackers used CVE-2024-47575 through crafted requests to the FortiManager management channel on TCP port 541.[1, 2]
Data theft
After registering a device, they created a configuration archive named .tm on the FortiManager and took it out.[1]
Root on FortiOS
Using CVE-2025-61624 and a path traversal in the FortiOS auto-script feature, they moved from administrator access to root.[1, 3]
Staging
A loader fetched five files from a server on port 8085 into a template folder on the device, including the PEERSTITCH core, which then deleted its own file.[1]
Injection
The core attached to miglogd and iked with ptrace, wrote a 1,344 byte payload into a 16 KB memory block and patched code to redirect execution.[1]
Quiet signalling
The hooks watch traffic for set markers and pass tags between the two processes, so iked takes an alternate branch that skips default validation.[1]
Timeline
- September 2024
Intrusion
Unit 42 says the multi-stage intrusion against a telecommunications managed service provider occurred in September 2024, followed by an extended dwell period. The report gives no date for the later FortiOS stage.[1]
- 23 October 2024
- 14 April 2026
- 14 October 2026
Unit 42 report
Palo Alto Networks Unit 42 publishes its analysis of PEERSTITCH and the intrusion cluster CL-STA-0954.[1]
- 16 October 2026
Related vulnerabilities
- Vulnerability FortiManager missing authentication (CVE-2024-47575) CVE-2024-47575 is a missing authentication flaw in the FortiManager service that talks to managed firewalls. CVE-2024-47575 · Fortinet · Missing authentication for a critical function (CWE-306) in the FortiManager device management service, allowing remote code or command execution
- Vulnerability Fortinet CLI path traversal flaw (CVE-2025-61624) CVE-2025-61624 is a path traversal flaw in the command line of FortiOS, FortiPAM, FortiProxy and FortiSwitchManager. CVE-2025-61624 · Fortinet · Path traversal in the command line interpreter (CWE-22), allowing arbitrary file write or delete
Detection and defense
Look in memory, not only on disk
Unit 42 suggests hunting for anonymous 16 KB read-write-execute regions in miglogd and iked, crash logs with signal 11 events, and auto-script entries containing path traversal strings.[1]
Questions
What is PEERSTITCH?
A Linux program for Fortinet FortiGate firewalls described by Palo Alto Networks Unit 42. It injects code into two running processes and leaves no file on disk.
Which Fortinet flaws does the report name?
CVE-2024-47575 in FortiManager for first access and CVE-2025-61624 in FortiOS to reach root. Unit 42 also names two lower-confidence possibilities and says it could not confirm them.
Who is behind it?
Unit 42 tracks the activity as CL-STA-0954, also called UNC5820, and says parts overlap with intrusions attributed to suspected nation-state actors. It names no state, and no government body has named PEERSTITCH.
Does it show up in file scans?
Unit 42 says PEERSTITCH leaves no persistent file on disk, so file checks alone can miss it. Its hunting advice looks at process memory and crash logs.
Is CVE-2025-61624 tied to this by CISA or Fortinet?
No. CISA lists the flaw as exploited and Fortinet marks it known exploited, but neither names PEERSTITCH. The link comes from the Unit 42 report.
Sources
- Analysis of CVE-2024-47575 intrusion and PEERSTITCH (attributed by Unit 42) Palo Alto Networks Unit 42, 14 October 2026Supports: Malware behaviour, flaws used, cluster name, timing, hunting advice.
- FG-IR-24-423 Missing authentication in fgfmsd Fortinet PSIRTSupports: Affected versions, workarounds, known exploited flag, publication date.
- FG-IR-26-122 Path Traversal in CLI Fortinet PSIRTSupports: Affected versions, known exploited flag, 14 April 2026 date.
- Known Exploited Vulnerabilities catalog (data file) CISASupports: KEV entries and dates for CVE-2024-47575 and CVE-2025-61624.
- CVE-2024-47575 record NIST NVDSupports: Description, score and affected versions.
- CVE-2025-61624 record NIST NVDSupports: Description and publication date.
- CISA Adds Two Known Exploited Vulnerabilities to Catalog CISA, 16 October 2026Supports: CVE-2025-61624 added to the catalog.
Browse the threat library
- APT groups State-backed hacking groups, who they go after and how they get in. 51 profiles
- Countries The sectors, groups and national bodies that matter in each country. 32 profiles
- Ransomware groups How each group gets in, how it extorts and what stops it. 25 profiles
- Malware and tools Malware families and abused tools, what they do and how to spot them. 54 profiles
- Techniques Attack techniques in plain words, mapped to MITRE ATT&CK. 37 profiles
- Vulnerabilities Flaws attackers use in real attacks and what to do about them. 50 profiles
- Significant Cyber Incidents Significant incidents since October 2024, with a dated timeline, sources and lessons. 105 profiles
Stay Ahead of
Digital Threats
Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.