This hypothesis targets the presence of Quasar RAT, a remote access trojan that grants adversaries persistent control to execute commands and exfiltrate data from compromised endpoints. Proactively hunting for these IOCs in Azure Sentinel is critical because Quasar RAT is frequently deployed in initial access chains, allowing attackers to establish a foothold and pivot laterally before traditional detections trigger.
Malware Family: Quasar RAT Total IOCs: 3 IOC Types: md5_hash, sha1_hash, sha256_hash
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| sha1_hash | 1f37d2345e765100b8dc628bb6ce098472891fe0 | payload | 2026-09-08 | 95% |
| md5_hash | b1ceadb93463f22943f9677aa330f15a | payload | 2026-09-08 | 95% |
| sha256_hash | 1b68d68b9fd200183c69084e91fe53bd5dca5c501bce1bbf1894034bc69fafe6 | payload | 2026-09-08 | 95% |
// Hunt for files matching known malicious hashes
// Source: ThreatFox - Quasar RAT
let malicious_hashes = dynamic(["1f37d2345e765100b8dc628bb6ce098472891fe0", "b1ceadb93463f22943f9677aa330f15a", "1b68d68b9fd200183c69084e91fe53bd5dca5c501bce1bbf1894034bc69fafe6"]);
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 |
msiexec.exe, setup.exe from trusted publishers) or filter by specific trusted vendor names (e.g., TeamViewer.exe, AnyDesk.exe) if their binary hashes match the IOC list.Task Scheduler jobs running quasar_update.bat or a helper binary named quasar_helper.exe) used for log rotation, disk cleanup, or configuration syncs may trigger the rule if the binary’s SHA-256 hash matches a known Quasar RAT sample.
C:\Program Files\InternalTools\, C:\Scripts\Maintenance\) and the parent process is svchost.exe or taskeng.exe with a known trusted user account (e.g., DOMAIN\svc-maintenance).quasar_rat.exe from a threat intelligence repo) on dev VMs or test servers.
dev, test, or lab in your CMDB or asset inventory, or filter by user accounts belonging to dev-team