SuperAPI AI Directory

threat-hunting

Security & auditing

View repository

Updated 10-14 08:08

About this skill

Threat Hunting & Detection Engineering

ACTION REQUIRED (execute immediately after reading)

  1. NOW: Confirm blue team/hunting authorization and data source scope (SIEM, EDR export)
  2. NOW: Define the hypothesis before querying data, avoid mindlessly scrolling through alerts
  3. NEXT: Tools and data access methods
  4. ACT: Hypothesis → Query → Validation → Rule creation

Applicable scenarios

  • Threat hunting (hypothesis-driven)
  • Sigma / YARA detection engineering
  • Alert tuning, false positive analysis
  • With malware-analysis/: sample-side IOC → this skill implements detection
  • With digital-forensics/: case artifacts → lateral hunting

Workflow

1. Build hypothesis

例:攻击者用 living-off-the-land 做横向
→ 数据源:Sysmon 1/3/10、Windows Security 4624/4648
→ 成功标准:发现异常父进程或罕见账户日志源

2. Query and stack

□ 基线:正常管理员行为时段与主机
□ 异常:新服务、编码 PowerShell、异常出站
□ 关联:同账号多主机短时登录

3. Rule creation

# Sigma 骨架见 malware-analysis;本 skill 强调:
# - 误报面
# - 数据源字段映射
# - 响应 playbook 链接

4. Validation

□ 原子测试(Atomic Red Team)仅在授权实验室
□ 回放历史日志验证召回

Toolchain

Tool Purpose
Sigma CLI / sigmac Rule conversion
YARA File/Memory
SIEM (ELK/Splunk, etc.) Query
osquery Endpoint hunting
Atomic Red Team Detection validation (lab)

References

  • references/hunting-loop.md
  • ../malware-analysis/references/yara-sigma-rules.md
  • ../digital-forensics/

Routing context

Upstream: MASTER R27
Downstream: Confirm intrusion → forensics; malicious samples → malware-analysis
MUST NOT: Running attack simulations in an unauthorized production environment

Task completion self-check

  • Is there a clear hypothesis and conclusion?
  • Does the rule note false positives and data sources?
  • Checklist?