This hunt detects adversary activity involving the Nanocore Remote Access Trojan by identifying specific indicators of compromise such as malicious file hashes and network connections. Proactively hunting for these IOCs in Azure Sentinel is critical to rapidly identify and contain potential remote access compromises that could lead to data exfiltration or lateral movement within the enterprise environment.
Malware Family: Nanocore RAT Total IOCs: 6 IOC Types: md5_hash, sha256_hash, sha1_hash
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| md5_hash | ae5b3e0e621abf17d9f80f51638897cb | payload | 2026-08-02 | 95% |
| sha256_hash | 0628a7d09dd681ab6e1d0c904f8c7f2d3fb48183a4a57a7cfeaf4350b01406aa | payload | 2026-08-02 | 95% |
| sha1_hash | c67acc0f58d6f97f0fb07bf54a995cb7268d126b | payload | 2026-08-02 | 95% |
| md5_hash | 1a5e935a2545bde844f7aa04d6bce296 | payload | 2026-08-02 | 95% |
| sha1_hash | 31943eb5d52b7f2af3f21db0a2d078899274033b | payload | 2026-08-02 | 95% |
| sha256_hash | 0ec1ed0daf72e7f3b2a9afb44d8e2de77b97b126788e54e0cb948cc176de91ba | payload | 2026-08-02 | 95% |
// Hunt for files matching known malicious hashes
// Source: ThreatFox - Nanocore RAT
let malicious_hashes = dynamic(["ae5b3e0e621abf17d9f80f51638897cb", "0628a7d09dd681ab6e1d0c904f8c7f2d3fb48183a4a57a7cfeaf4350b01406aa", "c67acc0f58d6f97f0fb07bf54a995cb7268d126b", "1a5e935a2545bde844f7aa04d6bce296", "31943eb5d52b7f2af3f21db0a2d078899274033b", "0ec1ed0daf72e7f3b2a9afb44d8e2de77b97b126788e54e0cb948cc176de91ba"]);
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: Nanocore RAT IOCs detection rule, along with suggested filters and exclusions tailored for an enterprise environment:
Scenario: Automated Endpoint Protection Scanning
C:\Program Files directory.FalconSensor.exe, S1Service.exe, or MsMpEng.exe) and the activity occurs during the defined maintenance window (02:00–04:00 local time).Scenario: Corporate Software Deployment via SCCM/Intune
Process Name of the deployment agent (e.g., ccmsetup.exe, Microsoft.IntuneManagementExtension) and filter out alerts where the file path contains \AppData\Local\Temp\ or \CCMCache\.Scenario: Scheduled Backup and Archiving Jobs