Detect adversary lateral movement across networks using Splunk SPL queries against Windows authentication logs, SMB traffic, and remote service (WMI/PsExec/RDP) abuse. Use when hunting for MITRE ATT&C
Imported from mukul975/anthropic-cybersecurity-skills (skills/detecting-lateral-movement-with-splunk/SKILL.md). Install upstream with npx skills add mukul975/anthropic-cybersecurity-skills --skill detecting-lateral-movement-with-splunk. Copyright stays with the author (Apache-2.0).
Detecting Lateral Movement with Splunk
When to Use
When hunting for adversary movement between compromised systems
After detecting credential theft to trace subsequent lateral activity
When investigating unusual authentication patterns across the network
During incident response to scope the breadth of compromise
When proactively hunting for TA0008 (Lateral Movement) techniques
Prerequisites
Splunk Enterprise or Splunk Cloud with Windows event data ingested
Detect First-Time Relationships: Identify new source-destination pairs that have not been seen in the historical baseline.
Correlate with Process Activity: Link authentication events to subsequent process creation on destination hosts.
Identify Anomalous Patterns: Flag lateral movement to sensitive servers, unusual hours, service account misuse, or rapid multi-host access.
Report and Contain: Document lateral movement path, affected systems, and coordinate containment response.
Key Concepts
Concept
Description
T1021
Remote Services (parent technique)
T1021.001
Remote Desktop Protocol (RDP)
T1021.002
SMB/Windows Admin Shares
T1021.003
Distributed COM (DCOM)
T1021.004
SSH
T1021.006
Windows Remote Management (WinRM)
T1570
Lateral Tool Transfer
T1047
Windows Management Instrumentation
T1569.002
Service Execution (PsExec)
Logon Type 3
Network logon (SMB, WinRM, mapped drives)
Logon Type 10
Remote Interactive (RDP)
Event ID 4624
Successful logon
Event ID 4648
Explicit credential logon (runas, PsExec)
Tools & Systems
Tool
Purpose
Splunk Enterprise
SIEM for log aggregation and SPL queries
Splunk Enterprise Security
Threat detection and notable events
Windows Event Forwarding
Centralize Windows logs
Sysmon
Detailed process and network telemetry
BloodHound
AD attack path analysis
PingCastle
AD security assessment
Common Scenarios
PsExec Lateral Movement: Adversary uses PsExec to execute commands on remote systems via SMB, generating Type 3 logon with ADMIN$ share access.
RDP Pivoting: Attacker RDPs to internal systems using stolen credentials, creating Type 10 logon events.
WMI Remote Execution: Adversary uses WMIC process call create to spawn processes on remote hosts.
WinRM PowerShell Remoting: Attacker uses Enter-PSSession or Invoke-Command to execute code on remote systems.
Pass-the-Hash via SMB: Compromised NTLM hashes used to authenticate to remote systems without knowing the plaintext password.
Output Format
Hunt ID: TH-LATMOV-[DATE]-[SEQ]
Movement Type: [RDP/SMB/WinRM/WMI/DCOM/PsExec]
Source Host: [Hostname/IP]
Destination Host: [Hostname/IP]
Account Used: [Username]
Logon Type: [3/10/other]
First Seen: [Timestamp]
Event Count: [Number of events]
Risk Level: [Critical/High/Medium/Low]
Lateral Movement Path: [A -> B -> C -> D]
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
yaml
targets:
- https://api.opensmartroute.ai/api/v1/registry/mukul975-anthropic-cybersecurity-skills-detecting-latera-2df589/manifest # or paste the manifest below
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.
{
"ocm": "1",
"id": "mukul975-anthropic-cybersecurity-skills-detecting-latera-2df589",
"kind": "skill",
"name": "detecting-lateral-movement-with-splunk",
"description": "Detect adversary lateral movement across networks using Splunk SPL queries against Windows authentication logs, SMB traffic, and remote service (WMI/PsExec/RDP) abuse. Use when hunting for MITRE ATT&CK TA0008 lateral movement activity or investigating suspected pivoting between hosts during an incident, with Splunk as the SIEM.",
"publisher": "mukul975",
"version": "1.0.0",
"capabilities": {
"domains": [
"general"
],
"tags": [
"skill-md",
"threat-hunting",
"mitre-attack",
"lateral-movement",
"splunk",
"siem",
"proactive-detection",
"ta0008",
"skills-sh"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Detect adversary lateral movement across networks using Splunk SPL queries against Windows authentication logs, SMB traffic, and remote service (WMI/PsExec/RDP) abuse. Use when hunting for MITRE ATT&CK TA0008 lateral movement activity or investigating suspected pivoting between hosts during an incident, with Splunk as the SIEM."
],
"primary": false,
"metadata": {
"source": {
"provider": "skills.sh",
"repository": "https://github.com/mukul975/anthropic-cybersecurity-skills",
"path": "skills/detecting-lateral-movement-with-splunk/SKILL.md",
"ref": "HEAD",
"url": "https://github.com/mukul975/anthropic-cybersecurity-skills/blob/HEAD/skills/detecting-lateral-movement-with-splunk/SKILL.md",
"key": "mukul975/anthropic-cybersecurity-skills/skills/detecting-lateral-movement-with-splunk/SKILL.md"
},
"license": "Apache-2.0"
},
"instructions": "# Detecting Lateral Movement with Splunk\n\n## When to Use\n\n- When hunting for adversary movement between compromised systems\n- After detecting credential theft to trace subsequent lateral activity\n- When investigating unusual authentication patterns across the network\n- During incident response to scope the breadth of compromise\n- When proactively hunting for TA0008 (Lateral Movement) techniques\n\n## Prerequisites\n\n- Splunk Enterprise or Splunk Cloud with Windows event data ingested\n- Windows Security Event Logs forwarded (4624, 4625, 4648, 4672, 4768, 4769)\n- Sysmon deployed for process creatio",
"cost": {
"context_tokens": 927
}
}
Fetch it by URL: GET /api/v1/registry/mukul975-anthropic-cybersecurity-skills-detecting-latera-2df589/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.