Blog/Incident analysis

Ivanti Connect Secure: the month CISA told agencies to unplug the VPN

Two chained flaws in Ivanti's VPN gateways led to over 1,700 compromised appliances, a federal order to disconnect them, and a finding that persistence survived factory resets.

CyberWatch AI29 November 2026 · 8 min read
A wall-mounted network cabinet with patch panels and a bundle of blue cables

On 31 January 2024, CISA told every federal civilian agency to take its Ivanti Connect Secure and Policy Secure appliances off the network within two days. Not patch them. Disconnect them. For a product whose entire function is to provide remote access to the organization, that instruction is close to the strongest statement a government agency can make about a piece of software.

Three weeks earlier, most people had not heard of the vulnerabilities. The arc from disclosure to "unplug it" is short, and the reasons it was that short are worth understanding, because the same pattern has since repeated against other vendors' edge devices.

Defect and attack, in that order

The vulnerabilities were genuine flaws in Ivanti's products, not operator error and not an outage. But the event was driven by exploitation, and the first exploitation happened before anyone outside the attacker knew the flaws existed.

Volexity identified suspicious activity at a customer in December 2023 and traced it to two then-unknown vulnerabilities. It tracks the actor as UTA0178; Mandiant tracks closely related activity as UNC5221. Both assess the activity as espionage-motivated with a suspected China nexus. Mandiant was explicit that its findings did not tie the activity to a previously named group, which is the correct level of caution and is often dropped when this incident is summarized.

Ivanti published an advisory on 10 January 2024, the same day Volexity published its technical analysis. What followed was a textbook mass-exploitation curve: a few targeted victims in December, public details in January, working exploit code circulating within days, and then indiscriminate scanning by unrelated groups.

The vulnerability chain

  • CVE-2023-46805 is an authentication bypass in the web component of Connect Secure and Policy Secure. On its own it gives an unauthenticated attacker access to functionality that should require a login.
  • CVE-2024-21887 is a command injection in an administrative component. On its own it requires authentication.

Chained, the bypass satisfies the authentication requirement of the injection, and the result is unauthenticated remote command execution on an internet-facing appliance that terminates VPN sessions and holds directory credentials. Both affect supported 9.x and 22.x versions across the product line.

The chain did not stay at two. Ivanti disclosed CVE-2024-21888, a privilege escalation, and CVE-2024-21893, a server-side request forgery in the SAML component, at the end of January, with CVE-2024-21893 already under exploitation at disclosure. CVE-2024-22024, an XML external entity issue in the SAML component, followed on 8 February. Each disclosure reset the remediation clock for everyone who had just finished the previous round.

What attackers did with it

The published analyses describe web shells for persistent command execution, credential harvesting from VPN authentication traffic, and passive backdoors that wait for a crafted request rather than calling out to a server. The last category is significant for detection: a backdoor that never initiates an outbound connection does not appear in network egress monitoring, which is where many organizations look first.

Two findings from CISA's joint advisory AA24-060B, published on 29 February 2024 with the FBI, MS-ISAC and the national cyber security centres of the UK, Australia, Canada and New Zealand, go further than usual and are the most important technical content of the whole event.

The Integrity Checker Tool could be deceived. Ivanti shipped a tool to verify whether an appliance had been tampered with, and it became the primary assurance mechanism organizations relied on. The advisory describes web shells found on appliances where the tool reported no file mismatches, after attackers overwrote files, manipulated timestamps and remounted the runtime partition. A clean result from the checker did not mean a clean appliance.

Persistence survived factory resets. CISA's own lab research found that an attacker could maintain root-level persistence through a factory reset and through appliance upgrades, with the mechanism residing on the encrypted partition, which makes validating a device difficult without decrypting it and comparing against a clean installation. The advisory goes on to recommend assuming a sophisticated actor may deploy rootkit-level persistence on a device that has been reset and leave it dormant for an arbitrary period.

That is the finding that justifies the disconnect order. If you cannot verify a device is clean, and resetting it does not guarantee cleanliness, the only reliable options are replacement or removal.

The directive, in sequence

  • 19 January 2024: Emergency Directive 24-01 issued. Agencies had to import Ivanti's mitigation XML by 11:59pm on 22 January, immediately run the external Integrity Checker Tool, report any indicators of compromise and remove the affected device, apply fixes within 48 hours of release, and submit a full product inventory within a week.
  • 31 January 2024: Supplemental Direction V1. All affected Ivanti instances had to be disconnected from agency networks by 11:59pm on 2 February. Returning a device to service required exporting its configuration, a factory reset, a rebuild and upgrade, reimporting the configuration and reissuing credentials. Agencies had to assume domain accounts were compromised: reset on-premises passwords twice, revoke Kerberos tickets, revoke cloud tokens and disable cloud-joined devices, all by 1 March.
  • 9 February 2024: Supplemental Direction V2, superseding V1, adding CVE-2024-22024 and requiring the 8 February update by 11:59pm on 12 February. It restated that any agency that had not yet disconnected affected devices should do so immediately.

Read that credential section again, because it is the part most organizations underestimated. Two password resets, not one, to defeat an attacker who may hold the previous hash. Kerberos ticket revocation. Cloud token revocation. The appliance compromise was treated, correctly, as a full domain credential compromise.

Confirmed versus unknown

Confirmed: the CVEs and the chain, the disclosure dates, zero-day exploitation from December 2023, the directive and its supplements with their deadlines, the Integrity Checker Tool deception, and CISA's finding on persistence surviving resets and upgrades.

Confirmed with a caveat on scale: Volexity reported more than 1,700 compromised appliances worldwide in mid-January, across government and military departments, telecommunications, defense contractors, technology, banking, finance, accounting, consulting and aviation. Volexity itself noted that figure was probably an undercount, because its scanning method could not identify compromise on appliances that had already applied Ivanti's mitigation. So this is a researcher-measured floor rather than a total, and it should be cited that way.

Not established publicly: the full victim list, how many organizations suffered consequential intrusions beyond the appliance itself, the identity of the original actor beyond the uncategorized clusters, and how many devices still carry dormant persistence. The last of those is genuinely open, and it is the reason the advisory's language about an arbitrary dormant period is not hyperbole.

Why it mattered

It broke the assumption that mitigation buys time. Ivanti's initial response was a mitigation configuration file, with patches staggered from the end of January. That was a reasonable engineering decision and it created a three-week period in which the fix for an actively mass-exploited vulnerability was a workaround. Several of the later CVEs were found during that window. For defenders, the lesson is that a vendor mitigation is a holding action whose effectiveness is unproven, not an equivalent to a patch.

It made "can this device be trusted again?" a real question. Most incident response playbooks assume a compromised host can be reimaged. CISA's finding that persistence could survive a factory reset removes that assumption for this class of device. A few organizations replaced hardware. More did not, and cannot prove they were right.

It confirmed edge appliances as the preferred route in. Internet-facing by design, holding directory credentials, running vendor firmware your endpoint tooling cannot inspect, and often excluded from the patching cadence applied to servers. The pattern described in our zero-day vulnerabilities guide has played out repeatedly against this product category since.

What to take from it

  1. Restrict outbound traffic from your VPN appliances. CISA's first recommendation. An appliance should reach the specific services it needs and nothing else. This is the control that turns a successful exploit into a dead end for many payloads.
  2. Use a low-privilege account for the directory bind. If your gateway authenticates against Active Directory or LDAP with a highly privileged service account, compromise of the gateway hands over the directory. The advisory calls this out specifically, and it remains a common finding.
  3. Assume credentials on the appliance are gone. Not "consider rotating". The directive required two rounds of password resets and revocation of tickets and tokens. Build that sequence into your plan now, because executing it for the first time under pressure takes days you will not have. Our incident response guide covers sequencing credential resets so they actually take effect.
  4. Do not treat a vendor integrity tool as proof. It is one signal. Pair it with your own evidence: network logs from in front of the appliance, authentication anomalies in the directory, and configuration diffs.
  5. Decide your position on replacement in advance. If an appliance like this is compromised, will you reimage or replace? Knowing the budget answer before the incident is the difference between a decision and an argument.
  6. Patch internet-facing devices on a 24 to 48 hour cycle. That is the advisory's own guidance and it is the practical standard for this device class now. Our vulnerability management guide covers how to carve out that cadence for a small number of high-exposure assets without trying to apply it to everything.

Remote access suddenly unavailable? Emergency disconnections generate a wave of fake "reconnect your VPN" messages. Paste any such message or link into CyberWatch AI Scan for a free check before entering credentials.

The sentence from AA24-060B worth keeping is its closing judgment: the authoring agencies urged organizations to consider the significant risk of adversary access and persistence when determining whether to continue operating these devices in an enterprise environment. Seven national cyber security bodies jointly suggesting that a widely deployed commercial product might not belong on an enterprise network is not a routine advisory. It is the logical end of a chain that starts with a device being both indispensable and unverifiable, and it is a useful thing to remember when the next edge appliance advisory arrives. Our third-party risk guide covers how to ask about a vendor's disclosure and patch behavior before you are depending on it.

Frequently asked questions

Was this an attack or a product failure?

Both elements are present. The vulnerabilities were real defects in Ivanti Connect Secure and Policy Secure, and a suspected espionage actor exploited them as zero-days from December 2023 before the flaws were public. The scale that followed came from many groups using a public exploit.

Which vulnerabilities were involved?

Initially CVE-2023-46805, an authentication bypass in the web component, and CVE-2024-21887, a command injection. Chained, they gave unauthenticated remote command execution. CVE-2024-21888, CVE-2024-21893 and CVE-2024-22024 followed within weeks, and CVE-2024-21893 was already being exploited when disclosed.

Why did CISA order agencies to disconnect the devices?

Because mitigation and patching were not keeping pace with exploitation. Supplemental Direction V1 to Emergency Directive 24-01, issued 31 January 2024, required federal civilian agencies to disconnect all affected Ivanti instances from their networks by 11:59pm on 2 February 2024.

How many devices were compromised?

Volexity reported more than 1,700 compromised Connect Secure appliances worldwide in mid-January 2024, and said the real figure was likely higher because its scanning method could not detect compromise on devices that had already applied Ivanti's mitigation.

Could a factory reset clean an affected appliance?

Not reliably. CISA's lab research, published in joint advisory AA24-060B, found a threat actor could maintain root-level persistence through factory resets and appliance upgrades, with the mechanism residing on the encrypted partition.

What was wrong with the Integrity Checker Tool?

Attackers were able to deceive both the internal and external versions of it. The advisory describes web shells found on appliances that the tool reported as having no file mismatches, after actors overwrote files, altered timestamps and remounted the runtime partition.

Who was behind the original exploitation?

Volexity tracks the initial actor as UTA0178 and Mandiant as UNC5221, both assessing it as espionage-motivated with a suspected China nexus. Mandiant did not tie the activity to a previously known named group. Many unrelated actors joined later.

What should an organization running edge appliances conclude?

That the appliance is an untrusted, high-value target that needs its own monitoring, restricted outbound access, low-privilege directory bind accounts, and a plan for replacement rather than cleaning after compromise.

Sources

  1. ED 24-01: Mitigate Ivanti Connect Secure and Ivanti Policy Secure Vulnerabilities, US Cybersecurity and Infrastructure Security Agency
  2. Threat Actors Exploit Multiple Vulnerabilities in Ivanti Connect Secure and Policy Secure Gateways (AA24-060B), US Cybersecurity and Infrastructure Security Agency
  3. CVE-2023-46805: Authentication Bypass and CVE-2024-21887: Command Injection for Ivanti Connect Secure and Ivanti Policy Secure Gateways, Ivanti
  4. Ivanti Connect Secure VPN Exploitation Goes Global, Volexity
  5. Cutting Edge: Suspected APT Targets Ivanti Connect Secure VPN in New Zero-Day Exploitation, Google Cloud Threat Intelligence
  6. CVE-2024-21887 Detail, US National Vulnerability Database
  7. CVE-2023-46805 Detail, US National Vulnerability Database
  8. CVE-2024-22024 Detail, US National Vulnerability Database
  9. Ivanti Connect Secure zero-days now under mass exploitation, BleepingComputer
Share this article
LinkedIn WhatsApp X
For organizations

Your people get these messages at work too.

CyberWatch AI sends your staff realistic practice attacks, trains the gaps it finds, and shows management exactly where the organization stands.