This hunt targets adversary behavior characterized by the deployment of Quasar Remote Access Trojan (RAT) indicators to establish persistent command-and-control channels and exfiltrate sensitive data. Proactively hunting for these specific IOCs within Azure Sentinel is critical to detect early-stage compromise before the malware leverages its full capabilities for lateral movement and credential theft.
Malware Family: Quasar RAT Total IOCs: 5 IOC Types: sha256_hash, ip:port, md5_hash, sha1_hash
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| ip:port | 194[.]59[.]31[.]123:4444 | botnet_cc | 2026-06-28 | 50% |
| sha1_hash | 8c00b490332ca6af591294e1b2ffd01e708c612f | payload | 2026-06-27 | 95% |
| md5_hash | 2549dc1f259917a6179f726de0ed45e7 | payload | 2026-06-27 | 95% |
| sha256_hash | feea6bd8a190f0820c19df24b870a205d5799a9c75ace8044542496650a91ef0 | payload | 2026-06-27 | 95% |
| ip:port | 209[.]25[.]141[.]24:1425 | botnet_cc | 2026-06-27 | 100% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - Quasar RAT
let malicious_ips = dynamic(["194.59.31.123", "209.25.141.24"]);
CommonSecurityLog
| where DestinationIP in (malicious_ips) or SourceIP in (malicious_ips)
| project TimeGenerated, SourceIP, DestinationIP, DestinationPort, DeviceAction, Activity
| order by TimeGenerated desc
// Hunt in Defender for Endpoint network events
let malicious_ips = dynamic(["194.59.31.123", "209.25.141.24"]);
DeviceNetworkEvents
| where RemoteIP in (malicious_ips)
| project Timestamp, DeviceName, RemoteIP, RemotePort, InitiatingProcessFileName, ActionType
| order by Timestamp desc
// Hunt for files matching known malicious hashes
// Source: ThreatFox - Quasar RAT
let malicious_hashes = dynamic(["8c00b490332ca6af591294e1b2ffd01e708c612f", "2549dc1f259917a6179f726de0ed45e7", "feea6bd8a190f0820c19df24b870a205d5799a9c75ace8044542496650a91ef0"]);
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 |
|---|---|
CommonSecurityLog | Ensure this data connector is enabled |
DeviceFileEvents | Ensure this data connector is enabled |
DeviceNetworkEvents | Ensure this data connector is enabled |
Here are specific false positive scenarios for the ThreatFox: Quasar RAT IOCs detection rule, tailored for an enterprise environment:
Endpoint Security Scanning of Quarantine Archives
\ProgramData\Microsoft\Windows Defender\Scans\Quarantine or specific EDR service accounts (e.g., NT SERVICE\MsMpEng) from triggering alerts on these specific IOCs, as the context indicates a controlled scanning operation rather than active infection.Software Supply Chain Updates via Configuration Management
ccmexec.exe (SCCM) or ansible-runner, combined with a whitelist of specific file hashes associated with the approved software update package version being deployed that day.Automated Threat Intelligence Feed Synchronization