Post Exploitation
BloodHound uses graph theory to reveal the hidden and often unintended relationships within an Active Directory or Azure environment, allowing attackers or defenders to identify complex attack paths.
sudo apt install bloodhound
bloodhound [options]
BloodHound uses graph theory to reveal hidden and unintended relationships in Active Directory environments. It maps objects as nodes and permissions as edges, enabling security professionals to identify complex attack paths.
By collecting data from domain controllers and workstations, BloodHound visualizes the shortest path to Domain Admin, highlighting ACL abuses, group nesting issues, and privilege escalation opportunities.
bloodhoundLaunch the BloodHound graphical user interfacesudo neo4j consoleStart the Neo4j database in the foregroundsudo neo4j startStart the Neo4j database as a background servicesudo neo4j stopStop the running Neo4j database serviceSharpHound.exe -c AllCollect all AD data from a domain-joined Windows hostSharpHound.exe -c DCOnlyCollect data by querying only the domain controller (stealthier)SharpHound.exe -c ACL,Group,SessionRun a targeted collection of specific data categoriesSharpHound.exe -d corp.localSpecify the target domain to enumerateSharpHound.exe --zipfilename lootSet a custom name for the output ZIP archiveSharpHound.exe --Loop --Loopduration 02:00:00Continuously collect session data over a time windowbloodhound-python -d corp.local -u user -p pass -c AllCollect AD data remotely from Linux with the Python ingestorbloodhound-python -d corp.local -u user -p pass -ns 10.0.0.1 -c AllCollect via a specified name server (domain controller IP)AzureHound.exe -u user@tenant -p pass listCollect Azure AD / Entra ID data with AzureHoundazurehound -u user@tenant -p pass list -o output.jsonRun AzureHound on Linux and write results to JSONpython3 -m http.serverServe loot files to move the ZIP to your analysis hostbloodhound-cli installInstall and set up BloodHound Community Editionbloodhound-cli upStart the BloodHound CE Docker stackbloodhound-cli config get default_passwordRetrieve the generated admin password for BloodHound CEMATCH (u:User) RETURN uCypher query: return all user nodes in the graphMATCH (u:User {hasspn:true}) RETURN uCypher query: find all Kerberoastable usersMATCH (u:User {dontreqpreauth:true}) RETURN uCypher query: find AS-REP roastable usersMATCH p=shortestPath((u:User)-[*1..]->(g:Group {name:'DOMAIN ADMINS@CORP.LOCAL'})) RETURN pCypher query: shortest path to Domain AdminsMATCH (c:Computer {unconstraineddelegation:true}) RETURN cCypher query: find hosts with unconstrained delegationMATCH (u:User) WHERE u.pwdlastset < (datetime().epochseconds - (365*86400)) RETURN uCypher query: find users with passwords older than a yearcurl -k https://localhost:8080Access the BloodHound CE web UI in a browserVisualize AD privilege escalation paths.
Find overly permissive ACLs and delegations.
Identify AS-REP roastable and Kerberoastable users.
Map Azure AD relationships and privileges.
Post Exploitation
CrackMapExec (CME) is a post-exploitation tool for pentesting Windows and Active Directory networks. It can enumerate users, spray passwords, execute commands, and move laterally.
Post Exploitation
Impacket is a versatile collection of Python classes for working with network protocols. It features low-level programmatic access to packets alongside specific full-featured scripts for interacting with Windows domains.
Post Exploitation
Mimikatz is a powerful post-exploitation tool that exposes vulnerabilities in Windows authentication protection mechanisms, capable of extracting plaintexts passwords, hashes, PINs, and kerberos tickets from memory.
Post Exploitation
Empire is an open-source post-exploitation and command-and-control (C2) framework originally created by @harmj0y and now maintained by BC-Security. It uses PowerShell and Python-based agents to model adversarial persistent access behaviors for authorized security testing, red team engagements, and defensive detection engineering. Empire provides encrypted communications, modular capabilities, and a flexible agent system for extended operations against Windows and Linux environments.
Exploitation
Cobalt Strike is a commercial penetration testing platform designed for adversary simulation and red team operations. It features a post-exploitation agent called Beacon and supports covert communication channels to model advanced persistent threats.
Exploitation
Learn how to use Metasploit Framework: install it on Kali Linux, launch msfconsole, search for exploit modules, set RHOSTS and LHOST, and run your first authorized lab exploit. This beginner tutorial covers msfconsole commands, Meterpreter sessions, msfvenom payloads, and post-exploitation — with practical examples for authorized penetration testing.
Learn how to use BloodHound and SharpHound for Active Directory reconnaissance, attack path analysis, privilege escalation detection, and security assessment.
Active Directory · AdvancedComprehensive guide to Active Directory enumeration using native tools, PowerShell, and specialized utilities for discovering users, groups, computers, and trust relationships.
Active Directory · AdvancedAn in-depth look at pass-the-hash attacks against NTLM authentication, how they work, real-world exploitation scenarios, detection techniques, and defense strategies.
Active Directory · AdvancedA comprehensive introduction to Microsoft Active Directory covering domain services, LDAP, Group Policy, authentication protocols, and security fundamentals for Windows enterprise environments.
The tool generates an interactive visual graph. Dots represent network objects, and connecting lines show the rights they have over each other. Highlighted paths map out exact steps to escalate privileges.
This tool is designed for authorized security testing, educational purposes, and legitimate network administration only. Unauthorized access to computer systems is illegal.