Potential Invoke-Mimikatz PowerShell Script

Last updated 8 days ago on 2026-01-26
Created 5 years ago on 2020-12-07

About

Mimikatz is a credential dumper capable of obtaining plaintext Windows account logins and passwords, along with many other features that make it useful for testing the security of networks. This rule detects PowerShell script content associated with Invoke-Mimikatz or Mimikatz.
Tags
Domain: EndpointOS: WindowsUse Case: Threat DetectionTactic: Credential AccessData Source: PowerShell LogsLanguage: kuery
Severity
critical
Risk Score
99
MITRE ATT&CK™

Credential Access (TA0006)(external, opens in a new tab or window)

License
Elastic License v2(external, opens in a new tab or window)

Definition

Rule Type
Query (Kibana Query Language)
Integration Pack
Prebuilt Security Detection Rules
Index Patterns
winlogbeat-*logs-windows.powershell*
Related Integrations

windows(external, opens in a new tab or window)

Query
text code block:
event.category:process and host.os.type:windows and powershell.file.script_block_text:( (DumpCreds and DumpCerts) or "sekurlsa::logonpasswords" or ("crypto::certificates" and "CERT_SYSTEM_STORE_LOCAL_MACHINE") )

Install detection rules in Elastic Security

Detect Potential Invoke-Mimikatz PowerShell Script in the Elastic Security detection engine by installing this rule into your Elastic Stack.

To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).