This hunt identifies potential Quasar RAT infections by correlating known indicators of compromise with asset telemetry, targeting a remote access tool frequently used for persistent command-and-control. Proactively hunting for these IOCs is critical because Quasar RAT enables adversaries to execute arbitrary commands and exfiltrate data, often serving as a foothold for deeper network compromise if left undetected.
Malware Family: Quasar RAT Total IOCs: 5 IOC Types: domain, sha1_hash, sha256_hash, md5_hash, ip:port
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| domain | update.ddns.net | botnet_cc | 2026-09-21 | 75% |
| ip:port | 41[.]41[.]128[.]115:5005 | botnet_cc | 2026-09-21 | 100% |
| md5_hash | cba5d54230e862787080f0b881f38b2f | payload | 2026-09-21 | 95% |
| sha256_hash | c16923aa6b647fe1b8e8b2879fc251e48d1f09b34351056d7afe83b18efcdbf6 | payload | 2026-09-21 | 95% |
| sha1_hash | 502d908a2040f5b23cbb087584247095c9cbb4a3 | payload | 2026-09-21 | 95% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - Quasar RAT
let malicious_ips = dynamic(["41.41.128.115"]);
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(["41.41.128.115"]);
DeviceNetworkEvents
| where RemoteIP in (malicious_ips)
| project Timestamp, DeviceName, RemoteIP, RemotePort, InitiatingProcessFileName, ActionType
| order by Timestamp desc
// Hunt for DNS queries to known malicious domains
// Source: ThreatFox - Quasar RAT
let malicious_domains = dynamic(["update.ddns.net"]);
DnsEvents
| where Name has_any (malicious_domains)
| project TimeGenerated, Computer, Name, IPAddresses, QueryType
| order by TimeGenerated desc
// Hunt for files matching known malicious hashes
// Source: ThreatFox - Quasar RAT
let malicious_hashes = dynamic(["cba5d54230e862787080f0b881f38b2f", "c16923aa6b647fe1b8e8b2879fc251e48d1f09b34351056d7afe83b18efcdbf6", "502d908a2040f5b23cbb087584247095c9cbb4a3"]);
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 |
DnsEvents | Ensure this data connector is enabled |
env:production and role:ci-cd-agent, or specifically whitelist the internal IP subnet (e.g., 10.20.0.0/24) where the build farm resides.svc-admin group membership, or filter out events where the parent process is powershell.exe or cmd.exe and the user context is DOMAIN\svc-*.role:security-testing or env:lab, and filter out events where the process name matches known analysis tools like volatility3 or yara.49152-65535 (ephemeral) and the