Logo van Ad Opsec Telemetry

Ad Opsec Telemetry

Community
ADScanPro
ad-opsec-telemetry

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.

Add to TypingMind

Overzicht

UitgeverADScanPro
RepositoryClaude-AD
Skillnaamad-opsec-telemetry
Sterren
215
Forks
34
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door ADScanPro op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Ad Opsec Telemetry in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/ADScanPro/Claude-AD/tree/main/skills/ad-opsec-telemetry
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ADScanPro/Claude-AD.git /tmp/Claude-AD
mkdir -p .claude/skills
cp -r /tmp/Claude-AD/skills/ad-opsec-telemetry .claude/skills/ad-opsec-telemetry
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Ad Opsec Telemetry in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Ad Opsec Telemetry automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Ad Opsec Telemetry niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

AD OPSEC and Telemetry

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:

  • Document the noise. Tell the client what each high-signal action generated, with the event ID and the source IP, so they can find it in their logs.
  • Coordinate the loud ones. DCSync, mass spraying, coercion at scale, and LSASS dumps 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.


Kerberoasting: Event 4769, RC4 (0x17)

Requesting service tickets for accounts with SPNs, to crack offline.

  • Event 4769 (Kerberos service ticket requested) fires for each SPN targeted. The tell 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.
  • MDI: "Suspected Kerberoasting attack" is on by default and triggers on the volume and RC4 pattern.
  • Requesting all SPNs at once amplifies the signal. Targeting one high-value account is far quieter than roasting the whole domain.
bash
GetUserSPNs.py corp.local/user:pass -dc-ip <dc_ip> -request -outputfile roast.txt
  • MITRE: T1558.003 (Steal or Forge Kerberos Tickets: Kerberoasting).
  • Defender watch: 4769 with 0x17 for accounts that otherwise use AES; a single principal requesting many distinct SPN tickets in a short window.
  • Remediation: strong (25+ char) service-account passwords or gMSA; AES-only on service accounts; monitor 4769 by encryption type.

AS-REP Roasting: Event 4768, no pre-auth

Cracking accounts that have Kerberos pre-authentication disabled, no valid credential needed to request the roastable material.

  • Event 4768 (TGT requested) with Pre-Authentication Type = 0. Normal accounts always pre-authenticate; a 4768 with no pre-auth is the signature.
  • MDI: "Suspected AS-REP Roasting attack."
bash
GetNPUsers.py corp.local/ -usersfile users.txt -dc-ip <dc_ip> -no-pass -format hashcat
  • MITRE: T1558.004 (AS-REP Roasting).
  • Defender watch: 4768 with pre-auth type 0; any account carrying DONT_REQUIRE_PREAUTH.
  • Remediation: remove DONT_REQUIRE_PREAUTH wherever possible; strong passwords on accounts that genuinely need it; alert on the flag being set.

DCSync: Event 4662, replication GUIDs

Replicating credentials out of the DC using directory-replication rights. High severity, never transparent, so coordinate before running.

  • Event 4662 (operation on a directory object) with the replication rights GUIDs:
    • 1131f6aa-9c07-11d1-f79f-00c04fc2dcd2: DS-Replication-Get-Changes
    • 1131f6ad-9c07-11d1-f79f-00c04fc2dcd2: DS-Replication-Get-Changes-All
  • MDI: "Suspected DCSync attack (replication of directory services)": a critical alert in any competent SOC.
  • The source host in the DC logs is your machine's IP, not a real DC. That mismatch (a non-DC requesting replication) is itself the detection.
bash
secretsdump.py corp.local/user:pass@dc01.corp.local -just-dc-user krbtgt
  • MITRE: T1003.006 (OS Credential Dumping: DCSync).
  • Defender watch: 4662 with the Get-Changes GUIDs from any principal that is not a DC; replication requests sourced from non-DC IPs.
  • Remediation: audit and minimize who holds Get-Changes / Get-Changes-All; alert on replication from non-DC sources; tier-0 isolation.

LSASS dumping: blocked by EDR

Dumping process memory of lsass.exe to extract credentials.

  • Modern EDR in blocking mode (CrowdStrike Falcon, SentinelOne, Defender for Endpoint) intercepts MiniDumpWriteDump against lsass. The result is a blocked/empty dump, a crashed process, or an immediate alert naming your tool.
  • Event 4688 (process creation) plus EDR-specific handle-to-lsass telemetry.

Alternatives that avoid touching lsass live:

  • SAM/SYSTEM/SECURITY registry hive dump (local admin) → offline parsing.
  • DPAPI offline extraction.
  • Volume Shadow Copy of the hive + offline parse.
  • gMSA / LAPS fetch over LDAP (no endpoint touch at all).
bash
# Registry-hive route: avoids a live lsass handle
secretsdump.py -sam sam.save -system system.save LOCAL
  • MITRE: T1003.001 (LSASS Memory).
  • Defender watch: process handles opened to lsass with read/VM-read access; EDR memory-access alerts.
  • Remediation: Credential Guard; LSASS as a protected process (RunAsPPL); EDR in blocking mode.

BloodHound collection: a recognizable LDAP signature

  • 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.


Lateral movement: telemetry by protocol

When you need remote execution, the protocol you pick determines the noise. From loudest to quietest:

ProtocolTelemetryOPSEC note
PsExec (SCM service install)Event 7045 service install — very visible, routinely EDR-blockedAvoid when EDR is active
WMI execEvent 4688 process create — MDE detectsQuieter than PsExec
Scheduled taskEvent 4698/4702 task created — moderately visibleAcceptable
WinRM / PSRemotingLegitimate channel, but Event 4624 logon type 3 + PowerShell logsPreferred when available
DCOM / MMCFewer known signaturesBest profile under EDR
  • MITRE: T1021 (Remote Services) and subtechniques; T1569.002 (Service Execution); T1053.005 (Scheduled Task); T1047 (WMI).
  • Rule: record which protocol you used and its profile in the report, so the client can correlate with their endpoint logs.

Coercion and NTLM relay: high-volume auth noise

  • 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.


SMB null sessions: reconnaissance signal

  • 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.


Actions that require explicit coordination

Show a warning and get sign-off (or document that it ran) before any of these:

ActionWhy
DCSyncCritical MDI alert; your IP visible in DC logs
Password sprayingRisk of locking out real accounts
ntlmrelayx (auto)May capture real users' credentials in production
Coercion at scaleHundreds of auth requests, SIEM-visible
Kerberoasting all accountsMDI volume alert; document targeted accounts
LSASS dumpEDR-detectable; risk of crashing the process

How to use this

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.

Veelgestelde vragen

Wat doet de AI-skill Ad Opsec Telemetry?

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. Teach...

Waarom Ad Opsec Telemetry gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Ad Opsec Telemetry bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Ad Opsec Telemetry in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/ADScanPro/Claude-AD/tree/main/skills/ad-opsec-telemetry. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Ad Opsec Telemetry gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Ad Opsec Telemetry gebruiken?

Zoveel als je wilt. Je kunt Ad Opsec Telemetry gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Ad Opsec Telemetry gratis?

Ja. Deze skill is door ADScanPro op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇