This detection identifies adversaries leveraging Mimikatz to create LSASS memory dumps, a technique used to extract credentials and facilitate lateral movement within the environment. Proactive hunting is essential in Azure Sentinel because these minidump operations often occur with low severity but can serve as a critical precursor to more severe credential theft incidents that may otherwise go unnoticed until after compromise.
rule mimikatz_lsass_mdmp
{
meta:
description = "LSASS minidump file for mimikatz"
author = "Benjamin DELPY (gentilkiwi)"
strings:
$lsass = "System32\\lsass.exe" wide nocase
condition:
(uint32(0) == 0x504d444d) and $lsass
}
This YARA rule can be deployed in the following contexts:
This rule contains 1 string patterns in its detection logic.
Here are 3-5 specific false positive scenarios for the LSASS minidump file for mimikatz detection rule, including suggested filters and exclusions:
Scenario: Scheduled Backup by Enterprise Endpoint Protection Suite
lsass.exe process to analyze credential theft risks or perform health checks. These tools generate minidump files in standard locations like C:\ProgramData\Microsoft\Windows Defender\Support.MsMpEng.exe, FalconSensorService.exe) or where the file path contains specific vendor directories.
ParentProcessName IN ('MsMpEng.exe', 'FalconSensorService.exe') AND FilePath CONTAINS '\Windows Defender\Support\'Scenario: Automated Health Monitoring by IT Operations Team
DOMAIN\svc-monitor) to collect LSASS memory dumps during off-hours for performance trending and capacity planning. This is often triggered by a scheduled Task Scheduler job named “LSASS_Health_Check”.UserName == 'DOMAIN\svc-monitor' AND CommandLine CONTAINS '--dump-type=memory'Scenario: Post-Patch Validation by System Administrators