This detection rule identifies adversary activity involving the KrDownloader tool by monitoring for three specific indicators of compromise (IOCs) known to facilitate initial access and payload delivery. Proactively hunting for these IOCs in Azure Sentinel is critical because KrDownloader often serves as a precursor to advanced threats, allowing SOC teams to intercept early-stage intrusions before they escalate into full-scale compromises.
Malware Family: KrDownloader Total IOCs: 3 IOC Types: sha1_hash, md5_hash, sha256_hash
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| sha256_hash | 0a4750223a0c04e5a41b474eaf776a4b10129f498b1cf76693b2e54955361f8c | payload | 2026-08-25 | 95% |
| sha1_hash | 4783e4bcbd97b4927afae1d8160222b53452831c | payload | 2026-08-25 | 95% |
| md5_hash | 7825ed42fd7c9d92b93f420b1653e8e9 | payload | 2026-08-25 | 95% |
// Hunt for files matching known malicious hashes
// Source: ThreatFox - KrDownloader
let malicious_hashes = dynamic(["0a4750223a0c04e5a41b474eaf776a4b10129f498b1cf76693b2e54955361f8c", "4783e4bcbd97b4927afae1d8160222b53452831c", "7825ed42fd7c9d92b93f420b1653e8e9"]);
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 specific false positive scenarios and corresponding exclusions for the ThreatFox: KrDownloader IOCs detection rule in an enterprise environment:
Legitimate Admin Script Execution via PowerShell
PowerShell.exe to download configuration templates or update manifests from an internal repository. The script utilizes the standard Windows Invoke-WebRequest cmdlet, which may trigger network connections matching KrDownloader’s IOCs (specifically certain User-Agent strings or TLS fingerprints).PowerShell.exe and the command line contains specific internal domain keywords (e.g., -URI "https://internal-corp.com/..."). Additionally, filter out if the process hash matches a known whitelisted script hash stored in your CMDB.Automated Patch Management via SCCM or Intune
ccmsetup.exe (SCCM) or Microsoft.Insights.Client.exe (Intune). Further refine by excluding traffic destined for specific internal IP ranges known to host the distribution points, ensuring only external connections matching KrDownloader IOCs are flagged.Scheduled Backup Agent Connectivity