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.
What it does
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.
Names
Public sources use several names for this malware.
What it can do
The ATT&CK techniques the cited sources map to this tool, by tactic. Each id opens our technique page where one exists, otherwise MITRE.
Credential Access
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]
Execution
How it spreads
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.
Timeline
- April 2021
Impacket used in a defense network
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]
- November 2021 through January 2022
CISA incident response
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]
- October 4, 2022
CISA advisory AA22-277A
CISA, the FBI and the NSA published "Impacket and Exfiltration Tool Used to Steal Sensitive Information from Defense Industrial Base Organization".[2]
- May 24, 2023
Volt Typhoon advisory
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]
- June 14, 2023
LockBit profile
CISA published its profile of LockBit, which lists Impacket among the tools used for lateral movement.[7]
- February 7, 2024
Volt Typhoon in critical infrastructure
CISA and partners published AA24-038A, which says industry partners observed Volt Typhoon leveraging Impacket.[4]
- July 25, 2024
Andariel advisory
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]
- November 13, 2025
Akira advisory update
CISA and partners updated AA24-109A with new activity, saying Akira actors use Impacket to run the remote command wmiexec.py.[6]
Who uses it
- Threat group Andariel Attributed by the US, UK and South Korean governments to North Korea's Reconnaissance General Bureau, Andariel is described in a July 2024 joint advisory as stealing defense, aerospace and nuclear secrets and funding that work with ransomware against US healthcare. North Korea · Since 2009
- Threat group APT29 The US, UK and other governments have attributed APT29 to Russia's Foreign Intelligence Service (SVR). Russia · Since 2008
- Threat group APT35 MITRE ATT&CK describes APT35, also called Charming Kitten or Magic Hound, as an Iranian-sponsored espionage group likely working for the IRGC, and the UK NCSC and Germany's BfV describe its spear-phishing of academics, journalists, NGOs and critics of Iran. Iran · Since 2014
- Threat group APT41 MITRE describes APT41 as a Chinese state-sponsored espionage group, as researchers have assessed it, that also runs financially motivated operations. China · Since 2012
- Ransomware group BianLian BianLian is a ransomware and data extortion group that the FBI, CISA and Australia's ACSC say is likely based in Russia. Active · Since 2022 · Developer and deployer group with Russia-based affiliates
- Ransomware group Chaos Ransomware Group Chaos is a ransomware-as-a-service group that Cisco Talos says emerged as early as February 2025. Active · Since 2025 · Ransomware as a service
- Ransomware group Gunra Ransomware Group Gunra is a ransomware-as-a-service operation that the FBI first observed in April 2025, derived from leaked Conti code. Active · Since 2025 · Ransomware as a service
- Ransomware group LockBit LockBit is a ransomware as a service operation first seen in January 2020. Disrupted · Since 2020 · Ransomware as a service
- Threat group menuPass Attributed by the US, UK and EU governments to a China-based group working with the Ministry of State Security, menuPass (APT10) is known for reaching companies through their managed service providers. China · Since 2006
- Threat group Mustang Panda MITRE ATT&CK describes Mustang Panda as a China-based cyber espionage threat actor, and the US Department of Justice, citing court documents, says the PRC government paid the group to develop a version of PlugX. China · Since 2012
- Threat group Sandworm The US, UK and EU governments attribute this group to Russian military intelligence (GRU Unit 74455). Russia · Since 2009
- Threat group Volt Typhoon Attributed by the US government and its Five Eyes partners to a People's Republic of China state-sponsored actor, Volt Typhoon is described in US advisories as pre-positioning inside critical infrastructure IT networks to be able to disrupt operations in a crisis. China · Since 2021
- Ransomware group Warlock Warlock is a ransomware family that Microsoft says a China-based actor it tracks as Storm-2603 deployed in July 2025 after exploiting on-premises SharePoint servers. Since 2025 · Not stated by the sources
Detection and defense
What Brandefense can do
- Scan your domain in Brandefense Atlas, free
Atlas checks public sources for leaked credentials, phishing domains, dark web mentions and data sales, then gives your domain a risk grade. Free, no sign-up.
- Cyber Threat Intelligence
Brandefense Cyber Threat Intelligence tracks malware families and the infrastructure they use, and shares indicators your team can check against its own systems.
Frequently Asked Questions
What is Impacket?
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.
Is Impacket malware?
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.
Who uses Impacket?
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.
Which Impacket tools did CISA see in use?
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.
Where are the official detection resources?
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.
Sources
- Impacket, Software S0357MITRE ATT&CK · Supports: Description, platforms, techniques and the groups MITRE lists for Impacket.
- Impacket and Exfiltration Tool Used to Steal Sensitive Information from Defense Industrial Base Organization (AA22-277A)CISA with FBI and NSA · Supports: Impacket use, wmiexec.py and smbexec.py, timeline, detection and mitigation advice.
- PRC State-Sponsored Cyber Actor Living off the Land to Evade Detection (AA23-144A)CISA and partners · Supports: Volt Typhoon use of Impacket and pointer to detection guidance.
- PRC State-Sponsored Actors Compromise and Maintain Persistent Access to U.S. Critical Infrastructure (AA24-038A)CISA and partners · Supports: Volt Typhoon use of Impacket observed by industry partners.
- StopRansomware: BianLian Ransomware Group (AA23-136A)CISA and FBI · Supports: BianLian use of secretsdump.py from Impacket.
- StopRansomware: Akira Ransomware (AA24-109A)CISA, FBI and partners · Supports: Akira use of Impacket wmiexec.py.
- Understanding Ransomware Threat Actors: LockBit (AA23-165A)CISA and partners · Supports: Impacket listed among LockBit tools.
- North Korea Cyber Group Conducts Global Espionage Campaign (AA24-207A)FBI, CISA and partners · Supports: Impacket listed among tools used by the group known as Andariel.
