This hunt hypothesis targets adversary behavior where malicious actors deploy the NjRAT remote access trojan to establish persistent command-and-control channels and execute lateral movement within the network. The SOC team should proactively hunt for these specific IOCs in Azure Sentinel because early detection of NjRAT activity is critical to preventing data exfiltration and stopping the initial foothold before it expands across the enterprise environment.
Malware Family: NjRAT Total IOCs: 2 IOC Types: ip:port, domain
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| ip:port | 64[.]89[.]160[.]127:1818 | botnet_cc | 2026-07-11 | 75% |
| domain | indigo2forjoy.com | botnet_cc | 2026-07-11 | 100% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - NjRAT
let malicious_ips = dynamic(["64.89.160.127"]);
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(["64.89.160.127"]);
DeviceNetworkEvents
| where RemoteIP in (malicious_ips)
| project Timestamp, DeviceName, RemoteIP, RemotePort, InitiatingProcessFileName, ActionType
| order by Timestamp desc
// Hunt for DNS queries to known malicious domains
// Source: ThreatFox - NjRAT
let malicious_domains = dynamic(["indigo2forjoy.com"]);
DnsEvents
| where Name has_any (malicious_domains)
| project TimeGenerated, Computer, Name, IPAddresses, QueryType
| order by TimeGenerated desc
| Sentinel Table | Notes |
|---|---|
CommonSecurityLog | Ensure this data connector is enabled |
DeviceNetworkEvents | Ensure this data connector is enabled |
DnsEvents | Ensure this data connector is enabled |
Here are specific false positive scenarios for the ThreatFox: NjRAT IOCs detection rule, tailored for an enterprise environment:
Software Deployment via SCCM/Microsoft Endpoint Configuration Manager
Process Name (e.g., ccmsetup.exe, msiexec.exe) and Parent Process (CcmExec.exe) originating from the Software Center service account, restricted to the IP range of the internal SCCM Distribution Points.Automated Backup Operations with Veeam or Commvault
Source Process is VeeamAgent.exe or CommServe.exe running under the SYSTEM account, and filter for connections destined to known internal backup subnet CIDR blocks (e.g., 10.20.50.0/24).IT Asset Management Scans via Lansweeper