This hunt targets adversaries leveraging Ghost RAT to establish command-and-control persistence and exfiltrate sensitive data following initial compromise via phishing or malicious downloads. Proactively hunting for these specific IOCs in Azure Sentinel is critical because early detection of this high-severity remote access trojan can prevent long-term unauthorized system control before significant data loss occurs.
Malware Family: Ghost RAT Total IOCs: 3 IOC Types: md5_hash, sha1_hash, sha256_hash
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| md5_hash | 8d9fa801432654ebfe456974bb355bd2 | payload | 2026-07-18 | 95% |
| sha256_hash | 6aa982f7c6167752e8f58083dc5f1c11ff0aa63b3c3d2e192009cce2cef84ee0 | payload | 2026-07-18 | 95% |
| sha1_hash | 875108112d2fdfbdb04d75bbbe993b1ce8aea140 | payload | 2026-07-18 | 95% |
// Hunt for files matching known malicious hashes
// Source: ThreatFox - Ghost RAT
let malicious_hashes = dynamic(["8d9fa801432654ebfe456974bb355bd2", "6aa982f7c6167752e8f58083dc5f1c11ff0aa63b3c3d2e192009cce2cef84ee0", "875108112d2fdfbdb04d75bbbe993b1ce8aea140"]);
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 |
|---|---|
DeviceFileEvents | Ensure this data connector is enabled |
Here are 5 specific false positive scenarios for the ThreatFox: Ghost RAT IOCs detection rule in an enterprise environment, along with recommended filters or exclusions:
Legitimate Software Deployment via SCCM/Intune
HKLM\Software, and establishes outbound connections to known update servers, mimicking the initial infection behavior of Ghost RAT arriving via a software download.C:\Program Files\Microsoft Configuration Manager) and whitelist specific SHA-256 hashes of the official installer executables known to be part of the approved deployment pipeline.Scheduled Administrative Maintenance Jobs
TaskScheduler.exe or specific service accounts (e.g., DOMAIN\svc_backup_user) and limit detection to non-business hours if the activity aligns with known maintenance windows defined in the IT calendar.IT Helpdesk Remote Support Sessions