跳到正文
Skillpedia
分析与电子表格35k · #7955

hunting-for-dcsync-attacks

它能做什么

这个工具用于查找窃取网络管理员密码的企图。它会分析特定的 Windows 事件日志,识别可能说明有人正在试图从系统中提取安全信息的可疑活动。

适用场景

  • ✓当你怀疑有人在试图窃取管理员密码时。
  • ✓当你发现 Mimikatz 等可以窃取密码的工具时。
  • ✓在安全调查或测试中,检查网络能否抵御此类攻击。

技能链接

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-dcsync-attacks/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-dcsync-attacks/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“帮我查找是否有窃取管理员密码的活动。”

每周 5 个新技能,1 分钟读完。

工作原理

该工具会检查记录有人试图访问重要数据的 Windows 事件日志(ID 4662)。它会查找用于复制安全信息的特定请求,但只关注那些来自本不该执行此操作的电脑发出的请求。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Hunting for DCSync Attacks

When to Use

  • When hunting for DCSync credential theft (MITRE ATT&CK T1003.006)
  • After detecting Mimikatz or similar tools in the environment
  • During incident response involving Active Directory compromise
  • When monitoring for unauthorized domain replication requests
  • During purple team exercises testing AD attack detection

Prerequisites

  • Windows Security Event Log forwarding enabled (Event ID 4662)
  • Audit Directory Service Access enabled via Group Policy
  • Domain Computers SACL configured on Domain Object for machine account detection
  • SIEM with Windows event data ingested (Splunk, Elastic, Sentinel)
  • Knowledge of legitimate domain controller accounts and replication partners

Workflow

  1. Enable Auditing: Ensure Audit Directory Service Access is enabled on domain controllers.
  2. Collect Events: Gather Windows Event ID 4662 with AccessMask 0x100 (Control Access).
  3. Filter Replication GUIDs: Search for DS-Replication-Get-Changes and DS-Replication-Get-Changes-All.
  4. Identify Non-DC Sources: Flag events where SubjectUserName is not a domain controller machine account.
  5. Correlate with Network: Cross-reference source IPs against known DC addresses.
  6. Validate Findings: Exclude legitimate replication tools (Azure AD Connect, SCCM).
  7. Respond: Disable compromised accounts, reset krbtgt, investigate lateral movement.

Key Concepts

Concept Description
DCSync Technique abusing AD replication protocol to extract password hashes
Event ID 4662 Directory Service Access audit event
DS-Replication-Get-Changes GUID 1131f6aa-9c07-11d1-f79f-00c04fc2dcd2
DS-Replication-Get-Changes-All GUID 1131f6ad-9c07-11d1-f79f-00c04fc2dcd2
AccessMask 0x100 Control Access right indicating extended rights verification
T1003.006 OS Credential Dumping: DCSync

Tools & Systems

Tool Purpose
Windows Event Viewer Direct event log analysis
Splunk SIEM correlation of Event 4662
Elastic Security Detection rules for DCSync patterns
Mimikatz lsadump::dcsync Attack tool used to perform DCSync
Impacket secretsdump.py Python-based DCSync implementation
BloodHound Identify accounts with replication rights

Output Format

Hunt ID: TH-DCSYNC-[DATE]-[SEQ]
Technique: T1003.006
Domain Controller: [DC hostname]
Subject Account: [Account performing replication]
Source IP: [Non-DC IP address]
GUID Accessed: [Replication GUID]
Risk Level: [Critical/High/Medium/Low]
Recommended Action: [Disable account, reset krbtgt, investigate]
常见问题

什么是 DCSync?

DCSync 是一种滥用 Active Directory 复制协议来提取用户和管理员密码哈希的技术。

什么是事件 ID 4662 日志?

这是 Windows 日志,用于记录对目录服务对象(如 Active Directory)的访问行为。

为什么要识别非域控制器的账户?

因为只有域控制器才应被允许执行某些复制操作。如果其他账户尝试这样做,很可能是在尝试窃取凭据。

详情

作者的原始描述

Detect DCSync attacks (MITRE ATT&CK T1003.006) by analyzing Windows Event ID 4662 (AccessMask 0x100) for DS-Replication-Get-Changes and DS-Replication-Get-Changes-All requests issued by non-domain-controller accounts. Use when hunting for DCSync credential theft, after detecting Mimikatz-class tooling, or during incident response and purple-team exercises involving Active Directory replication abu

repo: mukul975/Anthropic-Cybersecurity-Skills

热度

GitHub 星标
35k
排名
#7955
许可证
Apache-2.0
更新时间
2026/8/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能