rotateit

All incidents

Ivanti Connect Secure zero-day used to harvest VPN credentials and keys

Disclosed Jan 8, 2025 · updated Oct 28, 2026 · critical · Historical

An Ivanti VPN zero-day was used to steal logins, API keys and certificates.

Are you affected?

The free scanner that answers this opens soon. Until then, the steps below work by hand.

What happened

Ivanti VPN zero-day used to steal credentials. CVE-2025-0282 is an unauthenticated stack-based buffer overflow in Ivanti Connect Secure before 22.7R2.5, Policy Secure before 22.7R1.2 and Neurons for ZTA gateways before 22.7R2.3 that allows remote code execution. Mandiant saw zero-day exploitation from mid-December 2024 by UNC5221, a suspected China-nexus espionage actor. It deployed DRYHOOK to harvest usernames and passwords of successful sign-ins, targeted the appliance's database cache, which may hold VPN sessions, session cookies, API keys, certificates and credential material, and used the appliance's LDAP service account to query and move through the network. CISA tells compromised organisations to revoke and reissue connected or exposed certificates, keys and passwords.

Exposure starts
Not known yet (Mandiant says exploitation began mid-December 2024 without a date)
Exposure ends
Not known yet (exposure ends when each appliance is patched or reset and its credentials reissued)
Confidence
low
Scope
every credential on or connected to a vulnerable Ivanti Connect Secure, Policy Secure or ZTA gateway, including local and admin passwords, the LDAP service account, stored API keys, certificates, VPN sessions and domain accounts that signed in through it

What to do, in this order

  1. Run Ivanti's integrity checker; if it shows compromise, factory-reset the appliance, then upgrade to 22.7R2.5 (Policy Secure 22.7R1.2, ZTA 22.7R2.3)

    Mandiant relays Ivanti's guidance to factory-reset a compromised appliance before returning it to service; reissued secrets on a compromised appliance would be stolen again.

  2. Reset passwords twice for domain accounts that signed in through the appliance, revoke their Kerberos tickets and revoke cloud tokens

    DRYHOOK harvested successful sign-ins, and CISA lists these steps for compromised domain accounts.

    anything else stored there

  3. Reset the LDAP and other service accounts and every local user defined on the gateway, and change the administrator enable password

    Mandiant saw the LDAP service account used for lateral movement; CISA lists these resets.

    anything else stored there

  4. Reset stored API keys and revoke and reissue the appliance's certificates and keys

    The database cache may hold API keys and certificates, and CISA says to revoke and reissue connected or exposed certificates, keys and passwords.

    anything else stored there

Notes

  • Mandiant says CVE-2025-0283 was disclosed with CVE-2025-0282; only CVE-2025-0282 is described as exploited.
  • Ivanti recommends its integrity checker tool and, if it shows compromise, a factory reset before returning the appliance to service on 22.7R2.5 (as quoted by Mandiant).
  • CISA's KEV catalog added CVE-2025-0282 on 2025-01-08.

How to tell if you’re affected

  • Ivanti Connect Secure below 22.7R2.5, Policy Secure below 22.7R1.2, or ZTA gateways below 22.7R2.3
  • The file /tmp/cmdmmap.kuwMW, where DRYHOOK writes harvested sign-ins
  • A modified DSAuth.pm, and the PHASEJAM, SPAWNANT, SPAWNMOLE, SPAWNSNAIL or SPAWNSLOTH malware families
  • LDAP queries, SMB or RDP from the appliance's LDAP service account to Active Directory servers

Sources

Rotating the keys

Pro, $49 a year when it opens, plans the rotation of each affected key for this incident, in this order. Automatic rotation is in testing and included.

One email when it opens. Stored: your email, whether you confirmed, and when you signed up. We send a confirmation link first.

By hand, free: the steps above.