CC detecting-lateral-movement-with-splunk
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.
Detect adversary lateral movement across networks using Splunk SPL queries against Windows authentication logs, SMB traffic, and remote service…
As a process C 62/100 · Has gaps — weak spots: when it triggers, failures and branches, running it twice
How to improve
- Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
- A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.
Guard findings · 18
✓ No critical or high findings
Medium and low: 18
-
low Risky intent
intent-offensive-securityassets/template.md:1Offensive-security / dual-use content (legitimate for authorised testing; review intended use)# Lateral Movement Hunt Template
-
low Risky intent
intent-offensive-securityassets/template.md:23Offensive-security / dual-use content (legitimate for authorised testing; review intended use)## Lateral Movement Path Map
-
low Risky intent
intent-offensive-securityreferences/api-reference.md:1Offensive-security / dual-use content (legitimate for authorised testing; review intended use) (detector / deny-list definition)# API Reference: Detecting Lateral Movement with Splunk
detector -
low Risky intent
intent-offensive-securityreferences/api-reference.md:3Offensive-security / dual-use content (legitimate for authorised testing; review intended use)## Key Lateral Movement Techniques
-
low Risky intent
intent-offensive-securityreferences/standards.md:1Offensive-security / dual-use content (legitimate for authorised testing; review intended use)# Standards and References - Lateral Movement Detection with Splunk
-
low Risky intent
intent-offensive-securityreferences/standards.md:3Offensive-security / dual-use content (legitimate for authorised testing; review intended use)## MITRE ATT&CK Lateral Movement (TA0008)
-
low Risky intent
intent-offensive-securityreferences/standards.md:32Offensive-security / dual-use content (legitimate for authorised testing; review intended use)## Key Windows Event IDs for Lateral Movement
-
low Risky intent
intent-offensive-securityreferences/standards.md:58Offensive-security / dual-use content (legitimate for authorised testing; review intended use)| Protocol | Lateral Movement | Event Indicators |
-
low Risky intent
intent-offensive-securityreferences/workflows.md:1Offensive-security / dual-use content (legitimate for authorised testing; review intended use)# Detailed Hunting Workflow - Lateral Movement with Splunk
-
low Risky intent
intent-offensive-securityreferences/workflows.md:50Offensive-security / dual-use content (legitimate for authorised testing; review intended use)## Phase 3: Service-Based Lateral Movement
-
low Risky intent
intent-offensive-securityreferences/workflows.md:71Offensive-security / dual-use content (legitimate for authorised testing; review intended use)## Phase 4: WMI and DCOM Lateral Movement
-
low Risky intent
intent-offensive-securityreferences/workflows.md:80Offensive-security / dual-use content (legitimate for authorised testing; review intended use)### Step 4.2 - DCOM Lateral Movement
-
low Risky intent
intent-offensive-securityreferences/workflows.md:90Offensive-security / dual-use content (legitimate for authorised testing; review intended use)### Step 5.1 - Build Lateral Movement Graph
-
low Risky intent
intent-offensive-securitySKILL.md:3Offensive-security / dual-use content (legitimate for authorised testing; review intended use) (detector / deny-list definition)description: Detect adversary lateral movement across networks using Splunk SPL queries
detector -
low Risky intent
intent-offensive-securitySKILL.md:5Offensive-security / dual-use content (legitimate for authorised testing; review intended use)abuse. Use when hunting for MITRE ATT&CK TA0008 lateral movement activity or investigating
-
low Risky intent
intent-offensive-securitySKILL.md:39Offensive-security / dual-use content (legitimate for authorised testing; review intended use) (detector / deny-list definition)# Detecting Lateral Movement with Splunk
detector -
low Risky intent
intent-offensive-securitySKILL.md:47Offensive-security / dual-use content (legitimate for authorised testing; review intended use)- When proactively hunting for TA0008 (Lateral Movement) techniques
-
low Risky intent
intent-offensive-securitySKILL.md:59Offensive-security / dual-use content (legitimate for authorised testing; review intended use)1. **Define Lateral Movement Scope**: Identify which lateral movement techniques to hunt (RDP, SMB/Admin Shares, WinRM, PsExec, WMI, DCOM, SSH).
Files scanned: 8. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- note
frontmatter-keyunknown frontmatter key "domain" - note
frontmatter-keyunknown frontmatter key "subdomain" - note
frontmatter-keyunknown frontmatter key "d3fend_techniques" - note
frontmatter-keyunknown frontmatter key "nist_csf" - note
frontmatter-keyunknown frontmatter key "mitre_attack"
Process rating: all ten parameters 62/100
- 0Failures and branches. Linear process with no failure handling
- 20When it triggers. No condition that starts the skill
- 30Running it twice. 2 mutating operations with no state check
- 60Tools and files. Uses tools (bash) that frontmatter does not declare
- 60Result and completion. Output format stated, no completion criterion
- 70Inputs and preconditions. Inputs and preconditions are listed
- 100Steps. 22 steps
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 929 tokens
- 100Progress reporting. Reports progress
Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.
Quality signals
- +5Description has no quoted example phrases that should trigger the skill
- +4Description does not say when NOT to use the skill (false activations)
- -43 reference files, but SKILL.md never points to them: the model will not open them
- -32 of 2 scripts are never mentioned in SKILL.md
- +2Single-language instructions
- +3Description length 329: enough signal without eating the budget
- +4Structure: 8 headings
- +3Step-by-step instructions: 22 items
- +3Output format is stated explicitly
- +4Has examples (1 code blocks)
- +1License stated
Quality base 70; lint remarks subtract, signals add up to 100. Result: 78.