Detection rules › Splunk
Cisco IOS XE WebUI Login From IOSd Local Port
This analytic detects Cisco IOS-XE WebUI authentication failure and success logs that include local port 21111. This is a strong an indicator of WebUI exploitation because normal users should not authenticate through the underlying IOS-XE Linux shell path.
Known false positives
- This local port value should not appear for normal WebUI logins. So false positives should very minimal.
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Initial Access | |
| Persistence | |
| Privilege Escalation | |
| Stealth |
Rule body
name: Cisco IOS XE WebUI Login From IOSd Local Port
id: 77a1751f-552f-456c-b9ae-cdb66eec3e42
version: 1
creation_date: '2026-05-19'
modification_date: '2026-05-19'
author: Nasreddine Bencherchali
status: production
type: TTP
description: |
This analytic detects Cisco IOS-XE WebUI authentication failure and success logs that include local port 21111.
This is a strong an indicator of WebUI exploitation because normal users should not authenticate through the underlying IOS-XE Linux shell path.
data_source:
- Cisco IOS Logs
search: |-
`cisco_ios`
facility="SEC_LOGIN"
mnemonic IN ("QUIET_MODE_ON", "LOGIN_SUCCESS", "LOGIN_FAILED")
message_text="*[localport: 21111]*"
| rex field=_raw "\[user:\s*(?<user>[^\]]+)\]"
| rex field=_raw "\[Source:\s*(?<src_ip>[^\]]+)\]"
| rex field=_raw "\[localport:\s*(?<local_port>[^\]]+)\]"
| rex field=_raw "\[Reason:\s*(?<reason>[^\]]+)\]"
| rex field=_raw "\[ACL:\s*(?<acl>[^\]]+)\]"
| eval dest=coalesce(host, dvc, dest, "unknown")
| stats count min(_time) as firstTime
max(_time) as lastTime
values(local_port) as local_port
values(acl) as acl
by dest user src_ip reason
| `security_content_ctime(firstTime)`
| `security_content_ctime(lastTime)`
| `cisco_ios_xe_webui_login_from_iosd_local_port_filter`
how_to_implement: |
Use the Cisco Catalyst Add-on for Splunk (https://splunkbase.splunk.com/app/7538) to Ingest Cisco IOS-XE syslog with sourcetype "cisco:ios".
Login failure logging must be enabled with "login on-failure log".
known_false_positives: |
This local port value should not appear for normal WebUI logins. So false positives should very minimal.
references:
- https://www.cisa.gov/news-events/cybersecurity-advisories/aa25-239a
- https://blog.talosintelligence.com/salt-typhoon-analysis/
finding:
title: WebUI authentication failure with local port 21111 from $src_ip$.
entity:
field: user
type: user
score: 50
intermediate_findings:
entities:
- field: dest
type: system
score: 50
message: WebUI authentication failure with local port 21111 from $src_ip$ on $dest$.
threat_objects:
- field: src_ip
type: ip_address
analytic_story:
- Salt Typhoon
asset_type: Network
mitre_attack_id:
- T1190
- T1078
product:
- Splunk Enterprise
- Splunk Enterprise Security
- Splunk Cloud
category: application
security_domain: network
Stages and Predicates
Stage 1: search
`cisco_ios`
facility="SEC_LOGIN"
mnemonic IN ("QUIET_MODE_ON", "LOGIN_SUCCESS", "LOGIN_FAILED")
message_text="*[localport: 21111]*"
Stage 2: rex
| rex field=_raw "\[user:\s*(?<user>[^\]]+)\]"
Stage 3: rex
| rex field=_raw "\[Source:\s*(?<src_ip>[^\]]+)\]"
Stage 4: rex
| rex field=_raw "\[localport:\s*(?<local_port>[^\]]+)\]"
Stage 5: rex
| rex field=_raw "\[Reason:\s*(?<reason>[^\]]+)\]"
Stage 6: rex
| rex field=_raw "\[ACL:\s*(?<acl>[^\]]+)\]"
Stage 7: eval
| eval dest=coalesce(host, dvc, dest, "unknown")
Stage 8: stats
| stats count min(_time) as firstTime
max(_time) as lastTime
values(local_port) as local_port
values(acl) as acl
by dest user src_ip reason
Stage 9: search
| `security_content_ctime(firstTime)`
Stage 10: search
| `security_content_ctime(lastTime)`
Stage 11: search
| `cisco_ios_xe_webui_login_from_iosd_local_port_filter`
Indicators
These rows show field, operator, and value matches.
| Field | Kind | Values | Search |
|---|---|---|---|
facility | eq |
| field:"facility" kind:eq |
message_text | eq |
| field:"message_text" kind:eq |
mnemonic | in |
| field:"mnemonic" kind:in |
sourcetype | eq |
| field:"sourcetype" kind:eq value:"cisco:ios" |