This detection rule identifies adversary activity linked to the Gentlemen threat actor by monitoring for eight specific Indicators of Compromise (IOCs) known to signal their presence within the environment. Proactively hunting for these signatures in Azure Sentinel is critical because early identification allows the SOC team to rapidly contain potential intrusions before they escalate into significant data breaches or lateral movement campaigns.
Malware Family: Gentlemen Total IOCs: 8 IOC Types: md5_hash
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| md5_hash | 5f319c7e83b8daa6836b8ae674c8e0e6 | payload | 2026-07-08 | 100% |
| md5_hash | 6add66a89721e2b7d817ba0d0f0d660e | payload | 2026-07-08 | 100% |
| md5_hash | 55adc1b1cd21895765d8aff36d894382 | payload | 2026-07-08 | 100% |
| md5_hash | 15ced19102f80a843c22480e362c8811 | payload | 2026-07-08 | 100% |
| md5_hash | 50d6a53992cb7d6eb09bc71294e5a68f | payload | 2026-07-08 | 100% |
| md5_hash | 71f152d84b2928c6163724de1cb6fae3 | payload | 2026-07-08 | 100% |
| md5_hash | 4a9837dd830f8db27380836ef3a6adec | payload | 2026-07-08 | 100% |
| md5_hash | f3c6ca1ba97b7f94ab52584dc62ea691 | payload | 2026-07-08 | 100% |
// Hunt for files matching known malicious hashes
// Source: ThreatFox - Gentlemen
let malicious_hashes = dynamic(["5f319c7e83b8daa6836b8ae674c8e0e6", "6add66a89721e2b7d817ba0d0f0d660e", "55adc1b1cd21895765d8aff36d894382", "15ced19102f80a843c22480e362c8811", "50d6a53992cb7d6eb09bc71294e5a68f", "71f152d84b2928c6163724de1cb6fae3", "4a9837dd830f8db27380836ef3a6adec", "f3c6ca1ba97b7f94ab52584dc62ea691"]);
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: Gentlemen IOCs detection rule, tailored for an enterprise environment:
Endpoint Protection Policy Updates via Central Management Console
Gentlemen IOCs because the vendor’s signature database includes known benign hashes from the Gentlemen campaign that are also present in standard security tool configurations.10.20.50.x) or whitelist the hash of the update agent executable (UpdateAgent.exe) running under the SYSTEM account during business hours.Enterprise Software Deployment via SCCM/Intune
ccmexec.exe service or specific SCCM task sequences (TaskSequenceID: TS-2023-GENT). Additionally, filter out events where the parent process is identified as a known deployment orchestrator tool.Scheduled Backup and Archiving Jobs