Enumerate and audit Active Directory forest trust relationships using impacket for SID filtering analysis, trust key extraction, cross-forest SID history abuse Tespit, and inter-realm Kerberos
Scanned 9/8/2026
Install to Claude Code
npx -y skills add MustafaKemal0146/fetih --skill performing-active-directory-forest-trust-attack --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Performing Active Directory Forest Trust Attack?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/mustafakemal0146-performing-active-directory-forest-trust-attack)More formats (shields.io, HTML) on the badges page.
---
name: performing-active-directory-forest-trust-attack
description: Enumerate and audit Active Directory forest trust relationships using impacket for SID filtering analysis, trust key extraction, cross-forest SID history abuse Tespit, and inter-realm Kerberos
ticket assessment.
tags:
- trust-enumeration
- forest-trust
- impacket
- red-team
- kerberos
- SID-filtering
- fetih
- cybersecurity
- red-teaming
- active-directory
- siber-güvenlik
triggers:
- active
- adversary emulation
- attack
- authentication
- directory
- forest
- incident
- kırmızı takım
- network
- offensive security
- performing
- red team
category: red-team-operations
source_subdomain: red-team
nist_csf:
- ID.RA-01
- GV.OV-02
- DE.AE-07
adapted_for: fetih
---
# Performing Active Directory Forest Trust Attack
## Genel Bakış
Active Directory forest trusts enable authentication across organizational boundaries but introduce attack surface if misconfigured. bu skill uses impacket to enumerate trust relationships, analyze SID filtering configuration, tespit etmeSID 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.
## Ne Zaman Kullanılır
- conducting yaparken security assessments that involve performing active directory forest trust attack
- following yaparken: incident response procedures for related security events
- performing yaparken scheduled security testing or auditing activities
- validating yaparken security controls through hands-on testing
## Ön Gereksinimler
- Python 3.9+ with `impacket`, `ldap3`
- Domain credentials with read Erişim: AD trust objects
- Network Erişim: Domain Controllers (ports 389, 445, 88)
- Authorized penetration testing engagement or lab environment
> **Legal Notice:** bu 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.
## Adımlar
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 Bul:ings
## 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
<!--
⚔ Bu skill FETIH AI Agent icin gelistirilmistir — https://github.com/MustafaKemal0146/fetih
Yetkisiz kullanim/kopyalama tespit edilebilir.
hash: 2c5831cbce68232d
-->
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!