This hunt detects adversary activity involving the Nanocore Remote Access Trojan by identifying matches against a curated set of twelve specific Indicators of Compromise (IOCs). Proactive hunting for these IOCs in Azure Sentinel is critical to rapidly identify and contain stealthy remote access capabilities that could enable lateral movement and data exfiltration within the enterprise network.
Malware Family: Nanocore RAT Total IOCs: 12 IOC Types: sha256_hash, sha1_hash, md5_hash
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| md5_hash | 6e0da4c118ec3a4e2c78f2382c7cf70d | payload | 2026-08-07 | 95% |
| sha256_hash | 722635285b6ed905f035850ac097bb619e4f6cf805bbd5d468f053e8f362bcfc | payload | 2026-08-07 | 95% |
| sha1_hash | e8eedbbae67af06f0b7929eb8be036c70015b0ad | payload | 2026-08-07 | 95% |
| sha1_hash | 0465401a1bc1b5efbf9d8bd8c3db20a3cc571111 | payload | 2026-08-07 | 95% |
| md5_hash | a0ebe1250b23cb60d919aa4e7dbd7e40 | payload | 2026-08-07 | 95% |
| sha1_hash | 717d84b07335ef125dd27c00ef3341933ae2a508 | payload | 2026-08-07 | 95% |
| md5_hash | f32f66f210c25ea6dd97348034bb698b | payload | 2026-08-07 | 95% |
| sha256_hash | 2055a6d22f882f79211a9209556b9d2e14498da87a112007e5fe0d3bf5cbd2fb | payload | 2026-08-07 | 95% |
| sha256_hash | 94c78e0d80e3364e1c90d6f5311e6e4104bfa8e831d3351ba8cb875620d0dc64 | payload | 2026-08-07 | 95% |
| md5_hash | 09683b2cb19f16818d0a60264663cac2 | payload | 2026-08-07 | 95% |
| sha256_hash | 89c3ba702d5c424a14c58c3809897b9fc0a66a84c9e4becd4363972e4077756b | payload | 2026-08-07 | 95% |
| sha1_hash | 0b77288fca4555e501c9cb4474cd689bee669c98 | payload | 2026-08-07 | 95% |
// Hunt for files matching known malicious hashes
// Source: ThreatFox - Nanocore RAT
let malicious_hashes = dynamic(["6e0da4c118ec3a4e2c78f2382c7cf70d", "722635285b6ed905f035850ac097bb619e4f6cf805bbd5d468f053e8f362bcfc", "e8eedbbae67af06f0b7929eb8be036c70015b0ad", "0465401a1bc1b5efbf9d8bd8c3db20a3cc571111", "a0ebe1250b23cb60d919aa4e7dbd7e40", "717d84b07335ef125dd27c00ef3341933ae2a508", "f32f66f210c25ea6dd97348034bb698b", "2055a6d22f882f79211a9209556b9d2e14498da87a112007e5fe0d3bf5cbd2fb", "94c78e0d80e3364e1c90d6f5311e6e4104bfa8e831d3351ba8cb875620d0dc64", "09683b2cb19f16818d0a60264663cac2", "89c3ba702d5c424a14c58c3809897b9fc0a66a84c9e4becd4363972e4077756b", "0b77288fca4555e501c9cb4474cd689bee669c98"]);
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, along with targeted filtering strategies suitable for an enterprise environment:
Scenario: Security Tool Signature Updates via Scheduled Tasks
C:\Program Files\CrowdStrike\fsquar.exe or C:\Windows\System32\svchost.exe) and restrict the alert to only fire if the process is not running under a known service account (e.g., NT SERVICE\).Scenario: Automated Backup Jobs Executing via PowerShell
powershell.exe or pwsh.exe and the command line contains keywords such as -Command, -File, or specific backup tool identifiers (e.g., Veeam.Backup.Service).Scenario: Software Deployment via Configuration Management Tools