This detection rule identifies adversary behavior associated with the WannaCryptor ransomware family by monitoring for specific indicators of compromise such as file encryption patterns and cryptocurrency transaction signals within Azure Sentinel. Proactively hunting for these IOCs is critical to enable early intervention before widespread data encryption occurs, thereby minimizing operational downtime and preventing potential financial loss from ransom demands.
Malware Family: WannaCryptor Total IOCs: 12 IOC Types: md5_hash, sha256_hash, sha1_hash
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| md5_hash | c3f59fc053ff6ade13667c98d808b9ba | payload | 2026-08-02 | 95% |
| sha256_hash | 7fb8b06a9ac3c0c6b475948d1b981586cea76a2fc53f57c54163352fd90f0c63 | payload | 2026-08-02 | 95% |
| sha1_hash | b86596258e715a1e6847a2e67f4346fe15eb1712 | payload | 2026-08-02 | 95% |
| md5_hash | 4eedba281d6273d442925536aa61b3df | payload | 2026-08-02 | 95% |
| sha1_hash | 5961d2b84eced872ba81a0a270b0f7a49dddab7b | payload | 2026-08-02 | 95% |
| sha256_hash | 656a5cf0c4ea3a166c813b24dc4bce8403afb4305504805d654764712caf5a96 | payload | 2026-08-02 | 95% |
| sha1_hash | f2930bf9aa785c2f10884dd59e814e33eef096fb | payload | 2026-08-02 | 95% |
| md5_hash | 301b4c0650787760609a2f4535ab9ff3 | payload | 2026-08-02 | 95% |
| sha256_hash | 9be73437f744884e7ee2af167deb9ffb93551419c2ad9b4f8852d3f7c5f3bb8b | payload | 2026-08-02 | 95% |
| md5_hash | 91269eb3c084956392ddaf6a60139fd5 | payload | 2026-08-02 | 95% |
| sha1_hash | 6e96fe30490bed142959566daf8be3f66bd3645c | payload | 2026-08-02 | 95% |
| sha256_hash | 9d769ee6c8365659c7a703f221caab25f1a972bf1324dc3623d08e2eaa5b4856 | payload | 2026-08-02 | 95% |
// Hunt for files matching known malicious hashes
// Source: ThreatFox - WannaCryptor
let malicious_hashes = dynamic(["c3f59fc053ff6ade13667c98d808b9ba", "7fb8b06a9ac3c0c6b475948d1b981586cea76a2fc53f57c54163352fd90f0c63", "b86596258e715a1e6847a2e67f4346fe15eb1712", "4eedba281d6273d442925536aa61b3df", "5961d2b84eced872ba81a0a270b0f7a49dddab7b", "656a5cf0c4ea3a166c813b24dc4bce8403afb4305504805d654764712caf5a96", "f2930bf9aa785c2f10884dd59e814e33eef096fb", "301b4c0650787760609a2f4535ab9ff3", "9be73437f744884e7ee2af167deb9ffb93551419c2ad9b4f8852d3f7c5f3bb8b", "91269eb3c084956392ddaf6a60139fd5", "6e96fe30490bed142959566daf8be3f66bd3645c", "9d769ee6c8365659c7a703f221caab25f1a972bf1324dc3623d08e2eaa5b4856"]);
DeviceFileEvents
| where SHA256 in (malicious_hashes) or SHA1 in (malicious_hashes) or MD5 in (malicious_hashes)
| project Timestamp, DeviceName, FileName, FolderPath, SHA256, InitiatingProcessFileName
| order by Timestamp desc
| Sentinel Table | Notes |
|---|---|
DeviceFileEvents | Ensure this data connector is enabled |
Here are 4 specific false positive scenarios for the ThreatFox: WannaCryptor IOCs rule, tailored for an enterprise environment with suggested filters and exclusions:
Scenario: Scheduled Antivirus Full Scans on Shared Drives
SYSTEM account on known backup servers (e.g., Hostname: DC-BACKUP-01) during the maintenance window (e.g., 02:00–04:00). Specifically, exclude process hashes associated with MsMpEng.exe or Symantec Antivirus Console when they interact with .docx, .xlsx, and .pdf extensions on mapped drives.Scenario: Automated Document Conversion via Office 365 Pro Plus
OfficeClickToRun.exe frequently performs batch conversions of legacy documents (e.g., converting .doc to .docx) or updates templates. This activity involves rapid file creation and modification that can trigger IOCs related to mass file encryption or extension changes typical of ransomware.OfficeClickToRun.exe (or winword.exe) and the user context is a known service account (e.g., CN=Office-Service-Account). Additionally, exclude file extensions that are part of the standard Office suite conversion chain (.doc,