Back to library
Defensive Intermediate Free

Identify users authenticating from multiple source locations.

Identify users authenticating from multiple source locations.

Splunk / Threat Hunting

Log in to save

Command

index=vpn action=success | stats dc(src_ip) as locations by user | where locations > 2

Syntax

index=vpn action=success | stats dc(src_ip) as locations by user | where locations > 2

Use case

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

Explanation

Identify users authenticating from multiple source locations. 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=vpn action=success | stats dc(src_ip) as locations by user | where locations > 2

Identify users authenticating from multiple source locations.

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

Find repeated authentication failures by source and user.

Find repeated authentication failures by source and user.

index=security sourcetype=auth action=failure | stats count by src_ip user | sort -count
splunk threat-hunting expanded-library
Splunk / 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