This hunt detects adversary activity involving the Ghost Remote Access Trojan by identifying specific indicators of compromise that signal unauthorized remote access and potential data exfiltration. Proactively hunting for these IOCs in Azure Sentinel is critical to rapidly identify early-stage infections before they escalate into persistent threats capable of lateral movement within the cloud environment.
Malware Family: Ghost RAT Total IOCs: 3 IOC Types: md5_hash, sha256_hash, sha1_hash
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| sha1_hash | 199af4936e44ed894ea45b84500a84268792dca3 | payload | 2026-07-14 | 95% |
| md5_hash | f1a04ffaa889c11b99b33610e4a87dec | payload | 2026-07-14 | 95% |
| sha256_hash | 4f4d405d32d76a170ca2899c70b48ef6ffaaef792e024b6f8aab98d4ae55eae4 | payload | 2026-07-14 | 95% |
// Hunt for files matching known malicious hashes
// Source: ThreatFox - Ghost RAT
let malicious_hashes = dynamic(["199af4936e44ed894ea45b84500a84268792dca3", "f1a04ffaa889c11b99b33610e4a87dec", "4f4d405d32d76a170ca2899c70b48ef6ffaaef792e024b6f8aab98d4ae55eae4"]);
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 specific false positive scenarios for the ThreatFox: Ghost RAT IOCs detection rule, tailored for an enterprise environment:
Endpoint Protection Signature Updates via Microsoft Defender
C:\Program Files\Microsoft Defender directory and processes named MsMpEng.exe. Additionally, exclude network traffic where the destination IP belongs to Microsoft’s update content delivery network (e.g., *.update.microsoft.com).Enterprise Software Deployment via SCCM or Intune
ccmexec.exe or IntuneManagementExtension) extracts installation binaries that contain embedded scripts or helper libraries matching the Ghost RAT IOCs, triggering the detection before the software is fully installed and whitelisted.ccmexec.exe, Microsoft.IntuneManagementExtension.exe, or TaskScheduler (specifically tasks with names starting with “SoftwareUpdate_” or “AppDeployment_”).Internal Security Scanning by CrowdStrike Falcon Sensor