This hunt targets adversary behavior involving the deployment of NjRAT remote access trojan indicators to establish persistent command and control channels within the network. Proactively hunting for these specific IOCs in Azure Sentinel is critical because early detection of this high-severity threat enables rapid containment before attackers can exfiltrate sensitive data or pivot laterally across the environment.
Malware Family: NjRAT Total IOCs: 2 IOC Types: ip:port
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| ip:port | 158[.]160[.]75[.]185:43082 | botnet_cc | 2026-07-03 | 99% |
| ip:port | 185[.]192[.]124[.]218:4291 | botnet_cc | 2026-07-03 | 99% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - NjRAT
let malicious_ips = dynamic(["158.160.75.185", "185.192.124.218"]);
CommonSecurityLog
| where DestinationIP in (malicious_ips) or SourceIP in (malicious_ips)
| project TimeGenerated, SourceIP, DestinationIP, DestinationPort, DeviceAction, Activity
| order by TimeGenerated desc
// Hunt in Defender for Endpoint network events
let malicious_ips = dynamic(["158.160.75.185", "185.192.124.218"]);
DeviceNetworkEvents
| where RemoteIP in (malicious_ips)
| project Timestamp, DeviceName, RemoteIP, RemotePort, InitiatingProcessFileName, ActionType
| order by Timestamp desc
| Sentinel Table | Notes |
|---|---|
CommonSecurityLog | Ensure this data connector is enabled |
DeviceNetworkEvents | Ensure this data connector is enabled |
Here are specific false positive scenarios for the ThreatFox: NjRAT IOCs detection rule, tailored for an enterprise environment:
Enterprise Antivirus Definition Updates:
SYSTEM, LocalService) and restrict the scope to the specific executable path used by the AV updater (e.g., C:\Program Files\CrowdStrike\csagent.exe or C:\Windows\System32\MpCmdRun.exe).Patch Management Deployment Jobs:
ccmexec.exe for SCCM or ivantsvc.exe) and the destination IP belongs to the internal DMZ range used by the software repository servers.Third-Party Remote Support Sessions: