使用 IR Playbook 分诊安全事件
何时使用
- 接收到来自 SIEM、EDR 或其他检测源的新的安全告警
- SOC 分析师需要确定告警是否为需要响应的真实阳性
- 事件需要进行严重性分类和团队分配
- 多个并发事件需要优先级排序
- 自动化分诊规则需要验证或调优
先决条件
- 具有告警关联功能的 SIEM 平台(Splunk、Elastic、QRadar、Sentinel)
- 事件响应 playbook 库(按事件类型分类)
- 经 CISO 批准的严重性分类矩阵
- 值班轮换和升级流程
- 用于事件跟踪的工单系统(ServiceNow、Jira、TheHive)
- 用于 IOC 富集的情报源
工作流程
步骤 1:接收并确认告警
# 查询 Splunk 中新的 critical/high 严重性告警
index=notable status=new severity IN ("critical","high")
| table _time, rule_name, src, dest, severity, description
| sort -_time
# 查询 TheHive 中的新案件
curl -s -H "Authorization: Bearer $THEHIVE_API_KEY" \
"https://thehive.local/api/v1/query?name=list-alerts" \
-H "Content-Type: application/json" \
-d '{"query":[{"_name":"listAlert"},{"_name":"filter","_field":"status","_value":"New"}]}'
# 在 SIEM 中确认告警以防止重复分诊
curl -X POST "https://splunk.local:8089/services/notable_update" \
-H "Authorization: Bearer $SPLUNK_TOKEN" \
-d "ruleUIDs=$RULE_UID&status=1&comment=Triage+initiated+by+analyst"
步骤 2:丰富告警数据
# 使用 VirusTotal 丰富源 IP 信息
curl -s "https://www.virustotal.com/api/v3/ip_addresses/$SRC_IP" \
-H "x-apikey: $VT_API_KEY" | jq '.data.attributes.last_analysis_stats'
# 使用 AbuseIPD…