Saltar al contenido
Nuevo

DeepSeek V4.1 Flash gratis por 7 días: 10M tokens al día tras una recarga de $10 o más. Hasta el 30/11.

Cómo funciona
noorqureshi/defense-ad-defenseActive Directory y Windows

defense-ad-defense

⁨Detect and harden against Active Directory attacks — Kerberoasting, AS-REP roasting, DCSync, ADCS abuse, and delegation/relay. Load for "detect kerberoasting", "harden AD", "AD monitoring", "did someone DCSync us", or defending a domain. The defensive counterpart to the ad-* offensive skills.⁩

v2026.10.14-ee0e0c53 instalaciones+3 en 7 días27 EstrellasMITsincronizado hace 22 horas

Instalar

¿Aún no tienes la CLI de NotHoly? Instálala primero.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install noorqureshi/defense-ad-defense

Escribe en ⁦~/.notholy/skills⁩ después de comprobar la firma y el SHA-256.

FirmaFirmado, ed25519
uFjS2vcHI6…gbwvrZCQ==La CLI comprueba el SHA-256 y la firma antes de escribir cualquier archivo.
Paquete0b414cb7…c7050ac0
0b414cb7cc88…d273c7050ac01 archivo · ⁦1.6 KB⁩
EscaneoBajosin hallazgos
El escaneo no encontró nada que señalar en esta versión.Ver el escaneo completo
Fuentegithub.com/NoorQureshi/security-skills/tree/main/skills/defense/defense-ad-defense@ee0e0c5

Esta entrada todavía no está escrita en tu idioma, así que aparece en English.

When it applies

You run an AD domain and need to catch the standard attacker toolkit and close the structural weaknesses it relies on — before or after a foothold.

Why it works

Most AD attacks abuse features, not bugs, so they leave predictable event signatures and depend on specific misconfigurations. Watch the right events and remove the preconditions, and the common paths (the ones BloodHound finds) simply close.

Method

  1. Kerberoasting (T1558.003): alert on Event 4769 (TGS request) with RC4 (0x17) encryption or high volume from one account. Harden: strong (25+ char) managed service-account passwords, gMSAs, and AES-only where possible.
  2. AS-REP roasting (T1558.004): find and fix accounts with "do not require Kerberos preauth"; alert on 4768 without preauth.
  3. DCSync (T1003.006): alert on 4662 replication GUIDs (DS-Replication-Get-Changes) from a principal that is not a DC. Harden: audit who holds replication rights.
  4. ADCS (ESC1-8, T1649): audit templates for enrollee-supplied SAN + client-auth EKU (ESC1) and dangerous enrollment rights; monitor 4886/4887 (cert requests/issues). Fix the template.
  5. Delegation / relay (T1207): inventory unconstrained/RBCD delegation; enable SMB signing + LDAP channel binding/signing to kill NTLM relay; monitor for coercion (PetitPotam-style).
  6. Structural hygiene: run PingCastle/BloodHound as the defender, tier admin accounts, Protected Users group, LAPS for local admin, and remove the attack-graph edges (see tradecraft-attack-path-mapping).

Gotchas

  • 4769 fires constantly — key on RC4/volume/odd source, not the raw event.
  • Legacy apps may need RC4/unconstrained delegation; document exceptions, don't leave them silent.
  • ADCS is often the fastest domain-takeover path and the least monitored — prioritise it.

Verify success

A controlled roast/DCSync/ESC1 in a lab produces the expected event and alerts, and a BloodHound run shows the corresponding attack-graph edge removed after hardening.

References

Microsoft AD security docs; SpecterOps ADCS ("Certified Pre-Owned"); PingCastle; MITRE ATT&CK.

Archivos de esta versión

Permisos

PermisoDeclaradoHallado en el escaneo
Lee archivosNoNo
Escribe archivosNoNo
Ejecuta comandos de shellNoNo
Usa la redNoNo
Usa conectoresNoNo
Controla un navegadorNoNo

Hallazgos del escaneo

Revisado el 13 nov 2026

El escaneo no encontró nada que señalar en esta versión.

Un escaneo limpio baja el riesgo, pero no prueba que el paquete sea seguro. Lee lo que instalas.

VersiónPublicadaCommitSHA-256FirmaCambio de permisos
v2026.10.14-ee0e0c513 nov 2026ee0e0c50b414cb7Firmada–

Pregunta todo lo que tu alcance permite.

Crea la cuenta, añade créditos y haz la primera pregunta en el chat o en la terminal.

  1. 1/3

    Crea la cuenta

    Individual o empresa. Puedes pasar a empresa después sin perder saldo ni claves.

    IndividualEmpresa
  2. 2/3

    Añade créditos

    Con tarjeta. Pagas por token, sin suscripción.

    $5.00recarga mínima
  3. 3/3

    Pregunta

    En el chat, o instala el CLI y ejecuta notholy login en tu terminal.

    $ notholy login