Article
GRU targeting of logistics firms: advisory AA25-141A
CISA, NSA, FBI and partners describe a GRU campaign against Western logistics and technology firms: targets, phases, CVEs and the fixes they list.
Quick links
Press Enter to search, Esc to close
Malware profile
Impacket is a free, open source set of Python modules for working with network protocols.
In short
Impacket is a free, open source set of Python modules for working with network protocols. It includes tools for running commands on remote machines, dumping Windows credentials, working with Kerberos tickets, sniffing traffic and relaying logins. Defenders see it mostly because attackers, including state actors and ransomware groups named in CISA advisories, use it once they are inside a network.
Impacket is not malware on its own. MITRE describes it as an open source collection of modules, and CISA and partners list it among the "open-source and dual-use tools" used by an attacker group. Because it is public, it can be used by many different actors.
CISA explains that, through the Windows command shell, a user with valid credentials can run commands on a remote device using the Windows management protocols that enterprise networks need. That is why its use is hard to tell apart from normal activity without careful logging.
Public sources use several names for this malware.
| Name | Where it appears |
|---|---|
| Impacket | MITRE ATT&CK software S0357 and the CISA advisories AA22-277A, AA23-144A, AA24-038A, AA23-136A, AA24-109A, AA23-165A and AA24-207A[1, 2, 3, 4, 5, 6, 7, 8] |
What MITRE ATT&CK lists this malware as doing, by tactic. Each id opens our technique page where one exists, otherwise MITRE.
OS Credential Dumping: LSASS Memory T1003.001
The SecretsDump and Mimikatz modules inside Impacket can dump credentials to get account names and passwords.[1]
OS Credential Dumping: Security Account Manager T1003.002
The same credential dumping modules can pull account and password data from the Security Account Manager.[1]
OS Credential Dumping: NTDS T1003.003
The credential dumping modules can read account and password data from NTDS.dit. CISA and the FBI saw BianLian use secretsdump.py against a domain controller.[1, 5]
OS Credential Dumping: LSA Secrets T1003.004
The credential dumping modules can also collect account and password data from LSA secrets.[1]
Network Sniffing T1040
Impacket can sniff network traffic through an interface or a raw socket.[1]
Adversary-in-the-Middle: Name Resolution Poisoning and SMB Relay T1557.001
Modules such as ntlmrelayx and smbrelayx can gather NetNTLM credentials for cracking or relay attacks that can give code execution.[1]
Steal or Forge Kerberos Tickets: Kerberoasting T1558.003
Modules such as GetUserSPNs can list Service Principal Names for user accounts, in a format that cracking tools can use.[1]
Steal or Forge Kerberos Tickets: Ccache Files T1558.005
Tools such as getST.py and ticketer.py can steal or forge Kerberos tickets in ccache files, given a password, hash, aesKey or TGT.[1]
The sources do not describe Impacket as spreading by itself. In advisory AA22-277A, CISA says the actors used existing, compromised credentials with Impacket and tried to move to another system. In advisory AA23-136A, CISA and the FBI say BianLian actors used an Impacket tool, secretsdump.py, to move to a domain controller and collect credential hashes.
In an incident later described by CISA, APT actors used Impacket for network exploitation activities on a defense industrial base organization's network. The actors are not named.[2]
CISA responded to APT activity on the network of a Defense Industrial Base Sector organization. CISA says likely more than one APT group was present.[2]
CISA, the FBI and the NSA published "Impacket and Exfiltration Tool Used to Steal Sensitive Information from Defense Industrial Base Organization".[2]
CISA and partners published AA23-144A on a PRC state-sponsored actor also known as Volt Typhoon. It says the actor regularly uses Impacket's wmiexec and points to AA22-277A for detecting Impacket.[3]
CISA published its profile of LockBit, which lists Impacket among the tools used for lateral movement.[7]
CISA and partners published AA24-038A, which says industry partners observed Volt Typhoon leveraging Impacket.[4]
The FBI, CISA and partners published AA24-207A, listing Impacket among open-source and dual-use tools used by the North Korean group known publicly as Andariel.[8]
CISA and partners updated AA24-109A with new activity, saying Akira actors use Impacket to run the remote command wmiexec.py.[6]
An open source collection of Python modules for building and working with network protocols. MITRE says it contains tools for remote service execution, Kerberos manipulation, Windows credential dumping, packet sniffing and relay attacks.
Not by itself. MITRE lists it as a tool, and CISA and partners call it one of the open-source and dual-use tools used by an attacker group. What matters is who is running it.
CISA names Volt Typhoon (AA23-144A) and Andariel (AA24-207A), and lists it in advisories on BianLian, Akira and LockBit. MITRE also lists groups such as APT29, APT41, Magic Hound, Mustang Panda and Sandworm Team, mostly from vendor reports.
In AA22-277A, CISA saw wmiexec.py and smbexec.py, which run commands through WMI and SMB. In AA23-136A, the FBI saw secretsdump.py used to collect credential hashes from a domain controller.
CISA advisory AA22-277A carries MAR-10365227-1 with YARA rules and STIX files. CISA's AA23-144A points readers to it for detecting Impacket.
Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.