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

performing-active-directory-forest-trust-attack

하는 일

이 도구는 서로 다른 컴퓨터 네트워크(Active Directory 포리스트)가 어떻게 연결되어 있는지 확인하는 데 도움을 줍니다. 공격자가 한 네트워크의 인증 정보를 사용해 다른 연결된 네트워크의 정보에 접근하거나 통제권을 얻는 방법을 찾습니다.

사용하는 경우

  • ✓여러 연결이 있는 복잡한 네트워크의 보안을 테스트할 때.
  • ✓네트워크 사이의 무단 접근 가능성을 조사할 때.
  • ✓네트워크 간 연결이 안전하게 설정되었는지 확인할 때.

스킬 링크

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

AI에게 요청하는 예시

“우리 네트워크 사이의 연결을 확인하고 보안 위험이 있는지 알려 주세요.”

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

작동 방식

이 도구는 네트워크 간 신뢰 설정을 검토합니다. 한 네트워크의 인증 정보를 사용해 다른 네트워크에 접근하거나, 접근 티켓을 위조할 수 있는 약점을 찾습니다.

기술 내용 (원본 SKILL.md)

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

Performing Active Directory Forest Trust Attack

Overview

Active Directory forest trusts enable authentication across organizational boundaries but introduce attack surface if misconfigured. This skill uses impacket to enumerate trust relationships, analyze SID filtering configuration, detect SID history abuse vectors, perform cross-forest SID lookups via LSA/LSAT RPC calls, and assess inter-realm Kerberos ticket configurations for trust ticket forgery risks.

When to Use

  • When conducting security assessments that involve performing active directory forest trust attack
  • 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

  • Python 3.9+ with impacket, ldap3
  • Domain credentials with read access to AD trust objects
  • Network access to Domain Controllers (ports 389, 445, 88)
  • Authorized penetration testing engagement or lab environment

Legal Notice: This skill is for authorized security testing and educational purposes only. Unauthorized use against systems you do not own or have written permission to test is illegal and may violate computer fraud laws.

Steps

  1. Enumerate forest trust relationships via LDAP trusted domain objects
  2. Query trust attributes and SID filtering status for each trust
  3. Perform SID lookups across trust boundaries using LsarLookupNames3
  4. Enumerate foreign security principals in trusted domains
  5. Check for SID history on cross-forest accounts
  6. Assess trust direction and transitivity for lateral movement paths
  7. Generate trust security audit report with risk findings

Expected Output

  • JSON report listing all trust relationships, SID filtering status, foreign principals, trust direction/transitivity, and risk assessment
  • Cross-forest attack path analysis with remediation recommendations
자주 묻는 질문

Active Directory 포리스트란 무엇인가요?

많은 지사를 가진 대기업처럼, 함께 관리되는 여러 컴퓨터 네트워크의 묶음입니다.

'SID 필터링'이란 무엇인가요?

네트워크 간에 특정 식별 정보(SID)가 전달되지 않도록 막아 공격을 방지하는 보안 설정입니다.

'SID 이력 악용(SID history abuse)'이란 무엇인가요?

공격자가 계정의 오래된 식별 정보를 사용해 다른 네트워크의 자원에 접근하는 공격 유형입니다.

상세 정보

작성자의 원본 설명

Enumerate and audit Active Directory forest trust relationships using Impacket for SID filtering analysis, trust key extraction, cross-forest SID history abuse detection, and inter-realm Kerberos ticket assessment. Use when red-teaming multi-forest AD environments or auditing forest trusts for cross-forest privilege escalation and trust ticket forgery exposure.

repo: mukul975/Anthropic-Cybersecurity-Skills

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬