What Is Empire?
Empire (S0363) is an open-source command and control framework. Security researchers originally designed it for authorized penetration testing. However, malicious actors frequently abuse the tool. Like PoshC2, criminals use it to control compromised networks and finalize their attacks.
The framework specializes in post-exploitation. This means attackers deploy it after they successfully bypass perimeter defenses. Empire relies heavily on native system tools to evade detection in a tactic known as Living off the Land (LotL). The framework uses PowerShell to control Windows machines and leverages Python to compromise macOS and Linux systems. By hijacking these legitimate tools, the software easily blends in with normal administrative activity.
Attackers use Empire to steal passwords, bypass access controls, and move laterally across the corporate network. The software operates primarily in the system memory. This makes it incredibly difficult for traditional antivirus scanners to detect. Empire also encrypts its communication with external servers. This allows cybercriminals to silently extract sensitive corporate data or deploy ransomware across critical infrastructure.
How to Defend Against Empire?
Defending against Empire requires strict scripting controls, endpoint behavioral monitoring, and automated threat intelligence.
- Secure scripting environments: Empire relies heavily on native tools like PowerShell and Python. Enable Constrained Language Mode (CLM), enforce PowerShell Script Block Logging (Event ID 4104), and restrict Python execution in production environments.
- Monitor endpoint behaviors: The framework executes malicious commands directly in system memory. Deploy endpoint detection tools to inspect administrative utilities for unusual parent-child process relationships, Antimalware Scan Interface (AMSI) bypass attempts, and memory injection anomalies.
- Map the attack surface: You cannot protect what you cannot see. Use platforms like Lumu Discover to continuously map your digital footprint, identify unmanaged assets, and close exposure gaps before Living-off-the-Land tactics take hold.
- Track abnormal network behaviors: Empire encrypts its communication to hide external traffic. Deploy Network Detection and Response (NDR) platforms like Lumu Defender to flag these suspicious outbound connections, detect abnormal beaconing intervals, and block C2 communication.
- Block malicious indicators: Leverage threat intelligence platforms like Lumu Maltiverse to automatically correlate and block known infrastructure, domains, and IP addresses linked to malicious C2 frameworks.



