Empire
PowerShell Empire is a publicly available post-exploitation framework and malware family that relies primarily on PowerShell for client-side agent tasks and provides a command-line interface for operator interaction. The content states that it supports PowerShell remoting via the Invoke-PSRemoting module, can use Dropbox and GitHub for command-and-control, and can encrypt its C2 traffic with TLS. Reported capabilities include automatic collection of host metadata such as username, domain name, and machine name; enumeration of usernames and local/domain user account information; harvesting clipboard data on Windows and macOS; capturing webcam data on Windows and macOS; gathering browser data such as bookmarks and visited sites; sending collected data over its C2 channel; timestomping files or payloads; modifying service binaries and restoring them to their original state; and using modules to search for files containing passwords. The content also notes GetSystem functionality implemented via PowerShell using PowerSploit's Get-System.ps1. Empire has been observed in multiple intrusion contexts: it has been distributed by the SocGholish/FakeUpdates/GhoLoader malware loader, used by APT19 as a publicly available tool, deployed by Sednit/APT28 in parallel with the Graphite implant in a 2021 campaign, installed via SCT files that execute encoded PowerShell to download a staged Empire agent, referenced in AppleScript-based delivery on macOS, used by Sandworm to target Android developers in Ukraine, and used by Vice Society actors for lateral movement. High-confidence examples in the content tie it to Windows and macOS systems and to both criminal and state-linked operations.
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.
For example, in the 2021 campaign documented by Trellix, Sednit deployed two implants in parallel: Graphite, which used OneDrive as its C&C channel, and PowerShell Empire, which relied on separate dedicated infrastructure.
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.
Techniques & procedures
37 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 technique
Resource Development
Execution
7 techniques
Execution
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.
If you want to use the script in PowerShell Empire, then you can run it on the agent by switching to the command line (shell) mode.
Although it is categorized as an Execution technique in the MITRE ATT&CK framework, the T1059.001 PowerShell technique can be used for Defense Evasion. Attackers use PowerShell to: bypassing Antimalware Scan Interface (AMSI) disabling Script Block Logging to prevent detection disabling Windows Defender downloading and running malware payloads in memory executing sophisticated codes without installing extra software injecting malicious code into legitimate processes manipulating access tokens
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.
Persistence
5 techniques
Persistence
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.
Across the content, malware repeatedly 'adds Registry Run keys', 'creates Registry entries', 'modifies the Windows Registry', or 'overwrites registry keys' to maintain persistence.
Both tools first attempt to use “named pipe impersonation” to achieve SYSTEM privileges. This involves creating a Windows Service to execute as NT AUTHORITY\SYSTEM and feeding data to it through a named pipe that is randomly created by the malicious payload.
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 techniques
Privilege Escalation
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.
Both tools first attempt to use “named pipe impersonation” to achieve SYSTEM privileges. This involves creating a Windows Service to execute as NT AUTHORITY\SYSTEM and feeding data to it through a named pipe that is randomly created by the malicious payload.
Both tools first attempt to use “named pipe impersonation” to achieve SYSTEM privileges. This involves creating a Windows Service to execute as NT AUTHORITY\SYSTEM and feeding data to it through a named pipe that is randomly created by the malicious payload.
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
5 techniques
Stealth
Skilled 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.
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.
Both tools first attempt to use “named pipe impersonation” to achieve SYSTEM privileges. This involves creating a Windows Service to execute as NT AUTHORITY\SYSTEM and feeding data to it through a named pipe that is randomly created by the malicious payload.
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 technique
Defense Impairment
Credential Access
3 techniques
Credential Access
there are cases when we would like to fetch the user’s password, or their TGT (Ticket Granting Ticket) for Kerberos.
Kerberoasting TL;DR: Attackers request service tickets for accounts tied to high-privileged services. They then extract and crack these tickets offline to retrieve the plaintext password.
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
7 techniques
Discovery
The content repeatedly describes malware and threat actors using commands and APIs such as ipconfig /all, ifconfig, arp -a, route print, nbtstat, netsh, GetAdaptersInfo, and GetIpNetTable to gather IP addresses, MAC addresses, DNS, DHCP, gateways, routing tables, ARP cache, proxy settings, domains, and network adapter/interface details.
The content repeatedly describes malware and threat actors collecting usernames, identifying logged-in users, running whoami/query user/quser, checking whether the current user is an administrator, enumerating user sessions, and gathering account details from compromised hosts.
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.
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.
Empire can automatically gather the username, domain name, machine name, and other information from a compromised system... Operation Wocao, threat actors used a script to collect information about the infected system... RotaJakiro executes a set of commands to collect device information and sends the collected information to the C2 server.
The content repeatedly describes malware and threat actors listing files and directories, enumerating drives, searching for files by extension/name/path, retrieving file metadata, and browsing file systems (for example: "APT28 has used Forfiles to locate PDF, Excel, and Word documents during collection" and "cmd can be used to find files and directories with native functionality such as dir commands").
Lateral Movement
2 techniques
Lateral Movement
"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."
Collection
3 techniques
Collection
Agent Tesla can steal data from the victim’s clipboard. APT38 used a Trojan called KEYLIME to collect data from the clipboard. APT39 has used tools capable of stealing contents of the clipboard.
Agrius used a custom tool, sql.net4.exe, to query SQL databases and then identify and extract personally identifiable information... AppleSeed has automatically collected data from USB drives, keystrokes, and screen images before exfiltration... Ember Bear engages in mass collection from compromised systems during intrusions.
Command and Control
6 techniques
Command and Control
And if everything works well, we’ll get that beacon communicating to our front end servers.
The content repeatedly describes threat actors and malware using HTTP and HTTPS for command and control, such as: "Sandworm Team used BlackEnergy to communicate between compromised hosts and their command-and-control servers via HTTP post requests."
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.
Если пользователь устанавливает такое «обновление», на устройство жертвы загружается малварь
Exfiltration
1 technique
Exfiltration
ADVSTORESHELL 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.
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
168 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
Post-exploitation framework previously distributed via SocGholish.
Named malware/tool family deployed via SocGholish.
Post-exploitation framework used by APT28 alongside other implants in targeted intrusions.
An open-source post-exploitation framework used by Sednit in parallel with Graphite in a 2021 campaign, relying on separate dedicated infrastructure.
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.