This detection identifies adversaries leveraging memory dumping tools to extract sensitive data or credentials from running processes within Azure Sentinel workloads. Proactively hunting for this behavior is critical because even low-severity memory extraction activities often serve as a precursor to advanced credential theft and lateral movement campaigns that may evade standard signature-based defenses.
rule memdump_diablo
{
meta:
author = "@patrickrolsen"
reference = "Process Memory Dumper - DiabloHorn"
strings:
$s1 = "DiabloHorn"
$s2 = "Process Memory Dumper"
$s3 = "pid-%s.dmp"
$s4 = "Pid %d in not acessible" // SIC
$s5 = "memdump.exe"
$s6 = "%s-%d.dmp"
condition:
uint16(0) == 0x5A4D and 3 of ($s*)
}
This YARA rule can be deployed in the following contexts:
This rule contains 6 string patterns in its detection logic.
Here are 4 specific false positive scenarios for the memdump_diablo detection rule in an enterprise environment, including suggested filters and exclusions:
Endpoint Detection and Response (EDR) Memory Scanning
svchost.exe or browser engines) as part of their routine “memory integrity” checks, mimicking the behavior of a malicious memory dumper.C:\Program Files\CrowdStrike\fsagent.exe or MsMpEng.exe). Additionally, filter events where the parent process is the EDR service and the target memory dump filename contains standard vendor naming conventions (e.g., ending in .falcon_dump or _defender_mem).Automated Performance Diagnostics via Windows Task Scheduler
procdump.exe (part of Sysinternals) or custom PowerShell scripts. These jobs are triggered during off-peak hours (e.g., 02:00 AM) to capture memory states of high-resource applications (like SQL Server or Exchange) for performance trending, which triggers the YARA rule’s detection logic for active memory dumping.svchost.exe with a known scheduled task name (identifiable