analyze-content-gaps
Identify content gaps and organizational opportunities. Analyzes missing content areas, redundancies, and consolidation…
Hunt for lateral movement using PsExec, WMI, or similar techniques. Use when proactively searching for attackers moving through your network using admin tools. Searches for service installations, remote process execution, and suspicious network correlations.
$ npx -y skills add dandye/ai-runbooks --skill hunt-lateral-movement --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/hunt-lateral-movementContext preview
The summary Claude sees to decide when to auto-load this skill.
Hunt for lateral movement using PsExec, WMI, or similar techniques. Use when proactively searching for attackers moving through your network using admin tools. Searches for service installations, remote process execution, and suspicious network correlations.
type: Skill name: hunt-lateral-movement description: "Hunt for lateral movement using PsExec, WMI, or similar techniques. Use when proactively searching for attackers moving through your network using admin tools. Searches for service installations, remote process execution, and suspicious network correlations." required_roles: chronicle: roles/chronicle.editor gti: GTI Standard personas: [threat-hunter] generated: by: human:dandye at: 2026-02-04T06:10:49-05:00
Proactively hunt for signs of lateral movement using common administrative tools like PsExec or WMI abuse.
secops-mcp.get_threat_intel(query="MITRE T1021.002 SMB Admin Shares") secops-mcp.get_threat_intel(query="MITRE T1047 WMI") secops-mcp.get_threat_intel(query="MITRE T1570 Lateral Tool Transfer")
The queries below use placeholders that must be customized for your environment:
| Placeholder | Type | Description | |-------------|------|-------------| | `known_services` | Reference List | Legitimate services spawned by services.exe. Define this list in Chronicle and populate with your environment baseline. | | `TARGET_IP` | IP Address | Replace with the target system IP from your investigation context. | | `SOURCE_IP` | IP Address | Replace with the source system IP from your investigation context. |
**PsExec Service Installation:**
metadata.product_event_type = "ServiceInstalled" AND target.process.file.full_path CONTAINS "PSEXESVC.exe"
**PsExec Execution (services.exe spawning unusual processes):**
metadata.event_type = "PROCESS_LAUNCH" AND principal.process.file.full_path = "C:\\Windows\\System32\\services.exe" AND target.process.file.full_path NOT IN @known_services // Replace with your Chronicle reference list
**WMI Process Creation:**
metadata.event_type = "PROCESS_LAUNCH" AND
principal.process.file.full_path = "C:\\Windows\\System32\\wbem\\WmiPrvSE.exe" AND
target.process.file.full_path IN ("cmd.exe", "powershell.exe")**WMI Remote Execution:**
metadata.event_type = "PROCESS_LAUNCH" AND principal.process.command_line CONTAINS "wmic" AND principal.process.command_line CONTAINS "/node:" AND principal.process.command_line CONTAINS "process call create"
**PowerShell WMI Methods:**
metadata.event_type = "PROCESS_LAUNCH" AND target.process.file.full_path CONTAINS "powershell.exe" AND (target.process.command_line CONTAINS "Invoke-WmiMethod" OR target.process.command_line CONTAINS "Invoke-CimMethod")
Combine with `TARGET_SCOPE_QUERY` if provided.
secops-mcp.search_security_events(text=query, hours_back=TIME_FRAME_HOURS)
Run each developed query.
If suspicious process activity found, correlate with network:
metadata.event_type = "NETWORK_CONNECTION" AND target.port = 445 AND target.ip = "TARGET_IP" AND // Replace with actual target IP from findings principal.ip = "SOURCE_IP" // Replace with actual source IP from findings
Look for SMB connections temporally correlated with remote execution.
Look for anomalous patterns:
If suspicious activity found:
For each suspicious entity (host, user):
secops-mcp.lookup_entity(entity_value=ENTITY)
For any discovered IOCs: Use `/enrich-ioc`
Use `/find-relevant-case` with suspicious entities.
Use `/document-in-case`:
**If lateral movement confirmed:** → Trigger `case_event_timeline_and_process_analysis` for affected processes → Trigger `compromised_user_account_response` for involved users → Escalate to incident response
**After completing this skill, you MUST report these outputs:**
| Output | Description | |--------|-------------| | `FINDINGS` | Detected lateral movement activity (events, processes, connections) | | `DETECTED_TECHNIQUES` | MITRE techniques observed (e.g., T1021.002, T1047) | | `AFFECTED_HOSTS` | Hosts involved in lateral movement (source and target systems) |
| Technique | Indicator | Query Focus | |-----------|-----------|-------------| | PsExec | PSEXESVC.exe service | Service installation events | | PsExec | services.exe spawning | Process parent-child | | WMI | WmiPrvSE.exe spawning | Process parent-child | | WMI | wmic /node: | Command line | | General | SMB port 445 | Network connections |
This repository provides security operations runbooks and role-based guides for AI-assisted cybersecurity workflows.
Identify content gaps and organizational opportunities. Analyzes missing content areas, redundancies, and consolidation…
Comprehensive content quality and maintenance assessment. Evaluates documentation quality, relevance, maintenance needs, and…
Check for duplicate or similar cases. Use before deep analysis to avoid investigating the same incident twice. Takes a CASE_ID…
Close a case or alert with proper reason and documentation. Use when triage determines an alert is FP/BTP or investigation is…
Automated content similarity and grouping analysis. Groups related documents by topic, purpose, or content similarity.
Ask the user to confirm before taking a significant action. Use before containment, remediation, or other impactful operations to…