This detection rule identifies adversary activity involving three specific Indicators of Compromise (IOCs) linked to the DarkVision Remote Access Trojan (RAT), which attackers use to establish persistent access and execute command-and-control communications within compromised endpoints. Proactively hunting for these IOCs in Azure Sentinel is critical because early identification of DarkVision RAT presence allows the SOC team to rapidly isolate affected systems, preventing lateral movement and potential data exfiltration before the adversary can fully entrench its capabilities.
Malware Family: DarkVision RAT Total IOCs: 3 IOC Types: sha1_hash, md5_hash, sha256_hash
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| sha256_hash | 2a67ec9b4db3954e30b1fa26fe87dea4f89ce4d011415e00d48f3200c9fe1f88 | payload | 2026-08-25 | 95% |
| sha1_hash | 1b0614ebdc81d0a98e5c8c6013d6a0596be2ec2d | payload | 2026-08-25 | 95% |
| md5_hash | 1150457afc7e499c3937a0f2bc430c29 | payload | 2026-08-25 | 95% |
// Hunt for files matching known malicious hashes
// Source: ThreatFox - DarkVision RAT
let malicious_hashes = dynamic(["2a67ec9b4db3954e30b1fa26fe87dea4f89ce4d011415e00d48f3200c9fe1f88", "1b0614ebdc81d0a98e5c8c6013d6a0596be2ec2d", "1150457afc7e499c3937a0f2bc430c29"]);
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: DarkVision RAT IOCs detection rule, including targeted filters and exclusions suitable for an enterprise environment:
Scenario: Endpoint Protection Scanning of Quarantine Archives
Quarantine folder where previously isolated DarkVision artifacts are stored. The detection logic may trigger because the IOCs exist within these static archives rather than active execution.\ProgramData\Microsoft\Windows Defender\Support\Quarantine\ or specific EDR quarantine directories from the rule scope. Additionally, filter out events where the ProcessName is the EDR service itself (e.g., MsMpEng.exe, FalconSensorService) and the ParentImage indicates a scheduled maintenance job.Scenario: Legacy Admin Script Execution via Scheduled Tasks
TaskScheduler.exe where the command line contains known internal script paths (e.g., C:\Scripts\Ops\DailyCheck.ps1). Filter events where the UserAccount is a service account with the prefix svc_ or admin_ops and the process duration exceeds 60 seconds, indicating a batch job rather than an interactive user session.Scenario: Software Deployment via Configuration Management Tools