This hunt detects adversary behavior involving the deployment of the Nanocore Remote Access Trojan (RAT) by monitoring for three specific indicators of compromise that enable persistent remote control and data exfiltration. A SOC team should proactively hunt for these IOCs in Azure Sentinel to identify early-stage infections before attackers can establish command-and-control channels or access sensitive assets within the cloud environment.
Malware Family: Nanocore RAT Total IOCs: 3 IOC Types: sha1_hash, sha256_hash, md5_hash
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| sha256_hash | 1c250ac3db43c8379591c0a1e8e428b972c1adda38eec2fb46376fb905e0a5e1 | payload | 2026-08-30 | 95% |
| sha1_hash | a7306d1131fc113334101d30db8b5b0fa376665b | payload | 2026-08-30 | 95% |
| md5_hash | df436f62af38b7a5bcd8a3368a9f110a | payload | 2026-08-30 | 95% |
// Hunt for files matching known malicious hashes
// Source: ThreatFox - Nanocore RAT
let malicious_hashes = dynamic(["1c250ac3db43c8379591c0a1e8e428b972c1adda38eec2fb46376fb905e0a5e1", "a7306d1131fc113334101d30db8b5b0fa376665b", "df436f62af38b7a5bcd8a3368a9f110a"]);
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 4 specific false positive scenarios for the ThreatFox: Nanocore RAT IOCs detection rule, including recommended filters and exclusions tailored for an enterprise environment:
Scenario: Endpoint Protection Policy Deployment via Microsoft Intune/SCCM
10.x.x.x) where the destination is the specific “Nanocore” application directory on client machines. Additionally, exclude process executions initiated by ccmexec.exe or msiexec.exe when the parent process is a known system service account (e.g., NT SERVICE\ccm).Scenario: Scheduled Backup Jobs for Legacy CRM Systems
01:30 and 05:00 on weekdays. Furthermore, add an exclusion for process names containing “NanocoreBackup” or specific Service Principal Names (SPNs) associated with the backup service account running these jobs.**Scenario: Software Update Mechanism for Internal Line