Pular para o conteúdo
Novo

DeepSeek V4.1 Flash grátis por 7 dias: 10M tokens por dia após recarga de $10 ou mais. Até 30/11.

Como funciona
meltedinhex/hunting-active-directory-attacksDFIR e threat hunting

hunting-active-directory-attacks

⁨Hunts for Active Directory credential and replication attacks — DCSync, Golden/Silver⁩

v1.0.03 instalações+3 em 7 dias24 EstrelasApache-2.0sincronizado há 10 horas

Instalar

Ainda não tem a CLI da NotHoly? Instale primeiro.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install meltedinhex/hunting-active-directory-attacks

Grava em ⁦~/.notholy/skills⁩ depois de conferir a assinatura e o SHA-256.

AssinaturaAssinado, ed25519
vkwBap773d…2lRYNyCw==A CLI confere o SHA-256 e a assinatura antes de gravar qualquer arquivo.
Pacotebd357b84…67ada116
bd357b84afae…b0fe67ada1164 arquivos · ⁦3.2 KB⁩
VarreduraMédio2 achados
  • Script executável junto com a skillscripts/analyst.py
  • Links para domínios externos
Ver a varredura completa
Fontegithub.com/meltedinhex/analyst-ai-pack/tree/main/skills/hunting-active-directory-attacks@da7600a

Este item ainda não foi escrito no seu idioma, então aparece em English.

When to Use

  • You have AD/domain-controller telemetry (Event IDs 4662, 4769, 4624) and want to detect DCSync replication abuse, Golden/Silver Ticket usage, and DCShadow.
  • You are investigating credential-access and domain-persistence activity.

Do not use this for Kerberoasting/AS-REP roasting — those have a dedicated hunt. This focuses on replication abuse and forged-ticket anomalies.

Prerequisites

  • Event ID 4662 (directory service access), 4769 (TGS requests), and 4624 (logons) with account and detail fields.

Workflow

Step 1: Hunt DCSync replication abuse

bash
python scripts/analyst.py hunt events.csv

Flags 4662 events granting the replication rights GUIDs (DS-Replication-Get-Changes 1131f6aa-… / -All 1131f6ad-…) to non-DC accounts.

Step 2: Detect forged-ticket anomalies

Surface 4769 requests with anomalies consistent with Golden/Silver Tickets (RC4 where AES is expected, missing preceding 4768, or accounts that do not exist), and logons with mismatched ticket lifetimes.

Step 3: Confirm

Correlate the flagged account/host with whether it is a legitimate DC or replication service.

Step 4: Operationalize

Write a detection for replication-rights grants to non-DC principals.

Validation

  • DCSync flags key on the replication GUIDs granted to non-DC accounts.
  • Forged-ticket anomalies are based on encryption type / missing-AS-REQ evidence.
  • Findings map to ATT&CK T1003.006 / T1558.001.

Pitfalls

  • Legitimate DCs and Azure AD Connect perform replication — allow-list them.
  • Golden Tickets can perfectly mimic valid TGS; rely on corroborating anomalies, not one signal.
  • Incomplete auditing (4662 object-access auditing must be enabled) causing blind spots.

References

  • See references/api-reference.md for the hunter.
  • ATT&CK T1003.006 and Event 4662 (linked in frontmatter).

Arquivos desta versão

Permissões

PermissãoDeclaradaEncontrada na varredura
Lê arquivosNãoNão
Grava arquivosNãoNão
Roda comandos no shellSimSim
Usa a redeSimSim
Usa conectoresNãoNão
Controla um navegadorNãoNão

Achados da varredura

Revisado em 13 de nov. de 2026

  1. MédiaArquivo · Script executável junto com a skillscripts/analyst.py
  2. InfoLink · Links para domínios externos

Uma varredura limpa reduz o risco, mas não prova que o pacote é seguro. Leia o que você instala.

VersãoPublicada emCommitSHA-256AssinaturaMudança de permissão
v1.0.013 de nov. de 2026da7600abd357b84Assinada–

Pergunte tudo o que o seu escopo permite.

Crie a conta, adicione créditos e faça a primeira pergunta no chat ou no terminal.

  1. 1/3

    Crie a conta

    Individual ou empresa. Dá para virar empresa depois sem perder saldo nem chaves.

    Pessoa físicaEmpresa
  2. 2/3

    Adicione créditos

    No cartão. Você paga por token, sem assinatura.

    $5.00recarga mínima
  3. 3/3

    Pergunte

    No chat, ou instale o CLI e rode notholy login no terminal.

    $ notholy login