Fortinet logo with FORTINET written in white capital letters, featuring a red square design within the O, set against a dark red background with abstract geometric shapes.

Hackers Using FortigateSniffer Tool That Turns Compromised Firewalls Into Password Collectors

By Published On: June 23, 2026

 

A silent and pervasive threat has emerged, turning ostensibly secure network perimeters into data collection points for cybercriminals. Recent intelligence reveals a financially motivated threat actor has unleashed a custom Golang-based tool, dubbed FortigateSniffer, compromising over 430,000 FortiGate firewalls worldwide. This sophisticated campaign, meticulously tracked by SOCRadar’s Threat Research Unit (STRU) and christened FortiBleed, has been silently harvesting an astounding 110 million credentials since early 2023, including confirmed infiltration of a NATO-aligned defense contractor.

This unprecedented operation underscores a critical shift in adversary tactics: weaponizing trusted network infrastructure against its owners. Instead of direct attacks, these compromised firewalls are being repurposed as intelligent password collectors, operating beneath the radar and posing a significant challenge to conventional cybersecurity defenses.

Understanding FortiBleed and FortigateSniffer

FortiBleed represents a highly organized and financially motivated cyber campaign. Its core exploit hinges on the deployment of FortigateSniffer, a bespoke tool crafted in Golang. Golang’s cross-platform compatibility and ability to compile into single binaries make it an attractive choice for threat actors seeking to create stealthy and efficient malware.

The FortigateSniffer tool’s primary function is to transform a compromised FortiGate firewall into a sophisticated packet sniffer, specifically designed to intercept and record credentials flowing through the network. This includes usernames, passwords, and other sensitive authentication data that pass through the firewall’s inspection points. The scale of this operation, impacting hundreds of thousands of devices globally, reveals a well-resourced and persistent threat actor.

The Mechanics of Credential Harvesting

Once FortigateSniffer establishes itself on a vulnerable FortiGate device, it operates with insidious efficiency. It monitors network traffic, identifying patterns indicative of authentication attempts—be it login dialogues for web applications, VPN connections, or internal system access. The tool then extracts these credentials, encrypts them, and presumably exfiltrates them to attacker-controlled command-and-control (C2) servers. The use of a critical network chokepoint like a firewall for this purpose allows threat actors to capture a broad spectrum of network-wide credentials.

The long operational timeline, dating back to at least February 2023, coupled with the sheer volume of exfiltrated credentials (over 110 million), highlights the stealth and effectiveness of this campaign. The confirmed breach of a NATO-aligned defense contractor further emphasizes the severe implications and strategic targeting involved.

The Impact of Compromised Firewalls

A compromised firewall is a nightmare scenario for any organization. It transcends the typical breach, as the very device designed to protect the network becomes its weakest link. The implications include:

  • Broad Credential Exposure: Intercepted credentials can grant adversaries access to a wide array of internal systems, cloud services, and third-party applications.
  • Persistent Access: Armed with legitimate credentials, threat actors can maintain a covert presence within the network, moving laterally and escalating privileges.
  • Undermined Trust: The integrity of network traffic passing through the firewall is compromised, leading to a loss of trust in network security mechanisms.
  • Espionage and Data Exfiltration: For targets like defense contractors, harvested credentials can facilitate state-sponsored espionage, intellectual property theft, and access to classified information.

Remediation Actions

Organizations utilizing FortiGate firewalls must take immediate and decisive action to counter the FortiBleed campaign and mitigate the risk posed by FortigateSniffer. Proactive measures and incident response protocols are crucial:

  • Patch and Update: Ensure all FortiGate devices are running the absolute latest firmware and security patches. Regularly check for Security Advisories from Fortinet. While the initial compromise vectors for FortiBleed are not explicitly detailed in the source, it’s highly probable that known vulnerabilities, if unpatched, could be exploited. Specific CVEs relevant to past FortiGate vulnerabilities that could facilitate such access include CVE-2022-42475 (heap-based buffer overflow), CVE-2023-27997 (remote code execution), and CVE-2023-33300 (command injection). These, or similar vulnerabilities, could be entry points for deploying FortigateSniffer.
  • Inspect for Anomalous Processes: Regularly audit FortiGate devices for any unfamiliar processes, unusual resource utilization, or unexpected file changes. The presence of a Golang-compiled binary acting as a network sniffer would be a critical indicator.
  • Network Traffic Analysis: Implement deep packet inspection and network traffic analysis to detect suspicious outbound connections from FortiGate devices, especially to unfamiliar IP addresses or domains. Look for unusual data volumes being exfiltrated.
  • Implement Multi-Factor Authentication (MFA): Enforce MFA across all services accessible through or managed by your FortiGate firewall. Even if credentials are stolen, MFA acts as a vital secondary defense.
  • Credential Rotation: Initiate an immediate, company-wide password reset for all users, particularly for administrative accounts and VPN users whose traffic traverses FortiGate devices.
  • Review Firewall Rules: Scrutinize firewall rules for any unauthorized modifications or newly opened ports that could facilitate C2 communication or data exfiltration.
  • Isolate and Rebuild: If a FortiGate device is suspected of compromise, isolate it from the network immediately. Consider a complete wipe and rebuild from a trusted firmware image, and rigorous security hardening before reintroduction.
  • Threat Hunting: Leverage threat intelligence feeds and conduct proactive threat hunting within your network to identify indicators of compromise (IoCs) associated with FortiBleed or FortigateSniffer.

Here are some tools that can assist in identifying and mitigating such threats:

Tool Name Purpose Link
FortiAnalyzer Centralized logging, reporting, and analysis for Fortinet devices. Crucial for detecting anomalies. https://www.fortinet.com/products/security-operations/fortianalyzer
Packet Capture (e.g., tcpdump on diagnostic shell) Directly capture and analyze network traffic on the FortiGate for suspicious patterns. https://docs.fortinet.com/document/fortigate/6.2.0/cookbook/394747/packet-capture
EDR/XDR Solutions Endpoint Detection and Response / Extended Detection and Response for monitoring and responding to threats across the IT environment. (Varies by vendor, e.g., CrowdStrike Falcon, Microsoft Defender XDR)
Vulnerability Scanners (e.g., Nessus, OpenVAS) Identify known vulnerabilities on network devices, including FortiGate firewalls. https://www.tenable.com/products/nessus
SIEM Solutions (e.g., Splunk, Elastic SIEM) Aggregate and analyze security logs from various sources, including firewalls, to detect threats. https://www.splunk.com/en_us/products/security-information-event-management.html

Looking Ahead: The Evolving Threat Landscape

The FortiBleed campaign serves as a stark reminder of the sophisticated and evolving nature of cyber threats. Adversaries are continually finding innovative ways to bypass traditional defenses, often by turning security mechanisms against their users. The deployment of custom tools like FortigateSniffer highlights a trend towards highly targeted, stealthy operations that leverage specialized knowledge of network infrastructure.

For IT and security professionals, this necessitates enhanced vigilance, continuous monitoring, and a proactive approach to security. Relying solely on perimeter defenses is no longer sufficient; a multi-layered security strategy, coupled with robust incident response capabilities and a commitment to continuous patching, is indispensable in protecting critical assets from such advanced threats.

 

Share this article

Leave A Comment