Empire
- Type
- Backdoor
- Capabilities
- Credential theftPersistencePrivilege escalationLateral movementPost exploitationDefense evasionReconnaissanceProcess injection
- Delivery
- Lure
- Platforms
- Windows
Empire, also known as PowerShell Empire, is an open-source post-exploitation and adversary-emulation framework used by penetration testers, red teams, and malicious operators. It provides staged agent deployment, command-and-control communications, and interactive remote control of compromised systems. PowerShell and Python versions have been used operationally, with extensive capabilities for compromising Windows and Active Directory environments.
Empire includes a Mimikatz implementation for extracting credentials from memory, modules for obtaining private keys and saved session information, and PowerSploit functionality for requesting Kerberos service tickets and returning hashes suitable for offline cracking. It supports pass-the-hash authentication, process injection, local privilege-escalation exploits, and exploitation of remote SMB, JBoss, and Jenkins services. Account-creation modules can establish local or domain users when sufficient permissions are available, enabling persistent credentialed access. Its collection functionality includes browser-history gathering. Observed deployment chains have used malicious Word templates to load Empire and multistage execution to download agents; Empire-associated PowerShell payloads have also been Base64-obfuscated.
Documented malicious users include APT28, CopyKittens, Frankenstein, WIRTE, and Play ransomware operators. Empire supports espionage and financially motivated post-compromise operations, but its availability and legitimate security uses make its presence insufficient for attribution to a particular threat actor.
Associated vulnerabilities
2 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
26 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Families swept: Cobalt Strike, Empire / Starkiller, Metasploit, Loader panels (shared/commodity tooling, attribution scored below)
CopyKittens has used Metasploit and Empire for post-exploitation activities.
CopyKittens has used Metasploit and Empire for post-exploitation activities.
CopyKittens has used Metasploit and Empire for post-exploitation activities.
CopyKittens has used Metasploit and Empire for post-exploitation activities.
As of 2021, APT28 has been observed using commercially available code repositories, and post-exploit frameworks such as Empire. This included the use of Powershell Empire, in addition to Python versions of Empire.
+20 more in the app. View in Mallory
Techniques & procedures
138 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
2 techniques
Resource Development
Attackers purchased domains to be used as a command and control.
Adversaries may buy, steal, or download software tools that can be used during targeting. Tools can be open or closed source, free or commercial.
Initial Access
4 techniques
Initial Access
T1078.003 Defense Evasion, Initial Access, Persistence, Privilege Escalation Valid Accounts: Local Accounts net user /add user1 XXXXX
This time the hackers went after Android developers, largely in Ukraine, using phishing emails and attachments laced with malware designed to exploit known Microsoft Office vulnerabilities and plant a common hacking framework known as Powershell Empire.
As suggested, the first stage of the attack likely uses a spear phishing email to lure victims into opening an Excel file... MITRE ATT&CK Techniques ... Initial Access T1566.001 Phishing: Spear phishing Attachment
Over the course of the conversation, the threat actors sent a malicious PDF that contained a link to another document with a list of questions to be discussed during the meeting.
Execution
22 techniques
Execution
Lateral movementATT&CK Technique: Windows Management Instrumentation (T1047) ... Lateral movement is performed by leveraging the Windows Management Instrumentation (WMI) command line utility (wmic.exe) to facilitate command execution on remote systems.
Persistence matrix 1 Technique Count Frameworks Scheduled Task/Job 7/10
The content repeatedly describes malware and threat actors creating, modifying, or invoking Windows scheduled tasks via Task Scheduler or schtasks for persistence, execution, and lateral movement.
PSinjectの仕組み自体は以前実装したことがあり、Unmanaged Codeから.NET CLRを起動し、CLR経由でManaged Codeを実行する
The stager file hides its window and changes the PowerShell execution policy.
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.
Execution matrix 1 Technique Count Frameworks Windows Command Shell 10/10
A JavaScript and VBScript Based Empire Launcher... Both Launchers run within their own embedded PowerShell Host, so we don't need PowerShell.exe... Then run: wscript.exe StarFighter.js or StarFighter.vbs on Target
A JavaScript and VBScript Based Empire Launcher... Empire PowerShell Host build by Cn33liz and embedded within JavaScript using DotNetToJScript... Then run: wscript.exe StarFighter.js or StarFighter.vbs on Target
The content is a MITRE ATT&CK-style listing of many malware families and threat groups using Windows/native OS APIs for execution, injection, discovery, anti-debugging, and other actions, ending with 'NtCreateProcess' and 'fork()'.
Empire ... Trusted Developer Utilities Proxy Execution: MSBuild ...
Attacks began with spear-phishing emails that delivered an Excel downloader containing a remote code execution exploit (CVE-2021-40444).
using phishing emails and attachments laced with malware designed to exploit known Microsoft Office vulnerabilities and plant a common hacking framework known as Powershell Empire.
Annotations ID Technique Tactic T1204.003 Malicious Image Execution Default Configuration
It then uses the DCE/RPC interface over SMB to access the Windows Service Control Manager API. That operation starts the PSExec ‘service’ on the remote machine and creates a named pipe that can be used to send commands to the system.
Denis exploits a security vulnerability to load a fake DLL and execute its code. Empire contains modules that can discover and exploit various DLL hijacking opportunities. PowerSploit contains a collection of Privesc-PowerUp modules that can discover and exploit DLL hijacking opportunities in services and processes.
"AppleJeus ... has also used DLL search order hijacking via the IKEEXT service, running with LocalSystem privileges, to load the TAXHAUL DLL for persistence." / "APT41 ... has used search order hijacking to execute malicious payloads" / "Cinnamon Tempest has used search order hijacking to launch Cobalt Strike Beacons."
Empire ... Hijack Execution Flow: Dylib Hijacking ...
Empire ... Hijack Execution Flow: Path Interception by PATH Environment Variable ...
Empire ... Hijack Execution Flow: Path Interception by Search Order Hijacking ...
Empire ... Hijack Execution Flow: Path Interception by Unquoted Path ...
They also replaced the ImagePath registry value of a Windows service with a new backdoor binary.
Persistence
19 techniques
Persistence
Persistence matrix 1 Technique Count Frameworks Scheduled Task/Job 7/10
The content repeatedly describes malware and threat actors creating, modifying, or invoking Windows scheduled tasks via Task Scheduler or schtasks for persistence, execution, and lateral movement.
T1078.003 Defense Evasion, Initial Access, Persistence, Privilege Escalation Valid Accounts: Local Accounts net user /add user1 XXXXX
net user /add user1 XXXXX
reg add HKCU\Software\Classes\CLSID\{D9144DCD- E998-4ECA-AB6A-DCD83CCBA16D}\InProcServer32
APT3 has been known to create or enable accounts, such as support_388945a0 . ... APT5 has created Local Administrator accounts to maintain access ... DarkGate creates a local user account, SafeMode, via net user commands.
Adversaries may create a local account to maintain access to victim systems. ... Such accounts may be used to establish secondary credentialed access that do not require persistent remote access tools to be deployed on the system.
Adversaries may create a domain account to maintain access to victim systems. With a sufficient level of access, the net user /add /domain command can be used to create a domain account.
On PCs there are ordinary boot-sector viruses, which infect only the DOS boot sector, and MBR viruses which infect the Master Boot Record on fixed disks...
The second main category of viruses is SYSTEM or BOOT-RECORD INFECTORS: these viruses infect executable code found in certain system areas on a disk.
CreateProcessWithLogonW ... provides a native way to spawn a new process with different network-only credentials ... the built in Windows utility, runas, is a simple wrapper around CreateProcessWithLogonW and the /NETONLY flag provides a native way to spawn a new process with different network-only credentials.
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.
Persistence matrix 2 Technique Count Framework WMI Event Subscription 4/10
Empire ... Event Triggered Execution: Accessibility Features ...
Persistence matrix 2 Technique Count Framework Image File Execution Options Injection 1/10 • Empire
The follow-up malware will override the CLSID '{D9144DCD-E998-4ECA-AB6A-DCD83CCBA16D}' to gain persistence in the victims' system, performing a COM Hijacking technique.
The content repeatedly describes malware and threat actors establishing persistence by adding values under Registry Run keys such as HKCU\Software\Microsoft\Windows\CurrentVersion\Run and HKLM\Software\Microsoft\Windows\CurrentVersion\Run, and by placing shortcuts or files in Startup folders.
Empire ... Boot or Logon Autostart Execution: Security Support Provider ...; Mimikatz ... Boot or Logon Autostart Execution: Security Support Provider ...
Adversaries may create or modify shortcuts that can execute a program during system boot or user login. Adversaries may abuse shortcuts in the startup folder to execute their tools and achieve persistence.
Privilege Escalation
21 techniques
Privilege Escalation
Persistence matrix 1 Technique Count Frameworks Scheduled Task/Job 7/10
The content repeatedly describes malware and threat actors creating, modifying, or invoking Windows scheduled tasks via Task Scheduler or schtasks for persistence, execution, and lateral movement.
ReflectivePick allows PowerShell Empire to inject and bootstrap PowerShell into any running process... Empire allows you to inject an agent into any process by remotely bootstrapping PowerShell.
APT28 has exploited CVE-2014-4076, CVE-2015-2387, CVE-2015-1701, CVE-2017-0263, and CVE-2022-38028 to escalate privileges.
T1078.003 Defense Evasion, Initial Access, Persistence, Privilege Escalation Valid Accounts: Local Accounts net user /add user1 XXXXX
net user /add user1 XXXXX
Access Token Manipulation (ATT&CK technique: T1134) ... this section will explain how attackers can abuse access tokens and target the fundamental trust relationships in Windows domains to compromise entire networks.
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.
Empire ... Access Token Manipulation: Create Process with Token ...
Empire ... Access Token Manipulation: SID-History Injection ...; Mimikatz ... Access Token Manipulation: SID-History Injection ...
Empire ... Domain or Tenant Policy Modification: Group Policy Modification ...
CreateProcessWithLogonW ... provides a native way to spawn a new process with different network-only credentials ... the built in Windows utility, runas, is a simple wrapper around CreateProcessWithLogonW and the /NETONLY flag provides a native way to spawn a new process with different network-only credentials.
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.
Persistence matrix 2 Technique Count Framework WMI Event Subscription 4/10
Empire ... Event Triggered Execution: Accessibility Features ...
Persistence matrix 2 Technique Count Framework Image File Execution Options Injection 1/10 • Empire
The follow-up malware will override the CLSID '{D9144DCD-E998-4ECA-AB6A-DCD83CCBA16D}' to gain persistence in the victims' system, performing a COM Hijacking technique.
The content repeatedly describes malware and threat actors establishing persistence by adding values under Registry Run keys such as HKCU\Software\Microsoft\Windows\CurrentVersion\Run and HKLM\Software\Microsoft\Windows\CurrentVersion\Run, and by placing shortcuts or files in Startup folders.
Empire ... Boot or Logon Autostart Execution: Security Support Provider ...; Mimikatz ... Boot or Logon Autostart Execution: Security Support Provider ...
Adversaries may create or modify shortcuts that can execute a program during system boot or user login. Adversaries may abuse shortcuts in the startup folder to execute their tools and achieve persistence.
The content repeatedly describes malware and threat actors that 'bypass UAC,' 'perform UAC bypass,' or use specific Windows components such as fodhelper.exe, eventvwr.exe, sdclt.exe, CMSTPLUA COM interface, SilentCleanup, and registry hijacks to gain elevated privileges.
Stealth
26 techniques
Stealth
Using a series of heavily obfuscated scripts controlled by a remote backend...
Empire ... Obfuscated Files or Information: Command Obfuscation ...
ReflectivePick allows PowerShell Empire to inject and bootstrap PowerShell into any running process... Empire allows you to inject an agent into any process by remotely bootstrapping PowerShell.
When the actor finished operating with the tools in the victims’ systems, he started to clean some of the tools used
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.
T1078.003 Defense Evasion, Initial Access, Persistence, Privilege Escalation Valid Accounts: Local Accounts net user /add user1 XXXXX
Empire ... Trusted Developer Utilities Proxy Execution: MSBuild ...
Access Token Manipulation (ATT&CK technique: T1134) ... this section will explain how attackers can abuse access tokens and target the fundamental trust relationships in Windows domains to compromise entire networks.
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.
Empire ... Access Token Manipulation: Create Process with Token ...
Empire ... Access Token Manipulation: SID-History Injection ...; Mimikatz ... Access Token Manipulation: SID-History Injection ...
powershell -EncodedCommand ... is a way to execute base64 encoded powershell code
Then run: wscript.exe StarFighter.js or StarFighter.vbs on Target, or DoubleClick the launchers within Explorer.
One of most significant recent developments in sophisticated offensive operations is the use of “Living off the Land” (LotL) techniques by attackers. These techniques leverage legitimate tools present on the system, such as the PowerShell scripting language, in order to execute attacks.
Technique 7 – Installutil.exe This method can be executed in like this: InstallUtil.exe /U C:\poc\evil.dll ... Update – 12.01.2018: ... this method is indeed able to bypass the default rules ... the tool compiles a InstallUtil payload ... I got a remote shell
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.
On PCs there are ordinary boot-sector viruses, which infect only the DOS boot sector, and MBR viruses which infect the Master Boot Record on fixed disks...
The second main category of viruses is SYSTEM or BOOT-RECORD INFECTORS: these viruses infect executable code found in certain system areas on a disk.
Denis exploits a security vulnerability to load a fake DLL and execute its code. Empire contains modules that can discover and exploit various DLL hijacking opportunities. PowerSploit contains a collection of Privesc-PowerUp modules that can discover and exploit DLL hijacking opportunities in services and processes.
"AppleJeus ... has also used DLL search order hijacking via the IKEEXT service, running with LocalSystem privileges, to load the TAXHAUL DLL for persistence." / "APT41 ... has used search order hijacking to execute malicious payloads" / "Cinnamon Tempest has used search order hijacking to launch Cobalt Strike Beacons."
Empire ... Hijack Execution Flow: Dylib Hijacking ...
Empire ... Hijack Execution Flow: Path Interception by PATH Environment Variable ...
Empire ... Hijack Execution Flow: Path Interception by Search Order Hijacking ...
Empire ... Hijack Execution Flow: Path Interception by Unquoted Path ...
They also replaced the ImagePath registry value of a Windows service with a new backdoor binary.
The file was embedded into a Graphite shellcode task used to reflectively load the executable into the memory of the process and execute it.
Defense Impairment
5 techniques
Defense Impairment
reg add HKCU\Software\Classes\CLSID\{D9144DCD- E998-4ECA-AB6A-DCD83CCBA16D}\InProcServer32
Empire ... Domain or Tenant Policy Modification: Group Policy Modification ...
T1562.001 Defense Evasion Impair Defenses: Disable or Modify Tools
After running PowerDump, the group quickly deleted PowerShell event logs to erase records generated by Script Block Logging.
T1562.010 Defense Evasion Impair Defenses: Downgrade Attack
Credential Access
18 techniques
Credential Access
Adversaries may attempt to dump credentials to obtain account login and credential material, normally in the form of a hash or a clear text password, from the operating system and software.
OS Credential Dumping: LSASS Memory T1003.001 Basic description The subtechnique known as OS Credential Dumping: LSASS Memory T1003.001 is used by attackers to obtain credentials in a Windows OS.
reg save hklm\system c:\windows\temp\tmpsystl /y reg save hklm\security c:\windows\temp\tmpsectl /y reg save hklm\sam c:\windows\temp\tmpsmstl /y
Empire ... Network Sniffing ...
The content is a catalog of malware families and threat actors that 'can perform keylogging,' 'log keystrokes,' 'capture keystrokes,' or use 'keylogger' modules/tools.
Empire ... Input Capture: Credential API Hooking ...
Some of these criminals were dealing with the penetration effort, using multiple mechanisms to compromise IT networks, including brute force attacks, SQL injections, stolen credentials and phishing emails with malicious attachments.
"...extract credentials from configuration or support files." / "...search for files containing passwords." / "...obtained administrative credentials by browsing through local files..."
Adversaries may search for private key certificate files on compromised systems for insecurely stored credentials.
AADInternals 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... APT33 has used a variety of publicly available tools like LaZagne to gather credentials.
Empire ... Credentials from Password Stores: Keychain ...
Agent Tesla can gather credentials from a number of browsers... APT3 has used tools to dump passwords from browsers... APT41 used BrowserGhost, a tool designed to obtain credentials from browsers, to retrieve information from password stores... TrickBot can obtain passwords stored in files from web browsers such as Chrome, Firefox, Internet Explorer, and Microsoft Edge
Empire ... Adversary-in-the-Middle: LLMNR/NBT-NS Poisoning and SMB Relay ...
there are cases when we would like to fetch the user’s password, or their TGT (Ticket Granting Ticket) for Kerberos.
Empire ... Steal or Forge Kerberos Tickets: Golden Ticket ...; Mimikatz ... Steal or Forge Kerberos Tickets: Golden Ticket ...
Empire ... Steal or Forge Kerberos Tickets: Silver Ticket ...; Mimikatz ... Steal or Forge Kerberos Tickets: Silver Ticket ...
Adversaries possessing a valid Kerberos ticket-granting ticket (TGT) may request one or more Kerberos ticket-granting service (TGS) service tickets for any SPN from a domain controller (DC).
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
23 techniques
Discovery
T1007 Discovery System Service Discovery
reg query HKCU\\Software\\Classes\\CLSID\\
AdFind can extract subnet information from Active Directory; actors used ipconfig /all, netsh.exe, ifconfig, arp, route, nbtstat, and related APIs/commands to gather IP, MAC, DNS, DHCP, gateway, proxy, routing, ARP, and adapter information.
To test if the computer can reach the Internet, a ping command towards Google’s DNS (Domain Name System) (8.8.8.8) is executed.
Get-DataInfo.ps1 is a reconnaissance PowerShell script that has been used regularly by FIN12. This script scans the network to identify all active hosts...
The content repeatedly describes malware and threat actors collecting the username, identifying the current user, enumerating logged-on users, or running commands such as whoami, query user, and quser to determine user context on compromised systems.
Empire ... Network Sniffing ...
Tools such as Cobalt Strike, Empire, WinSCP, Advanced IP Scanner and Advanced Port Scanner (and their forks) are often observed in active PYSA engagements.
T1049 Discovery System Network Connections Discovery netstat netstat -n
Tasklist can be used to discover processes running on a system. Numerous malware families and threat groups are described as listing running processes, collecting PIDs, checking for specific process names, or enumerating loaded modules.
the operators gathered more information about the users in the Administrators group
The content repeatedly describes malware and threat actors collecting OS version, computer name, architecture, CPU, memory, disk, BIOS, language, and other host details; examples include use of commands such as ver, systeminfo, hostname, uname -m, and WMI to gather host information.
The content is a long ATT&CK-style listing of groups and malware that can 'list files and directories,' 'search for files,' 'enumerate drives,' 'gather file metadata,' or 'browse file systems' on compromised hosts.
Multiple actors and tools are described enumerating domain users/admins via Windows net commands (e.g., net user /domain, net group "Domain Admins" /domain), LDAP/AD queries (e.g., Get-ADUser, Get-ADGroupMember), and AD enumeration utilities (e.g., AdFind, BloodHound, AD Explorer).
Continuing in the reconnaissance stage of the attack, the operators gathered more information about the users in the Administrators group
the domain information about the current user
reg query HKEY_USERS\S-1-5-21- ***\software\microsoft\office\16.0\Outlook\Profiles \Outlook
APT1 listed connected network shares. APT32 used the net view command to show all shares available, including the administrative shares such as C$ and ADMIN$. APT41 used the net share command as part of network reconnaissance.
Empire-style browser history retrieval; profile enumeration.
AdFind ... Domain Trust Discovery ...; BloodHound ... Domain Trust Discovery ...; Empire ... Domain Trust Discovery ...; Nltest ... Domain Trust Discovery ...
finally they listed all the software installed
Adversaries may attempt to get a listing of security software, configurations, defensive tools, and sensors that are installed on a system or in a cloud environment.
BloodHound ... Group Policy Discovery ...; Empire ... Group Policy Discovery ...
Lateral Movement
8 techniques
Lateral Movement
Lateral Movement Techniques • Use RDP, PsExec and WMI
SMB-based lateral generally starts by copying a payload to the remote target. | Unfortunately, this is where SMB steps in and provides options for abuse.
Cobalt Strike ... Remote Services: Distributed Component Object Model ...; Empire ... Remote Services: Distributed Component Object Model ...
APT39 used secure shell (SSH) to move laterally among their targets... APT5 has used SSH for lateral movement... Aquatic Panda used SSH with captured user credentials to move laterally... FIN7 has used SSH to move laterally... Scattered Spider has used SSH to move laterally... UNC3886 has established remote SSH access to targeted ESXi hosts.
Empire also contains the ability to conduct PowerShell remoting with the Invoke-PSRemoting module.
“CVE-2020-1472, also known as ZeroLogon, allows for compromising a vulnerable operating system and executing commands as a privileged user.” | “CVE-2021-34527, also known as PrintNightmare… enabling remote access to a vulnerable OS and high-privilege command execution.”
“The APT1 group is known to have used pass the hash.” / “APT28 has used pass the hash for lateral movement.” / “CrackMapExec can pass the hash to authenticate via SMB.” / “Mimikatz's SEKURLSA::Pth module can impersonate a user, with only a password hash…”
This would have eventually provided network access to the DoppelPayer actors who would then have used Cobalt Strike and PowerShell Empire to spread the ransomware laterally through the rest of the network.
Collection
11 techniques
Collection
Once all is clear to the attacker, we observed the attacker harvesting for data and documents with topics of interest.
The content is a catalog of malware families and threat actors that 'can perform keylogging,' 'log keystrokes,' 'capture keystrokes,' or use 'keylogger' modules/tools.
Empire ... Input Capture: Credential API Hooking ...
The content is a MITRE ATT&CK-style listing of malware and threat actors that "can capture screenshots," "take screenshots," "perform screen captures," or "watch the victim's screen." It ends with references to "CopyFromScreen" and "xwd."
T1114.001 Collection Email Collection: Local Email Collection reg query HKEY_USERS\S-1-5-21- ***\software\microsoft\office\16.0\Outlook
"The attacker creates a forwarding rule in the target's mailbox... That when triggered with an email that matches the rule criteria... Will execute an application... Usually hosted on a remote WebDav server"
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.
Agent Tesla can access the victim’s webcam and record video. AsyncRAT can record screen content on targeted systems. Bandook has modules that are capable of capturing video from a victim's webcam. ... ZxShell has a command to perform video device spying.
Empire ... Adversary-in-the-Middle: LLMNR/NBT-NS Poisoning and SMB Relay ...
Add-Type -Assembly System.IO.Compression.FileSystem [IO.Compression.ZipFile]::CreateFromDirectory([folderPath], [zipFilePath])
Command and Control
13 techniques
Command and Control
Command and Control Data Obfuscation Empire
Most cyber activity by malicious actors requires infrastructure like servers on the internet. Some APT groups used several thousand Command and Control (C2) servers over the years. | Also, this article covers only HTTP(S) based infrastructure.
The content is a long ATT&CK-style listing showing numerous malware families and threat groups that 'use HTTP,' 'use HTTPS,' 'HTTP POST requests,' 'HTTP GET requests,' or 'HTTP/S' for command and control communications.
The backdoor stub downloads more obfuscated code, establishing a proxy connection to the command and control server
CloudFlare WorkerをリダイレクタとしたC2環境を構築し、Stager経由でC2セッションを張る
DropboxC2C is a post-exploitation agent which uses Dropbox Infrastructure for command and control operations.
Empire ... Web Service: Bidirectional Communication ...
Adversaries created multiple stages to obfuscate the command-and-control channel and to make detection more difficult.
Stager経由でC2セッションを張る
...на устройство жертвы загружается малварь, а атакующие получают удаленный доступ к системе.
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.
The data is compressed using the LZNT1 algorithm and encrypted with a hardcoded AES-256-CBC key with a random IV. The operator tasks are encoded in the same way.
Phase: Command and Control — Standard Cryptographic Protocol — Empire
Exfiltration
4 techniques
Exfiltration
Empire ... Automated Exfiltration ...
ADVSTORESHELL exfiltrates data over the same channel used for C2.
Empire ... Exfiltration Over Web Service: Exfiltration to Code Repository ...
The attacker uses an Azure Active Directory application to configure a victim endpoint with the permissions needed to exfiltrate data to the attacker’s own Microsoft OneDrive storage.
Observables
36 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
200 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.