Back to library
Defensive Intermediate Free

Find repeated authentication failures by source and user.

Find repeated authentication failures by source and user.

Splunk / Threat Hunting

Log in to save

Command

index=security sourcetype=auth action=failure | stats count by src_ip user | sort -count

Syntax

index=security sourcetype=auth action=failure | stats count by src_ip user | sort -count

Use case

Use during authorized defensive operations, lab simulations, or audit preparation to understand expected telemetry and command structure.

Explanation

Find repeated authentication failures by source and user. This reference is stored in the database and rendered dynamically for safe education, audit, and simulation workflows.

Example output

SIMULATED OUTPUT
status=ok
records=12
note="Database seeded command reference."

More examples

Expanded library example

index=security sourcetype=auth action=failure | stats count by src_ip user | sort -count

Find repeated authentication failures by source and user.

web splunk threat-hunting expanded-library

Related

Defensive Advanced Premium

Capture and display HTTP/HTTPS metadata from a specific host in real-time

Capture and display HTTP/HTTPS metadata from a specific host in real-time

tcpdump -i any -A -n "host 192.168.1.100 and (port 80 or port 443)" 2>/dev/null | grep -E "(GET|POST|Host:|User-Agent:)"
tcpdump http threat-hunting c2 detection
Tcpdump / Threat Hunting Open
Defensive Intermediate Free

Baseline Windows process creation pairs.

Baseline Windows process creation pairs.

index=windows EventCode=4688 | stats count by New_Process_Name Parent_Process_Name | sort -count
splunk threat-hunting expanded-library
Splunk / Threat Hunting Open
Defensive Intermediate Free

Hunt for suspicious DNS queries to abused file extensions.

Hunt for suspicious DNS queries to abused file extensions.

index=dns query="*.zip" OR query="*.mov" | stats count by src_ip query
splunk threat-hunting expanded-library
Splunk / Threat Hunting Open