This detection identifies early-stage ransomware activity by monitoring for specific file encryption patterns and process behaviors defined in the Sigma Ransomware YARA rule. Proactively hunting for these indicators within Azure Sentinel is critical to validate the rule’s sensitivity against false positives and ensure rapid response before encryption spreads across tenant workloads.
rule sigma_ransomware {
meta:
author = "J from THL <j@techhelplist.com>"
date = "20180509"
reference1 = "https://www.virustotal.com/#/file/705ad78bf5503e6022f08da4c347afb47d4e740cfe6c39c08550c740c3be96ba"
reference2 = "https://www.virustotal.com/#/file/bb3533440c27a115878ae541aba3bda02d441f3ea1864b868862255aabb0c8ff"
version = 1
maltype = "Ransomware"
filetype = "memory"
strings:
$a = ".php?"
$b = "uid="
$c = "&uname="
$d = "&os="
$e = "&pcname="
$f = "&total="
$g = "&country="
$h = "&network="
$i = "&subid="
condition:
all of them
}
This YARA rule can be deployed in the following contexts:
This rule contains 9 string patterns in its detection logic.
Here are 5 specific false positive scenarios for the sigma_ransomware detection rule in an enterprise environment, including suggested filters or exclusions:
Enterprise Antivirus Real-Time Scanning
.quarantine or moving to a specific folder) simultaneously across thousands of endpoints during peak hours.process.name matches C:\Program Files\Microsoft Defender\MsMpEng.exe, CrowdStrike Falcon Sensor, or SentinelOne Agent.Scheduled Data Backup and Archiving Jobs
user.name is a dedicated backup account (e.g., svc_backup_prod) and the process path contains \Veeam\BackupService\ or \Commvault\Agent\.Software Deployment and Patch Management