skills/threat-hunter/SKILL.md
Use this skill when you need proactive threat hunting campaigns, MITRE ATT&CK-based hunt hypotheses, IOC sweeps, behavioral anomaly investigation, threat intelligence integration, adversary emulation planning, SOC analyst triage support, SIEM query development (KQL/SPL/YARA), or automated threat detection engineering. Trigger for threat hunting sprints, new threat intel indicators, or post-incident proactive sweeps.
npx skillsauth add aviskaar/open-org threat-hunterInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The Threat Hunter conducts proactive, hypothesis-driven hunts across all log sources to detect adversaries who have evaded automated detection. This skill applies ATT&CK frameworks, threat intelligence, and behavioral analytics to find threats before they cause damage.
Hypothesis sources (priority order):
Hypothesis format:
Hunt ID: HUNT-[YYYY]-[NNN]
Date: [Date]
Analyst: [Name]
Hypothesis: "If [threat actor/technique] is present, we would see [observable]
in [data source] because [rationale]."
ATT&CK Map: [Tactic / Technique / Sub-technique]
Data Sources: [Log type, SIEM index/table]
Priority: Critical / High / Medium
Status: Active / Completed / Escalated
// Phishing: Suspicious email attachments with Office macro execution
DeviceFileEvents
| where FileName endswith ".xlsm" or FileName endswith ".docm"
| join DeviceProcessEvents on DeviceId
| where InitiatingProcessParentFileName has_any ("WINWORD.EXE","EXCEL.EXE")
and FileName in~ ("cmd.exe","powershell.exe","wscript.exe","cscript.exe")
| project Timestamp, DeviceName, FileName, ProcessCommandLine
// Drive-by: Browser spawning unexpected child processes
DeviceProcessEvents
| where InitiatingProcessFileName has_any ("chrome.exe","firefox.exe","msedge.exe")
and FileName in~ ("cmd.exe","powershell.exe","mshta.exe","wscript.exe")
| where not(ProcessCommandLine has_any ("--type=","extension","update"))
// Registry Run key modifications (T1547.001)
DeviceRegistryEvents
| where RegistryKey has_any ("\\Run","\\RunOnce","\\RunServices")
and ActionType == "RegistryValueSet"
and InitiatingProcessFileName !in~ ("msiexec.exe","setup.exe","install.exe")
| summarize count() by RegistryValueData, InitiatingProcessFileName, DeviceName
// Scheduled task creation with suspicious commands (T1053.005)
DeviceProcessEvents
| where FileName == "schtasks.exe"
and ProcessCommandLine has_any ("powershell","cmd /c","wscript","mshta","regsvr32")
| project Timestamp, DeviceName, ProcessCommandLine, InitiatingProcessFileName
// LSASS memory access (T1003.001)
DeviceEvents
| where ActionType == "CreateRemoteThreadApiCall"
and InitiatingProcessFileName !in~ ("MsSense.exe","csrss.exe","werfault.exe")
and FileName == "lsass.exe"
// Kerberoasting: Large volume of TGS requests (T1558.003)
SecurityEvent
| where EventID == 4769 and TicketEncryptionType == "0x17"
| summarize count() by Account, ServiceName, bin(TimeGenerated, 5m)
| where count_ > 10
// Pass-the-Hash / Pass-the-Ticket indicators (T1550)
SecurityEvent
| where EventID == 4624 and LogonType == 3 and AuthenticationPackageName == "NTLM"
and WorkstationName != TargetDomainName
and TargetUserName !endswith "$"
| summarize count() by TargetUserName, IpAddress, bin(TimeGenerated, 1h)
| where count_ > 5
// Unusual WMI lateral movement (T1021.006)
DeviceProcessEvents
| where InitiatingProcessFileName == "wmiprvse.exe"
and FileName in~ ("cmd.exe","powershell.exe","net.exe","whoami.exe")
| project Timestamp, DeviceName, ProcessCommandLine
// Unusual outbound data volume (T1048)
DeviceNetworkEvents
| where ActionType == "ConnectionSuccess" and Direction == "Outbound"
and RemoteIPType == "Public"
| summarize TotalBytes = sum(SentBytes) by RemoteIP, DeviceName, bin(Timestamp, 1h)
| where TotalBytes > 100000000 // >100MB in 1 hour
| join (ThreatIntelligenceIndicator | where ThreatType == "ip") on $left.RemoteIP == $right.NetworkIP
// DNS exfiltration: Abnormally long DNS queries (T1048.003)
DnsEvents
| where QueryType == "A" and strlen(Name) > 100
| extend DomainParts = split(Name, ".")
| where array_length(DomainParts) > 5
Weekly IOC sweep process:
1. Pull latest IOC feeds:
- CISA Alerts and IOC lists
- FS-ISAC / H-ISAC TLP:WHITE/GREEN indicators
- Commercial threat intel (Recorded Future, CrowdStrike, Mandiant)
- MISP community feeds
2. IOC categories to sweep:
- IP addresses (firewall/proxy logs, 90 days)
- Domain names (DNS logs, proxy logs, 90 days)
- File hashes (MD5/SHA256 — endpoint EDR telemetry, 90 days)
- URLs (web proxy, email gateway logs)
- Email sender domains/addresses (email security logs)
- Certificate hashes (network SSL inspection logs)
- YARA rules (endpoint file system scans)
3. Positive match actions:
- Immediate: isolate affected endpoint
- Notify: security-operations → incident-responder
- Document: create incident ticket with IOC match details
- Threat intel: report new IOC if not in feeds (contribute back)
Quarterly purple team exercise structure:
Week 1: Planning
- Select 3–5 ATT&CK techniques based on recent threat intel
- Map to relevant log sources and detection rules
- Brief SOC team on exercise (NOT the specific techniques)
- Define success criteria: detection rate, alert time, response time
Week 2: Execution
- Red team executes techniques in production (agreed scope)
- Blue team monitors and responds normally (no foreknowledge)
- Log all actions (timestamp, technique, tool used, target system)
Week 3: Analysis
- Review: detected vs. undetected techniques
- Gap analysis: missing log sources? Tuning needed? Coverage gaps?
- Document detection improvements needed
Week 4: Remediation
- Implement new detection rules for missed techniques
- Tune existing rules to reduce false negatives
- Update hunt hypotheses backlog
- Report to CISO: detection coverage improvement
TI consumption pipeline:
Sources → Normalization → Enrichment → Action
Sources:
- STIX/TAXII feeds (automated ingestion into SIEM/SOAR)
- ISAC sharing (sector-specific, TLP-controlled)
- Commercial platforms (API integration)
- OSINT (manual curation, analyst-curated)
Normalization:
- Deduplicate across feeds
- Apply confidence scoring (high/medium/low)
- Assign TLP classification (RED/AMBER/GREEN/WHITE)
- Tag with relevant ATT&CK techniques
Action Thresholds:
- High confidence IOC: auto-block in firewall/EDR + alert
- Medium confidence: alert only + investigate within 24h
- Low confidence: watchlist; alert on additional corroboration
- Expired IOC (>90 days old for IPs, >365 days for domains): archive
Hunt report format:
Hunt ID: [HUNT-YYYY-NNN]
Hypothesis: [Statement]
Duration: [Start – End]
Data Searched: [Sources, time range, record count]
Findings: [Confirmed / Suspected / No findings]
ATT&CK Coverage: [Techniques hunted]
True Positives: [N incidents identified]
False Positives: [N benign anomalies reviewed]
New Rules: [Detection rules created from hunt]
Improvements: [Log gaps identified, tuning recommendations]
Monthly threat hunting KPIs: | Metric | Target | |---|---| | Hunts completed per month | ≥8 (2 per week) | | Techniques covered (ATT&CK) | ≥80% of critical techniques annually | | True positives found via hunting | Track (any finding = success) | | New detection rules from hunts | ≥4 per month | | IOC sweep coverage | 100% of latest feed within 48h | | Mean dwell time (hunted threats) | <72h post-detection |
documentation
Replace with a description of the skill and when the agent should use it. Write this as a trigger condition: 'Use this skill when...'
development
Use this skill when a marketing team needs to produce a credibility-building whitepaper by collaborating with engineering, product, sales, and C-level teams. Covers topic selection, stakeholder interviews, research synthesis, writing, design briefing, gated landing page setup, and distribution to investors, enterprise buyers, and industry analysts.
testing
Use this skill when a VP Tax, Tax Manager, Controller, or Finance Director needs to manage all tax obligations of a company — including corporate income tax, GST/VAT/Sales Tax, payroll taxes, transfer pricing, R&D tax credits, and multi-jurisdictional tax compliance. Trigger when computing tax provisions, preparing tax filings, responding to tax authority notices, evaluating tax implications of business decisions (new geographies, M&A, restructuring), managing indirect taxes on invoices, or producing the tax compliance calendar with all deadlines for the CFO and board.
development
Use this skill when a Chief Partnership Officer, VP of Strategic Alliances, or Head of Business Development needs to build, manage, and scale a full partnership ecosystem — including Big 4 consulting firms (Deloitte, PwC, EY, KPMG), global systems integrators (Accenture, Cognizant, Infosys, TCS), boutique consultancies, and product/ISV firms. Covers the full partnership lifecycle: strategy and market mapping, partner recruitment and pitch, negotiation and legal documentation, partner enablement and training, joint go-to-market (co-sell, implementation, and joint ventures), alliance marketing and thought leadership, partner sales operations and calendar coordination, and partner billing, pricing, and finance. This is the top-level strategic partnerships orchestrator.