This detection rule identifies the presence of four specific indicators of compromise linked to the Ghost Remote Access Trojan (RAT), which adversaries deploy to establish persistent access and exfiltrate sensitive data from compromised endpoints. A proactive hunt in Azure Sentinel is critical because Ghost RAT often operates stealthily within legitimate network traffic, requiring early identification of these IOCs to prevent lateral movement and potential data breaches before they escalate.
Malware Family: Ghost RAT Total IOCs: 4 IOC Types: domain, ip:port
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| ip:port | 191[.]223[.]42[.]34:53 | botnet_cc | 2026-08-26 | 75% |
| domain | shdufysuf.com | botnet_cc | 2026-08-26 | 100% |
| ip:port | 64[.]118[.]132[.]233:22 | botnet_cc | 2026-08-26 | 75% |
| domain | airuhuo.xyz | botnet_cc | 2026-08-26 | 100% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - Ghost RAT
let malicious_ips = dynamic(["191.223.42.34", "64.118.132.233"]);
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(["191.223.42.34", "64.118.132.233"]);
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 - Ghost RAT
let malicious_domains = dynamic(["shdufysuf.com", "airuhuo.xyz"]);
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 for the ThreatFox: Ghost RAT IOCs detection rule, including suggested filters and exclusions:
Scenario: Security Team Manual IOC Hunting
Initiating Process belongs to known security management tools (e.g., defender-sensor.exe, splunkd.exe) or where the User Account matches a specific “SOC_Admin” group. Alternatively, add a tag-based exclusion for events marked with Tag: ThreatIntel_Test.Scenario: Scheduled Endpoint Vulnerability Scanning
NT SERVICE\TenableAgent). Filter out alerts where the Parent Process is the vulnerability scanner’s agent executable.Scenario: Automated Software Deployment via Configuration Management