본문으로 건너뛰기
Skillpedia
보안35k · #8172

performing-active-directory-compromise-investigation

하는 일

이 도구는 공격자가 Active Directory 시스템에 무단으로 접근했는지 조사하는 데 도움을 줍니다. 인증 로그와 기타 정보를 분석해 공격자가 어떻게 침입했는지, 무엇을 했는지, 시스템 안에서 어떻게 이동했는지 알아냅니다.

사용하는 경우

  • ✓Active Directory가 침해되었다고 의심될 때.
  • ✓보안 테스트를 수행해 약점을 확인할 때.
  • ✓보안 사고 후 무슨 일이 있었는지 이해해야 할 때.

스킬 링크

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-active-directory-compromise-investigation/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-active-directory-compromise-investigation/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“인증 로그와 그룹 정책 변경 내용을 분석해 잠재적인 Active Directory 침해를 조사해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 도구는 인증 로그, 그룹 변경, 사용자 연결 방식 같은 기술적 세부 정보를 검토합니다. 이를 통해 공격자가 어떻게 움직였는지 퍼즐을 맞추는 데 도움을 줍니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Performing Active Directory Compromise Investigation

Overview

Active Directory (AD) compromise investigation is a critical incident response capability that focuses on identifying how attackers gained access to domain services, what persistence mechanisms they established, and the scope of credential compromise. Since 88% of breaches involve compromised credentials (Verizon 2025 DBIR), AD is the primary target for enterprise-wide attacks. Investigators must analyze NTDS.dit database integrity, Kerberos ticket-granting activity, Group Policy modifications, replication metadata, and privileged group membership changes to reconstruct the attack chain and determine full compromise scope.

When to Use

  • When conducting security assessments that involve performing active directory compromise investigation
  • When following incident response procedures for related security events
  • When performing scheduled security testing or auditing activities
  • When validating security controls through hands-on testing

Prerequisites

  • Familiarity with incident response concepts and tools
  • Access to a test or lab environment for safe execution
  • Python 3.8+ with required dependencies installed
  • Appropriate authorization for any testing activities

Key Investigation Areas

1. NTDS.dit Database Analysis

The NTDS.dit file is the core Active Directory credential database containing all password hashes for domain accounts. Attackers commonly exfiltrate this file using tools like ntdsutil, secretsdump.py, or DCSync attacks via Mimikatz.

Detection indicators:

  • Event ID 4662: Access to directory service objects with replication permissions
  • Event ID 4742: Computer account modifications on domain controllers
  • Volume Shadow Copy creation on domain controllers (Event ID 8222)
  • Unusual ntdsutil.exe or vssadmin.exe execution
  • Replication traffic from non-DC sources (DCSync detection)

2. Kerberos Attack Detection

Golden Ticket indicators:

  • TGT tickets with abnormally long lifetimes (default is 10 hours)
  • Event ID 4769 with encryption type 0x17 (RC4) instead of AES
  • TGT issued without corresponding Event ID 4768 (AS-REQ)
  • Kerberos tickets referencing non-existent or disabled accounts

Silver Ticket indicators:

  • Service tickets without corresponding TGT requests
  • Event ID 4769 with unusual service names
  • Tickets with forged PAC data

Kerberoasting indicators:

  • High volume of Event ID 4769 for service accounts
  • RC4 encryption requests for accounts that support AES
  • Requests from workstations not normally accessing those services

3. Group Policy Abuse

  • GPO modifications granting new privileges (Event ID 5136)
  • Scheduled task deployment via GPO
  • Software installation policies added to domain
  • Login script modifications
  • Registry-based policy changes for persistence

4. Privileged Group Enumeration

Track modifications to these critical groups:

  • Domain Admins, Enterprise Admins, Schema Admins
  • Account Operators, Backup Operators
  • DnsAdmins (can execute arbitrary DLLs on DCs)
  • Group Policy Creator Owners
  • Protected Users group membership changes

5. Trust Relationship Analysis

  • New forest/domain trusts created (Event ID 4706)
  • SID History injection for privilege escalation
  • Trust ticket forgery indicators
  • Cross-domain authentication anomalies

Investigation Methodology

Phase 1: Scoping and Evidence Collection

1. Identify potentially compromised domain controllers
2. Collect Security, System, Directory Service event logs
3. Extract AD replication metadata using repadmin
4. Capture ntdsutil snapshots for offline analysis
5. Collect DNS server logs and zone transfer records
6. Export Group Policy Object configurations
7. Document current privileged group memberships

Phase 2: Authentication Log Analysis

1. Parse Event ID 4624/4625 for logon patterns
2. Identify pass-the-hash indicators (Event ID 4624 Type 3 with NTLM)
3. Analyze Event ID 4768/4769/4771 for Kerberos anomalies
4. Review Event ID 4776 for NTLM authentication failures
5. Cross-reference logon events with known compromised accounts
6. Map lateral movement paths through authentication chains

Phase 3: Persistence and Backdoor Detection

1. Enumerate AdminSDHolder ACL modifications
2. Check for SID History abuse on accounts
3. Verify krbtgt account password age
4. Audit DSRM password configuration
5. Check for skeleton key malware indicators

…
자주 묻는 질문

Active Directory란 무엇인가요?

회사가 네트워크의 컴퓨터, 사용자, 권한을 관리하는 데 사용하는 시스템입니다.

'침해(compromise)'는 무엇을 뜻하나요?

공격자가 무단으로 접근해 시스템의 일부를 잠재적으로 통제하게 되었다는 뜻입니다.

인증 로그를 왜 분석하나요?

로그는 누가 언제 무엇에 접근하려 했는지 보여 줍니다. 이를 분석하면 의심스럽거나 무단 활동을 식별하는 데 도움이 됩니다.

상세 정보

작성자의 원본 설명

Investigate Active Directory compromise by analyzing authentication logs, replication metadata, Group Policy changes, and Kerberos ticket anomalies to identify attacker persistence and lateral movement paths.

repo: mukul975/Anthropic-Cybersecurity-Skills

인기도

GitHub 스타
35k
순위
#8172
라이선스
Apache-2.0
업데이트
2026. 8. 31.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬