This hunt detects adversary activity involving five specific Indicators of Compromise (IOCs) linked to the TonRAT remote access trojan, which is known for establishing persistent backdoors and exfiltrating sensitive data. The SOC team should proactively search for these IOCs in Azure Sentinel to identify early-stage infections before attackers can leverage the trojan’s capabilities to move laterally or escalate privileges within the environment.
Malware Family: TonRAT Total IOCs: 5 IOC Types: domain
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| domain | driveponsphoto.info | payload_delivery | 2026-07-25 | 100% |
| domain | hakdfgklsdk833ksd.com | payload_delivery | 2026-07-25 | 100% |
| domain | photo-drivedisk.com | payload_delivery | 2026-07-25 | 100% |
| domain | jokesprite.info | payload_delivery | 2026-07-25 | 100% |
| domain | haobbao.com | payload_delivery | 2026-07-25 | 100% |
// Hunt for DNS queries to known malicious domains
// Source: ThreatFox - TonRAT
let malicious_domains = dynamic(["driveponsphoto.info", "hakdfgklsdk833ksd.com", "photo-drivedisk.com", "jokesprite.info", "haobbao.com"]);
DnsEvents
| where Name has_any (malicious_domains)
| project TimeGenerated, Computer, Name, IPAddresses, QueryType
| order by TimeGenerated desc
| Sentinel Table | Notes |
|---|---|
DnsEvents | Ensure this data connector is enabled |
Here are specific false positive scenarios and corresponding filters for the ThreatFox: TonRAT IOCs detection rule in an enterprise environment:
Scenario: Scheduled Antivirus or EDR Definition Updates
ProcessName matches known security agents (e.g., FalconSensor.exe, MsMpEng.exe) AND StartTime falls within the configured maintenance window (e.g., 02:00–04:00 UTC).Scenario: Legitimate Remote Administration via PowerShell
http://internal-repo.corp.com/tonrat-config.xml), and this URL matches a TonRAT network IOC, it generates a false positive.Domain Admins or IT_Ops security group AND the command line contains keywords like -Download, -Update, or specific internal domain suffixes (e.g., .corp.com).Scenario: Third-Party Software Deployment via SCCM/Intune