Empire
Empire is a PowerShell-based post-exploitation framework and malware/tooling family that relies on PowerShell for most client-side agent tasks. The provided content states that staged Empire agents can be downloaded and executed via PowerShell-encoded commands, including delivery through SCT files, and that AppleScript can be used to drop the Empire exploit kit. Empire uses a command-line interface to interact with compromised systems and supports PowerShell remoting through the Invoke-PSRemoting module. Reported capabilities include use of WMI to deliver payloads to remote hosts, process injection via modules such as Invoke-PSInject, port scanning from an infected host, searching for files containing passwords, extracting passwords from common web browsers including Firefox and Chrome, gathering browser data such as bookmarks and visited sites, sending collected data over its command-and-control channel, using Dropbox and GitHub for command and control, using Dropbox for data exfiltration, encrypting C2 traffic with TLS, and timestomping files or payloads placed on a target machine for defense evasion. The content associates Empire with multiple threat actors, including APT19 obtaining and using the publicly available tool, FIN12 using the PowerShell-based EMPIRE post-exploitation framework nearly exclusively until mid-2019 before also adopting Cobalt Strike, Sandworm targeting Android developers with phishing emails and Office exploits to install PowerShell Empire, and Vice Society using PowerShell Empire for lateral movement. High-confidence behaviors directly mentioned include PowerShell-centric execution, remote payload delivery via WMI, credential and browser data collection, process injection, network scanning, encrypted C2, cloud-service-backed C2/exfiltration, and timestomping.
Hunt this family in your stack
Mallory pivots from this family to the IOCs, detections, and named campaigns that touch your stack, and pages you when something new lands.
Vulnerabilities exploited
1 CVE Mallory has correlated with this family across public research and vendor advisories. Each row links to the full Mallory page for that vulnerability.
Graphite was deployed in a campaign against several governments in Europe and Asia. Attacks began with spear-phishing emails that delivered an Excel downloader containing a remote code execution exploit (CVE-2021-40444). This led to the installation of a second-stage downloader, followed by Graphite and a secondary payload—PowerShell Empire. | This led to the installation of a second-stage downloader, followed by Graphite and a secondary payload—PowerShell Empire.
Groups observed using it
19 distinct threat actors attributed by public researchers. Open in Mallory to see the full evidence chain and overlapping campaigns.
APT19 has obtained and used publicly-available tools like Empire.
APT19 has obtained and used publicly-available tools like Empire.
APT19 has obtained and used publicly-available tools like Empire.
APT19 has obtained and used publicly-available tools like Empire.
APT19 has obtained and used publicly-available tools like Empire.
APT19 has obtained and used publicly-available tools like Empire.
APT19 has obtained and used publicly-available tools like Empire.
APT19 has obtained and used publicly-available tools like Empire.
APT19 has obtained and used publicly-available tools like Empire.
Empire has modules to interact with the Windows task scheduler.
This led to the installation of a second-stage downloader, followed by Graphite and a secondary payload—PowerShell Empire.
Vice Society actors have been observed using a variety of tools, including SystemBC, PowerShell Empire, and Cobalt Strike to move laterally.
The PowerShell command was equipped with capabilities to run JavaScript that executed PowerShell code linked to the Empire command-and-control (C2) framework.
ToolsPowerStats, Koadic, LaZagne, Metasploit, FORELORD, CrackMapExec, Plink, Empire, Mimikatz, Mori, PowGoop, Small Sieve, Canopy, ScreenConnect, RemoteUtilities, Syncro, SimpleHelp, MiniDump, CredNinja, MKL64, Ligolo, MuddyC3, PhonyC2, MuddyC2Go, Venom Proxy, WMIExec, AnyDesk, Revsocks
APT40 has used a combination of tool frameworks and malware to establish persistence, escalate privileges, map, and move laterally on victim networks. ... PowerShell Empire
...use of a combination of code and techniques from security blogs and open source projects, such as FruityC2 and Powershell Empire...
UNC2198 has used Cobalt Strike BEACON, Metasploit METERPRETER, KOADIC, and PowerShell EMPIRE offensive security tools during this phase as well.
“...Sednit deployed two implants in parallel: Graphite... and PowerShell Empire...”
Techniques & procedures
32 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 techniqueThe content repeatedly states that threat actors 'obtained,' 'acquired,' or 'used' publicly available, open-source, legitimate, or modified tools such as Mimikatz, Cobalt Strike, PsExec, Empire, Impacket, and many others.
Execution
7 techniquesThe content repeatedly describes threat actors and malware using WMI/WMIC/wmiexec for remote execution, lateral movement, discovery, persistence, and administrative actions; e.g., 'APT41 used WMI in several ways, including for execution of commands via WMIEXEC as well as for persistence via PowerSploit' and 'Scattered Spider used Windows Management Instrumentation (WMI) to move laterally via Impacket.'
Windows operating systems provide a utility (schtasks.exe) which enables system administrators to execute a program or a script at a specific given date and time. This kind of behavior has been heavily abused by threat actors and red teams as a persistence mechanism.
References https://attack.mitre.org/techniques/T1053/ ... The persistence technique of scheduled tasks can be implemented both manually and automatically.
Alternatively PowerShell can be used to create schedule tasks that will executed either at logon of a user or at a specific time and date.
EncodedCommand for those that are not familiar is a way to execute base64 encoded powershell code and have it execute which skirts (by design) around the Execution Policies in PowerShell. | This allows us to execute EncodedCommand without having to actually use -ec anywhere in our PowerShell command and circumvent detection rules.
AppleScript offers offensive actors a plethora of ways to execute. In addition to simply executing a .scrpt file, you can run AppleScripts from Mail rules, from a shell script, in memory, from the command line, from within a MachO, in a plain text, uncompiled file, from an Automator workflow, from a Folder Action, a Finder Service or from a Calendar event.
Prompted by this discovery, the author began researching obfuscation techniques supported by cmd.exe... The goal of this research is to enumerate the problem space of cmd.exe-supported obfuscation techniques...
Persistence
5 techniquesWindows operating systems provide a utility (schtasks.exe) which enables system administrators to execute a program or a script at a specific given date and time. This kind of behavior has been heavily abused by threat actors and red teams as a persistence mechanism.
References https://attack.mitre.org/techniques/T1053/ ... The persistence technique of scheduled tasks can be implemented both manually and automatically.
Across the content, malware repeatedly 'adds Registry Run keys', 'creates Registry entries', 'modifies the Windows Registry', or 'overwrites registry keys' to maintain persistence.
FIN12 has used EMPIRE configured to maintain persistence through reboot via a service named "Updater."
The content repeatedly describes malware and threat actors establishing persistence by adding values under HKCU/HKLM\Software\Microsoft\Windows\CurrentVersion\Run or RunOnce, and by placing executables, scripts, or .lnk files in the Startup folder.
Privilege Escalation
5 techniquesWindows operating systems provide a utility (schtasks.exe) which enables system administrators to execute a program or a script at a specific given date and time. This kind of behavior has been heavily abused by threat actors and red teams as a persistence mechanism.
References https://attack.mitre.org/techniques/T1053/ ... The persistence technique of scheduled tasks can be implemented both manually and automatically.
FIN12 has also used process injection to execute payloads in a more privileged context.
FIN12 has used EMPIRE configured to maintain persistence through reboot via a service named "Updater."
The content repeatedly describes malware and threat actors establishing persistence by adding values under HKCU/HKLM\Software\Microsoft\Windows\CurrentVersion\Run or RunOnce, and by placing executables, scripts, or .lnk files in the Startup folder.
Stealth
4 techniquesSkilled attackers continually seek out new attack vectors while employing evasion techniques to maintain the effectiveness of old vectors in an ever-changing defensive landscape... numerous threat actors employ obfuscation frameworks... In June 2017, the Advanced Practices Team identified FIN7 ... testing a novel obfuscation technique native to cmd.exe.
FIN12 has also used process injection to execute payloads in a more privileged context.
APT28 has performed timestomping on victim files. APT29 has used timestomping to alter the Standard Information timestamps on their web shells to match other files in the same directory. APT32 has used scheduled task raw XML with a backdated timestamp... APT38 has modified data timestamps to mimic files that are in the same folder on a compromised host.
APT32 ... often downloads this second stage using the regsvr32.exe remote download technique known as “Squiblydoo”. To evade rigid signatures for this technique that rely on command line argument values /i:http:// or /i:https:// being present, APT32 first used cmd.exe’s escape character, the caret (^), and then in this later example used double quotes to break up these arguments.
Defense Impairment
1 techniqueCredential Access
4 techniquesAADInternals can gather unsecured credentials for Azure AD services, such as Azure AD Connect, from a local machine. Agent Tesla has the ability to extract credentials from configuration or support files. APT3 has a tool that can locate credentials in files on the file system such as those from Firefox or Chrome.
The content repeatedly describes threat actors and malware stealing usernames, passwords, cookies, session tokens, and other saved credentials from web browsers such as Chrome, Firefox, Internet Explorer, Edge, Opera, Safari, and Yandex.
there are cases when we would like to fetch the user’s password, or their TGT (Ticket Granting Ticket) for Kerberos.
AS-REP Roasting Attack Explained - MITRE ATT&CK T1558.004 ... It exploits a vulnerability in Kerberos when the 'Do not require Kerberos preauthentication' setting is enabled. This vulnerability allows adversaries to extract user hashes, enabling them to decrypt passwords offline.
Discovery
4 techniquesUse in conjunction with other contextual indicators, for example detect Network discovery and Lateral movement attempts by unusual hassh such as those used by Paramiko, Powershell, Ruby, Meterpreter, Empire.
The content repeatedly describes malware and threat actors obtaining lists of running processes, using utilities such as tasklist, ps, WMI, Get-Process, CreateToolhelp32Snapshot, EnumProcesses, and similar APIs/commands to enumerate active processes on victim systems.
Ember Bear gathers victim system information such as enumerating the volume of a given device; Frankenstein used Empire to gather various local system information; many malware entries state they collect system information from compromised hosts.
APT38 has collected browser bookmark information to learn more about compromised hosts, obtain personal information about users, and acquire details about internal network resources.
Lateral Movement
2 techniques"CrackMapExec can execute PowerShell commands via WMI," "Empire also contains the ability to conduct PowerShell remoting with the Invoke-PSRemoting module," and "In the Triton Safety Instrumented System Attack, TEMP.Veles used a publicly available PowerShell-based tool, WMImplant."
Use in conjunction with other contextual indicators, for example detect Network discovery and Lateral movement attempts by unusual hassh such as those used by Paramiko, Powershell, Ruby, Meterpreter, Empire.
Command and Control
5 techniquesAnd if everything works well, we’ll get that beacon communicating to our front end servers.
The content repeatedly describes threat actors, malware, and campaigns using HTTP and/or HTTPS for command and control, including examples such as BlackEnergy communicating with C2 over HTTP POST requests and many other families using HTTP/S for C2.
The adversaries had communicated to both Dropbox and Pastebin. APT28 has used Google Drive for C2. APT37 leverages social networking sites and cloud platforms (AOL, Twitter, Yandex, Mediafire, pCloud, Dropbox, and Box) for C2.
The decrypted payload executes regsvr32.exe to download the secondary payload, an SCT file, from one domain. The SCT file then executes a PowerShell encoded command to download a staged Empire agent from a second domain.
The content repeatedly describes malware and threat actors using SSL, TLS, HTTPS, RSA, AES, Blowfish, RC4, ECIES, Diffie-Hellman, OpenSSL, WolfSSL, and mutual TLS to protect command and control traffic.
Exfiltration
2 techniquesADVSTORESHELL exfiltrates data over the same channel used for C2... Agrius exfiltrated staged data using tools such as Putty and WinSCP, communicating with command and control servers... numerous malware and groups sent victim data, files, credentials, or host information over existing C2 channels.
Akira will exfiltrate victim data using applications such as Rclone. APT41 DUST exfiltrated collected information to OneDrive. BoomBox can upload data to dedicated per-victim folders in Dropbox. During C0015, the threat actors exfiltrated files and sensitive data to the MEGA cloud storage site using the Rclone command.
IOCs tracked for this family
7 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Full values are available in Mallory.
IPs, domains, and DNS infrastructure linked to this family.
File hashes (MD5, SHA-1, SHA-256) from samples and reports.
Other indicator types observed in public reporting.
Recent activity
159 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
Post-exploitation framework used by APT28 alongside other implants in targeted intrusions.
Open-source post-exploitation framework referenced as used by Sednit in a 2021 parallel-implant setup (separate infrastructure from Graphite).
A post-exploitation framework noted here for including a dylib hijacker module that can generate a malicious dylib for vulnerable applications.
Empire is a post-exploitation and command and control framework for Windows, supporting PowerShell agents and used for lateral movement, persistence, and data exfiltration.
The version that knows your environment.
Match every observed IP, domain, and hash against your live telemetry.
Named campaigns wielding this family, with evidence pinned to each claim.
CVEs this family uses for access and lateral movement.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Every documented technique, ranked by evidence weight.
Reddit, Mastodon, and CTI community discussion around this family.