/claude-ad:ad-opsec-telemetryfrom claude-ad
Lists Event IDs and encryption types for Kerberoasting, DCSync, AS-REP roasting, LSASS dumping, and lateral-movement telemetry by protocol. Use when planning offensive AD techniques or writing detection notes.
Ships in claude-ad. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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:
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.
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.GetUserSPNs.py corp.local/user:pass -dc-ip <dc_ip> -request -outputfile roast.txt
Cracking accounts that have Kerberos pre-authentication disabled, no valid credential needed to request the roastable material.
Pre-Authentication Type = 0. Normal accounts always
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
DONT_REQUIRE_PREAUTH.DONT_REQUIRE_PREAUTH wherever possible; strong passwords on
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.
1131f6aa-9c07-11d1-f79f-00c04fc2dcd2: DS-Replication-Get-Changes1131f6ad-9c07-11d1-f79f-00c04fc2dcd2: DS-Replication-Get-Changes-Allsecretsdump.py corp.local/user:[email protected] -just-dc-user krbtgt
Dumping process memory of lsass.exe to extract credentials.
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
Collector queries have well-known shapes: (objectCategory=computer) pulling dozens of
attributes, plus queries for msDS-AllowedToDelegateTo, delegation and ACL attributes in
bulk.
MDI and legacy ATA carry specific detection for BloodHound-style enumeration.
Quieter collection requests only the attributes it needs (never *) and spreads queries
over time instead of firing them all at connect.
MITRE: T1087 (Account Discovery), T1069 (Permission Groups Discovery).
Defender watch: a single principal issuing large attribute-heavy LDAP sweeps in a short window.
When you need remote execution, the protocol you pick determines the noise. From loudest to quietest:
| Protocol | Telemetry | OPSEC note |
|---|---|---|
| PsExec (SCM service install) | Event 7045 service install — very visible, routinely EDR-blocked | Avoid when EDR is active |
| WMI exec | Event 4688 process create — MDE detects | Quieter than PsExec |
| Scheduled task | Event 4698/4702 task created — moderately visible | Acceptable |
| WinRM / PSRemoting | Legitimate channel, but Event 4624 logon type 3 + PowerShell logs | Preferred when available |
| DCOM / MMC | Fewer known signatures | Best profile under EDR |
Coercion (PetitPotam, PrinterBug, DFSCoerce) forces a target to authenticate to you, producing inbound auth requests visible in SIEM. Coercing at scale generates hundreds of auth events.
ntlmrelayx in automatic mode can capture credentials of real users in production, so
coordinate before running it against a live environment.
MITRE: T1187 (Forced Authentication), T1557.001 (LLMNR/NBT-NS Poisoning and SMB Relay).
Defender watch: spikes of inbound authentications to a non-standard host; EFSRPC / spoolss / DFS RPC calls to unexpected destinations.
Remediation: SMB signing enforced; LDAP channel binding; EPA on AD CS web endpoints; disable spooler on DCs.
Windows Server 2016+ disables null sessions by default; some SOCs alert on the attempt as anonymous recon.
When you hold credentials, always use them. Null session is a last-resort fallback only, and worth documenting when used.
MITRE: T1135 (Network Share Discovery), T1087.
Show a warning and get sign-off (or document that it ran) before any of these:
| Action | Why |
|---|---|
| DCSync | Critical MDI alert; your IP visible in DC logs |
| Password spraying | Risk of locking out real accounts |
| ntlmrelayx (auto) | May capture real users' credentials in production |
| Coercion at scale | Hundreds of auth requests, SIEM-visible |
| Kerberoasting all accounts | MDI volume alert; document targeted accounts |
| LSASS dump | EDR-detectable; risk of crashing the process |
Running a technique: check its row, warn the client about the events it will generate, and prefer the quieter equivalent when there is one (WMI over PsExec, one SPN over the whole domain, registry-hive over live lsass). Writing the report: turn these tables into the detection-and-remediation section so the defender can find every action you took and close the gap that let it work.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub adscanpro/claude-ad --plugin claude-ad8 skills in this plugin
/acl-abuseAbusing Active Directory object ACLs (DACL/ownership) for privilege escalation and lateral movement (GenericAll, GenericWrite, WriteDACL, WriteOwner, AddMember, ForceChangePassword, and replication rights via DS-Replication-Get-Changes-All). Use when BloodHound CE shows an outbound control edge from a principal you own toward a higher-value object, and you want the exact bloodyAD/impacket command to weaponize that ACE, plus detection and remediation. DCSync is covered here strictly as a post-compromise technique, not a user entry path./adcs-attacksActive Directory Certificate Services (AD CS) escalation techniques ESC1 through ESC17, driven by hand with Certipy (ly4k). Use when the target runs a Certificate Authority and you want to find vulnerable certificate templates or CA misconfigurations, request a certificate that impersonates a privileged user, and know the exact certipy command, what each ESC actually checks, the Windows Event IDs that fire, and the remediation. ESC1 and ESC8 are the two you hit most in the field./ad-environment-constraintsReal-world Active Directory environment constraints that silently break attacks when ignored: NTLM disabled (Kerberos fallback), AES-only KDCs (RC4 blocked by GPO), LDAP signing and channel binding requiring LDAPS on 636, Kerberos clock skew (KRB_AP_ERR_SKEW), SPNs that must be FQDNs never short names or IPs (the misleading invalidCredentials), Protected Users / LAPS / gMSA / MachineAccountQuota, LDAP 1000-object paging, and VPN latency. Use this whenever a bind, TGT request, LDAP query, or SMB negotiation fails in a way that looks like bad credentials but is really hardening, or before running any AD tooling against a domain you have not fingerprinted. Standard-tooling knowledge (netexec, impacket, certipy, bloodyAD, kerbrute), no vendor-specific engine.
Other plugins' skills for the same job