PEERSTITCH Malware Deployed via FortiOS Flaw Bypasses Checks on Tagged VPN Sessions
A suspected advanced threat actor has been observed exploiting a security flaw in Fortinet FortiOS to deliver a previously unreported memory-resident ARM64 malware known as PEERSTITCH. The attack involves the exploitation of CVE-2025-61624 (CVSS score: 5.4), a path traversal flaw in the command line interpreter of FortiOS, FortiPAM, FortiProxy, and FortiSwitchManager that could allow a
A previously unknown memory-resident ARM64 malware named PEERSTITCH has been observed being delivered through a security flaw in Fortinet's FortiOS system. This vulnerability, CVE-2025-61624, is a path traversal flaw in the command line interpreter of FortiOS, FortiPAM, FortiProxy, and FortiSwitchManager, which enables a privileged attacker to manipulate files.
Fortinet patched this flaw in April 2026. PEERSTITCH, once deployed, leaves no disk footprint, does not open listening ports, and initiates no outbound network connections. It communicates through traffic generated by legitimate processes on the infected host, thus evading conventional detection methods. Discovered by Palo Alto Networks Unit 42 researchers Daniel Gott and Shawn Westfall, the malware was part of a multi-stage network intrusion against a telecommunications managed service provider that occurred in September 2024.
This intrusion, identified as CL-STA-0954 (also known as UNC5820), initially gained access by exploiting a critical FortiManager flaw, FortiJump (CVE-2024-47575). After compromising the appliance, the attackers exfiltrated sensitive data, including configurations, cryptographic material, and database files from over 500 managed FortiGate firewalls.
This information facilitated network reconnaissance, unauthorized FortiGate SSL/VPN sessions, backdoor deployment, and the exploitation of another privilege escalation vulnerability (CVE-2025-61624) to deploy PEERSTITCH. PEERSTITCH is a 64-bit Linux ARM64 executable written in C, featuring an auto-script designed to download five components from an external server.
The malware operates covertly by creating a memory-resident communication bridge within the two legitimate FortiOS processes, thereby avoiding detection. This technique involves locating the running processes associated with specific FortiOS daemons, attaching to them using ptrace, halting their execution, and writing malicious code into allocated executable memory.
The end goal is to establish a covert, memory-resident bridge between the two processes, allowing them to be used as a cover to bypass FortiOS security validations.
Rewritten by urgent.news; may contain errors — check the original.
Source: thehackernews.com