Penetration testing
BloodHound for Beginners: Map Active Directory Attack Paths
In a Windows domain, a normal user can sometimes reach Domain Admin through a chain of small permissions nobody noticed. BloodHound turns Active Directory data into a graph that shows those chains. Attackers and defenders both use it. Run it only against your own lab or systems you have written permission to test. First read Active Directory attacks explained.
Build a Lab
You need an Active Directory domain you own: a Windows Server virtual machine as domain controller, a Windows client and a Linux attacker VM. A practice lab project such as GOAD builds one for you. In the examples, the domain is lab.local and the controller is 192.168.56.10.
Collect Data
From the Linux VM, with a low-privilege lab account, the Python collector gathers data over the network:
bloodhound-python -u labuser -p "LabPassword1" -d lab.local -ns 192.168.56.10 -c All --zip
It writes a zip file of JSON data. Collection is noisy in logs, which is what a defender should detect.
Load and Query
- Install BloodHound Community Edition by following the project's documentation (it runs in Docker).
- Upload the zip file in the interface.
- Run the built-in queries: shortest paths to Domain Admins, Kerberoastable users, users with unconstrained delegation.
- Click each edge in a path to read what permission it represents and why it works.
Use It as a Defender Too
Every path BloodHound shows is something to fix: remove an over-broad group membership, tighten a permission, protect a service account with a long password. Run it before attackers do and keep the findings in your report; see how to write a penetration testing report.
Where It Fits
Active Directory testing is a core part of our Network and AD penetration testing course and a large part of EC-Council's CPENT; see the CPENT exam guide. For lateral movement across networks, read pivoting explained.
Sources and Further Reading
Want to attack and defend a real AD lab with a trainer? Book free trial classes. Contact us or call +91 86868 92922.
Courses Mentioned in This Guide
More Guides
Pivoting in Penetration Testing Explained for Beginners
What pivoting means in penetration testing: single and double pivots, SSH port forwarding, SOCKS proxies, a safe three-machine lab and how defenders detect it.
Read the guide →Privilege Escalation Explained: Linux and Windows Basics
What privilege escalation is, the common Linux and Windows misconfigurations testers look for, how enumeration works, and the fixes administrators should apply.
Read the guide →Active Directory Attacks Explained for Beginners
How penetration testers assess Active Directory: enumeration, Kerberoasting, NTLM relay, ACL abuse and DCSync in plain language, with the fix for each.
Read the guide →Penetration Testing Phases Explained, Step by Step
The phases of a penetration test, from scoping and reconnaissance to exploitation, reporting and retesting, with what happens and what is produced in each.
Read the guide →Start Your Cyber Security Career
Talk to a counselor, choose the right course for your goals, and get the fee, syllabus and next batch dates in writing.
- Call+91 86868 92922
Open 7 days: Mon to Fri 8:30 AM to 8:30 PM IST
Sat and Sun 10 AM to 6 PM IST - Emailinfo@hackingtrainer.com
- VisitGround Floor, G-3, Sri Venkatasai Nest, Kallu Compound Road, Nagarjuna Nagar Colony, Yella Reddy Guda, Ameerpet, Hyderabad – 500073
Open in Google Maps