Home NDR Monitoring DNS Shield UEBA Analytics RECON Scanner Blog Company Deutsch (DE) Contact
arrow_back Back to blog
Threat Analysis15 min read• March 29, 2026

FortiGate Under Fire: How Attackers Compromise Firewalls and Take Over Entire Networks

Stefan Röthlisberger

Stefan Röthlisberger

Founder & CEO, IRONATE

Since late 2024, one of the most aggressive attack campaigns against perimeter infrastructure that the security industry has ever seen has been underway. At the center: FortiGate next-generation firewalls from Fortinet. Within 15 months, at least five critical vulnerabilities were actively exploited, over 600 devices in 55 countries were compromised, and attackers developed techniques that maintain access even after patching. This article reconstructs the timeline, analyzes the attack chain in detail, and shows what lessons organizations should draw from it.

The Timeline: 15 Months of Escalating Attacks

Nov 2024
CVE-2024-55591 (CVSS 9.6) - Zero-day exploitation begins. An authentication bypass via the Node.js WebSocket module lets unauthenticated attackers gain super-admin privileges on FortiOS and FortiProxy. Discovered by Arctic Wolf Labs.
Feb 2025
CVE-2025-24472 (CVSS 8.1) - A second authentication bypass is discovered, this time via crafted CSF proxy requests. Discovered by watchTowr researcher "Sonny". Fortinet expands the existing advisory FG-IR-24-535.
Apr 2025
Symlink persistence technique - Fortinet warns: attackers create symbolic links in SSL-VPN language files that connect the user filesystem to the root filesystem. This lets them keep read access to configuration files even after patching. CISA publishes an alert.
Dec 2025
CVE-2025-59718 / CVE-2025-59719 (CVSS 9.8) - A SAML SSO authentication bypass caused by flawed cryptographic signature verification. It affects FortiOS, FortiProxy, FortiSwitchManager and FortiWeb. Exploitation begins 3 days after disclosure. CISA adds the CVE to the KEV catalog.
Jan 2026
CVE-2026-24858 (CVSS 9.4) - A FortiCloud SSO authentication bypass: attackers with a FortiCloud account can log in to devices that belong to other customers. Two malicious accounts (cloud-noc@mail.io, cloud-init@mail.io) are identified and blocked.

The Attack Chain in Detail: From Firewall Exploit to Domain Takeover

A DFIR report published by SentinelOne in March 2026 documents two real incidents that show the full scope of the threat. The attack chain follows a clear pattern:

Phase 1: Initial access and persistence

The attackers exploit one of the vulnerabilities listed above to gain unauthenticated super-admin privileges on the FortiGate. They then create local admin accounts with inconspicuous names such as support, ssl-admin, audit or backup. In addition, new firewall policies are created that permit unrestricted traffic between all zones, effectively disabling the firewall.

Phase 2: Credential theft, the key problem

This is the most critical point in the entire chain: FortiOS stores credentials in configuration files using reversible encryption. The attackers export the configuration via the show full-configuration command and decrypt the LDAP service account credentials contained in it.

In the documented cases, the fortidcagent account was specifically compromised, a service account used for the integration between FortiGate and Active Directory that typically holds broad AD read privileges.

warningCore problem

FortiOS uses reversible encryption for stored credentials. Any attacker with access to the configuration file can extract LDAP and AD credentials in cleartext.

Phase 3: Active Directory takeover

With the decrypted credentials, the attackers authenticate against Active Directory. In the first documented incident, they abused the AD attribute mS-DS-MachineAccountQuota to join their own workstations to the domain. The rogue workstations carried generic names such as WIN-X8WRBOSK0OF.

In the second incident it went even faster: only 10 minutes after creating the backdoor account on the firewall, the attackers already had domain administrator privileges.

Phase 4: Remote access tools and malware

For persistent access independent of the firewall, the attackers deployed two legitimate remote management tools:

  • arrow_rightPulseway - hosted on Google Cloud Storage (storage.googleapis[.]com/apply-main/)
  • arrow_rightMeshAgent - hidden via the registry key SystemComponent=1 so it does not appear in the software list

In addition, a Java-based malware using DLL sideloading was deployed, distributed via AWS S3 and establishing beacon connections to the C2 domains ndibstersoft[.]com and neremedysoft[.]com.

Phase 5: NTDS.dit exfiltration, game over

The ultimate goal: the NTDS.dit database of the primary domain controller. This file contains all password hashes of every domain user. The attackers:

  1. Created a Volume Shadow Copy via WMIC
  2. Extracted NTDS.dit and the SYSTEM registry hive
  3. Compressed the files with makecab
  4. Exfiltrated them over port 443 to 172.67.196[.]232 (8 minutes of connection time)
  5. Deleted the compressed files after exfiltration

Who Is Behind the Attacks?

SentinelOne assesses the actors as financially motivated Initial Access Brokers (IABs), specialized criminals who break into high-value targets and then resell the access to ransomware operators. The differing approaches in the two documented incidents point to at least two separate operator groups.

In parallel, the AWS security team documented a separate campaign by a Russian-speaking, AI-augmented actor who compromised over 600 FortiGate devices in 55 countries between January and February 2026, in this case via exposed management ports and weak single-factor authentication.

The Logging Problem: Why the Firewall Alone Doesn't See Enough

A recurring pattern across the documented incidents: the logging on the FortiGate devices was not sufficient for a complete forensic analysis. In many cases, the exact time of the initial compromise could not be determined.

Fortinet has since published specific log IDs that organizations should actively monitor:

Log ID Event
0100032001SSO admin logins
0100032095Configuration file downloads
0100044547Admin account creation

In addition, the following event IDs should be monitored on the Windows side:

Event ID Event
4741New computer account created (rogue workstation)
4624 Type 3/10Network/RDP logins from the FortiGate VPN range
5136Directory service changes

Immediate Measures for Affected Organizations

priority_high
Update firmware: FortiOS to version 7.6.2, 7.4.11, 7.2.11, 7.0.17 or 6.4.16. Patches for all the named CVEs are available.
search
Review admin accounts: Check all local admin accounts on the FortiGate. Immediately remove unauthorized accounts such as support, ssl-admin, audit, backup, itadmin, secadmin.
key
Rotate credentials: All LDAP/AD credentials stored in the FortiOS configuration must be treated as compromised and changed immediately.
policy
Review firewall policies: Check for newly created rules with source=all, destination=all, these effectively disable the firewall.
link_off
Check symlinks: Inspect SSL-VPN language files for symbolic links to the root filesystem. Fortinet provides specific instructions for this.
visibility
Increase network visibility: If the firewall itself is compromised, you lose the primary security layer. Independent network monitoring detects the lateral movement, credential abuse and data exfiltration that stay invisible in the FortiGate logs.

summarize Key Takeaways

  • check_circle5 critical CVEs in 15 months, FortiGate firewalls have become a primary target for attackers.
  • check_circleThe reversible encryption of credentials in FortiOS configurations is the critical lever that enables the jump from firewall compromise to Active Directory compromise.
  • check_circleThe attack chain, from zero-day to NTDS.dit theft, can run in under 10 minutes.
  • check_circleInitial Access Brokers resell the access to ransomware groups, so the actual damage event often follows only weeks later.
  • check_circleIndependent network monitoring is essential when the firewall itself can no longer be trusted.

Sources & References

  • • SentinelOne DFIR (March 2026): "FortiGate Edge Intrusions" - sentinelone.com
  • • Fortinet PSIRT Blog: "Analysis of SSO Abuse on FortiOS" - fortinet.com
  • • Rapid7 (Dec 2025): "Critical Vulnerabilities in Fortinet CVE-2025-59718 / CVE-2025-59719" - rapid7.com
  • • CISA Alert (Jan 2026): "CVE-2026-24858 Guidance" - cisa.gov
  • • Fortinet Advisory FG-IR-26-060: "CVE-2026-24858" - fortiguard.com
  • • Tenable Blog (Jan 2025): "CVE-2024-55591 Authentication Bypass Zero-Day" - tenable.com
  • • CISA Alert (Apr 2025): "Fortinet Post-Exploitation Technique" - cisa.gov
  • • AWS Security Blog (Feb 2026): "AI-Augmented Threat Actor Accesses FortiGate Devices at Scale" - aws.amazon.com
  • • BleepingComputer (Apr 2025): "Hackers Retain Access to Patched FortiGate VPNs Using Symlinks" - bleepingcomputer.com

When the Firewall Is Compromised, You Need a Second Line of Sight

IRONATE NDR, DNS Shield and UEBA detect lateral movement, credential abuse and data exfiltration, regardless of whether your firewall can still be trusted.

Request a free consultation arrow_forward