This hypothesis targets the presence of known NjRAT indicators, a remote access trojan frequently used by threat actors to establish persistent, covert control over compromised endpoints. Proactively hunting for these IOCs in Azure Sentinel allows the SOC to identify stealthy backdoors before they are leveraged for lateral movement or data exfiltration, reducing the dwell time of high-severity threats within the environment.
Malware Family: NjRAT Total IOCs: 3 IOC Types: md5_hash, sha1_hash, sha256_hash
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| sha1_hash | 54f52128496ccc3cead33a43d9c858344d371be1 | payload | 2026-09-08 | 95% |
| md5_hash | 8954631e8ffbb6b865e2353f3d847f0c | payload | 2026-09-08 | 95% |
| sha256_hash | 976eb41511fdcb1b13af671b963aca873d1830854c94fa20ea117bdad34d4ce0 | payload | 2026-09-08 | 95% |
// Hunt for files matching known malicious hashes
// Source: ThreatFox - NjRAT
let malicious_hashes = dynamic(["54f52128496ccc3cead33a43d9c858344d371be1", "8954631e8ffbb6b865e2353f3d847f0c", "976eb41511fdcb1b13af671b963aca873d1830854c94fa20ea117bdad34d4ce0"]);
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 |
WinSCP or FileZilla to transfer a large batch of log files to a staging server, where the destination IP address matches a known NjRAT C2 node listed in the ThreatFox IOC set.
winscp.exe, filezilla.exe) and the destination port is standard FTP/SFTP (21, 22) or HTTPS (443) with a high byte count, indicating bulk data transfer rather than small beaconing.cmd.exe or powershell.exe from a user profile directory).Cobalt Strike or a custom beacon that mimics NjRAT traffic patterns, triggering the IOC match for the C2 IP and user-agent string.
red-team-* or pentest-* prefixes in the hostname) as ”