重要提示:本站仅作 Skill 资源导航与收录,正文以 GitHub 原仓库为准,版权归原项目所有。
以下为摘要预览,完整内容请查看 GitHub 原文。
Detecting Kerberoasting Attacks
When to Use
- When proactively hunting for indicators of detecting kerberoasting attacks in the environment
- After threat intelligence indicates active campaigns using these techniques
- During incident response to scope compromise related to these techniques
- When EDR or SIEM alerts trigger on related indicators
- During periodic security assessments and purple team exercises
Prerequisites
- EDR platform with process and network telemetry (CrowdStrike, MDE, SentinelOne)
- SIEM with relevant log data ingested (Splunk, Elastic, Sentinel)
- Sysmon deployed with comprehensive configuration
- Windows Security Event Log forwarding enabled
- Threat intelligence feeds for IOC correlation
Workflow
- Formulate Hypothesis: Define a testable hypothesis based on threat intelligence or ATT&CK gap analysis.
- Identify Data Sources: Determine which logs and telemetry are needed to validate or refute the hypothesis.
- Execute Queries: Run detection queries against SIEM and EDR platforms to collect relevant events.
- Analyze Results: Examine query results for anomalies, correlating across multiple data sources.
- **Validate Fin…
以下为摘要预览,完整内容请查看 GitHub 原文。
检测 Kerberoasting 攻击
使用时机
- 在环境中主动搜寻检测 Kerberoasting 攻击的指标时
- 在威胁情报显示存在使用这些技术的活跃攻击活动之后
- 在事件响应期间,确定与这些技术相关的入侵影响范围时
- 当 EDR 或 SIEM 针对相关指标触发告警时
- 在定期安全评估和紫队演练期间
前置条件
- 具备进程和网络遥测能力的 EDR 平台(CrowdStrike、MDE、SentinelOne)
- 已接入相关日志数据的 SIEM(Splunk、Elastic、Sentinel)
- 已部署具备完善配置的 Sysmon
- 启用 Windows 安全事件日志转发
- 用于 IOC 关联的威胁情报源
工作流
- 形成假设:根据威胁情报或 ATT&CK 差距分析定义可验证的假设。
- 识别数据源:确定验证或反驳假设所需的日志和遥测数据。
- 执行查询:针对 SIEM 和 EDR 平台运行检测查询以收集相关事件。
- 分析结果:检查查询结果中的异常,并跨多个数据源进行关联。
- 验证发现:通过上下文分析区分真实阳性与误报。
- 关联活动:将发现与更广泛的攻击链和威胁行为者 TTP 关联起来。
- 记录与报告:记录发现内容,更新检测规则,并建议响应措施。
核心概念
| 概念 | 描述 |
|---|
| T1558.003 | Kerberoasting |
| T1558.004 | AS-REP Roasting |
| T1558.001 | Golden Ticket |
工具与系统
| 工具 | 用途 |
|---|
| CrowdStrike Falcon | EDR 遥测与威胁检测 |
| Microsoft Defender for Endpoint | 使用 KQL 进行高级搜寻 |
| Splunk Enterprise | 使用 SPL 查询进行 SIEM 日志分析 |
| Elastic Security | 检测规则与调查时间线 |
| Sysmon | 详细的 Windows 事件监控 |
| Velociraptor | 终端侧取证收集与威胁搜寻 |
| Sigma Rules | 跨平台检测规则格式 |
常见场景
- 场景 1:Rubeus kerberoast 针对所有 SPN 账户
- 场景 2:来自 Impacket 的 GetUserSPNs.py 请求 RC4 票据
- 场景 3:针对高权限服务账户的定向 Kerberoast
- 场景 4:对未启用预身份验证的…