acl-abuse
Abusing Active Directory object ACLs (DACL/ownership) for privilege escalation and lateral movement (GenericAll, GenericWrite,…
The telemetry each Active Directory technique generates and what alerts a defender: Kerberoasting produces Event 4769 with RC4 encryption (0x17) and an MDI alert, DCSync produces Event 4662 with the DS-Replication-Get-Changes GUID, AS-REP roasting produces Event 4768 with no
$ npx -y skills add ADScanPro/Claude-AD --skill ad-opsec-telemetry --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/ad-opsec-telemetryContext preview
The summary Claude sees to decide when to auto-load this skill.
The telemetry each Active Directory technique generates and what alerts a defender: Kerberoasting produces Event 4769 with RC4 encryption (0x17) and an MDI alert, DCSync produces Event 4662 with the DS-Replication-Get-Changes GUID, AS-REP roasting produces Event 4768 with no
name: ad-opsec-telemetry description: > The telemetry each Active Directory technique generates and what alerts a defender: Kerberoasting produces Event 4769 with RC4 encryption (0x17) and an MDI alert, DCSync produces Event 4662 with the DS-Replication-Get-Changes GUID, AS-REP roasting produces Event 4768 with no pre-auth, LSASS dumping is blocked by EDR, plus a lateral-movement telemetry table by protocol (SMB/WMI/WinRM/RDP/DCOM). Use this whenever you run or plan an offensive AD technique and need to know what noise it makes, when writing the engagement's detection notes, or when a defender wants to know what to monitor. Teaches red teamers what is loud and blue teamers what to watch. Standard-tooling knowledge, no vendor engine.
Every technique leaves a trace. The goal here is not evasion. It is knowing the noise profile of each action so you can document it for the client before the engagement, pick the quieter of two functionally equivalent techniques, and correlate what you did with what their SOC saw. For a defender, read the same tables backwards: they are the events to monitor and alert on.
Two rules of engagement throughout:
event ID and the source IP, so they can find it in their logs.
need explicit client sign-off or an end-of-engagement window when detection no longer matters.
Microsoft Defender for Identity (MDI) is the sensor that matters most in AD; it reads DC traffic directly and ships tuned detections for most of what follows.
---
Requesting service tickets for accounts with SPNs, to crack offline.
is `Ticket Encryption Type = 0x17 (RC4-HMAC)`. Attackers request RC4 because the resulting hash cracks fastest, but a service that normally uses AES suddenly requested with RC4 is the classic signature.
RC4 pattern.
quieter than roasting the whole domain.
GetUserSPNs.py corp.local/user:pass -dc-ip <dc_ip> -request -outputfile roast.txt
requesting many distinct SPN tickets in a short window.
accounts; monitor 4769 by encryption type.
---
Cracking accounts that have Kerberos pre-authentication disabled, no valid credential needed to request the roastable material.
pre-authenticate; a 4768 with no pre-auth is the signature.
GetNPUsers.py corp.local/ -usersfile users.txt -dc-ip <dc_ip> -no-pass -format hashcat
accounts that genuinely need it; alert on the flag being set.
---
Replicating credentials out of the DC using directory-replication rights. High severity, never transparent, so coordinate before running.
in any competent SOC.
non-DC requesting replication) is itself the detection.
secretsdump.py corp.local/user:pass@dc01.corp.local -just-dc-user krbtgt
replication requests sourced from non-DC IPs.
replication from non-DC sources; tier-0 isolation.
---
Dumping process memory of `lsass.exe` to extract credentials.
intercepts `MiniDumpWriteDump` against lsass. The result is a blocked/empty dump, a crashed process, or an immediate alert naming your tool.
**Alternatives that avoid touching lsass live:**
# Registry-hive route: avoids a live lsass handle secretsdump.py -sam sam.save -system system.save LOCAL
memory-access alerts.
blocking mode.
---
attributes, plus queries for `msDS-AllowedToDelegateTo`, delegation and ACL attributes in bulk. -
Active Directory pentest methodology for Claude Code. Skills, agents and commands that give Claude the playbook for an internal Active Directory assessment: the phase order, the environment constraints that break your tooling, the telemetry each technique
Abusing Active Directory object ACLs (DACL/ownership) for privilege escalation and lateral movement (GenericAll, GenericWrite,…
Real-world Active Directory environment constraints that silently break attacks when ignored: NTLM disabled (Kerberos fallback),…
The order of operations for an Active Directory penetration test: setup, collection, exploitation, post-processing. Use this…
Active Directory Certificate Services (AD CS) escalation techniques ESC1 through ESC17, driven by hand with Certipy (ly4k). Use…
Authentication coercion (PetitPotam MS-EFSR, PrinterBug MS-RPRN, DFSCoerce MS-DFSNM) chained into NTLM relay (impacket…
A high-level conceptual mapping from Active Directory attack techniques to the compliance controls they touch. Kerberoasting…