This hunt detects adversary activity involving the PureRAT remote access trojan by monitoring for specific indicators of compromise such as malicious IP addresses and file hashes within the Azure Sentinel environment. Proactively hunting for these IOCs is critical to identify early-stage infections that could lead to credential theft, lateral movement, or persistent unauthorized access before they escalate into a full-scale breach.
Malware Family: PureRAT Total IOCs: 7 IOC Types: domain, ip:port
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| ip:port | 45[.]9[.]12[.]6:443 | botnet_cc | 2026-08-26 | 75% |
| ip:port | 203[.]159[.]90[.]177:443 | botnet_cc | 2026-08-26 | 75% |
| ip:port | 176[.]96[.]138[.]2:443 | botnet_cc | 2026-08-26 | 75% |
| ip:port | 52[.]241[.]248[.]38:56001 | botnet_cc | 2026-08-26 | 75% |
| ip:port | 52[.]241[.]248[.]38:56002 | botnet_cc | 2026-08-26 | 75% |
| ip:port | 52[.]241[.]248[.]38:56003 | botnet_cc | 2026-08-26 | 75% |
| domain | pure8s.ddnsfree.com | botnet_cc | 2026-08-26 | 100% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - PureRAT
let malicious_ips = dynamic(["52.241.248.38", "45.9.12.6", "203.159.90.177", "176.96.138.2"]);
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(["52.241.248.38", "45.9.12.6", "203.159.90.177", "176.96.138.2"]);
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 - PureRAT
let malicious_domains = dynamic(["pure8s.ddnsfree.com"]);
DnsEvents
| where Name has_any (malicious_domains)
| project TimeGenerated, Computer, Name, IPAddresses, QueryType
| order by TimeGenerated desc
| Sentinel Table | Notes |
|---|---|
CommonSecurityLog | Ensure this data connector is enabled |
DeviceNetworkEvents | Ensure this data connector is enabled |
DnsEvents | Ensure this data connector is enabled |
Here are 5 specific false positive scenarios and corresponding filters/exclusions for the ThreatFox: PureRAT IOCs detection rule in an enterprise environment:
Scenario: Endpoint Protection Scanning of Quarantine Archives
C:\Program Files\CrowdStrike\FalconSensor\csfalcon.exe (or equivalent EDR service binaries) when they access files within the specific quarantine directory path (e.g., C:\Windows\System32\config\systemprofile\AppData\Local\Microsoft\Windows Defender\Support\Quarantine).Scenario: Automated Security Baseline Updates via SCCM
ccmexec.exe (SCCM) or Microsoft.IntuneManagementExtension.exe and the user context is NT SERVICE\CCMService.Scenario: Scheduled Malware Definition Refresh Jobs
Task Scheduler) runs nightly to download and apply new threat intelligence definitions from a central repository. If the PureRAT IOCs are part of the vendor’s definition package, the scheduled task execution will generate hits against these specific hashes or network connections.