This hunt targets the presence of Ghost RAT, a remote access trojan that adversaries deploy to establish persistent remote control and exfiltrate sensitive data from compromised endpoints. Proactively hunting for these IOCs in Azure Sentinel allows the SOC to identify stealthy infections before the attacker leverages the backdoor for lateral movement or data exfiltration.
Malware Family: Ghost RAT Total IOCs: 2 IOC Types: ip:port
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| ip:port | 156[.]225[.]17[.]60:113 | botnet_cc | 2026-09-23 | 75% |
| ip:port | 156[.]225[.]17[.]60:2014 | botnet_cc | 2026-09-23 | 75% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - Ghost RAT
let malicious_ips = dynamic(["156.225.17.60"]);
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(["156.225.17.60"]);
DeviceNetworkEvents
| where RemoteIP in (malicious_ips)
| project Timestamp, DeviceName, RemoteIP, RemotePort, InitiatingProcessFileName, ActionType
| order by Timestamp desc
| Sentinel Table | Notes |
|---|---|
CommonSecurityLog | Ensure this data connector is enabled |
DeviceNetworkEvents | Ensure this data connector is enabled |
curl or wget to download a specific version of a Ghost RAT sample (e.g., ghost.exe) into a temporary directory (C:\Temp\) for sandbox analysis or threat hunting validation, triggering the IOC match on the file path or hash.
\Temp\, \Downloads\, or specific threat hunting directories (e.g., C:\ThreatHunt\) if the parent process is cmd.exe, powershell.exe, or curl.exe and the file age is less than 24 hours.ghost.dll or ghost.exe that was previously used as a placeholder or test artifact in a development environment.
powershell.exe or cmd.exe with a scheduled task ID (e.g., Task Scheduler or cron equivalent) associated with the execution context.RedTeam or PurpleTeam during known exercise windows, or exclude events where the user account belongs to the RedTeam security group.ghost.rat or specific hash) that was