This detection rule identifies adversary behavior involving the execution of malicious web resources tagged by URLhaus as “opendir,” which typically indicates unauthorized directory traversal or file enumeration activities within a compromised environment. The SOC team should proactively hunt for these indicators in Azure Sentinel to rapidly isolate potential lateral movement attempts and prevent data exfiltration before they escalate into broader network breaches.
Threat: opendir Total URLs: 2 Active URLs: 2
| URL | Status | Threat | Date Added |
|---|---|---|---|
hxxp://41.216.189.236/o.xml | online | malware_download | 2026-07-16 |
hxxp://41.216.189.236/nz/o.xml | online | malware_download | 2026-07-16 |
// Hunt for DNS resolution of URLhaus malicious domains
// Threat: opendir
let malicious_domains = dynamic(["41.216.189.236"]);
DnsEvents
| where Name has_any (malicious_domains)
| project TimeGenerated, Computer, Name, IPAddresses
| order by TimeGenerated desc
// Hunt for web traffic to URLhaus malicious domains
let malicious_domains = dynamic(["41.216.189.236"]);
CommonSecurityLog
| where RequestURL has_any (malicious_domains) or DestinationHostName has_any (malicious_domains)
| project TimeGenerated, SourceIP, RequestURL, DestinationHostName, DeviceAction
| order by TimeGenerated desc
| Sentinel Table | Notes |
|---|---|
CommonSecurityLog | Ensure this data connector is enabled |
DnsEvents | Ensure this data connector is enabled |
Here are specific false positive scenarios for the URLhaus: opendir Malicious URLs detection rule in an enterprise environment, along with recommended filters or exclusions:
Automated Software Update Scans by Endpoint Protection Agents
opendir repository to fetch the latest malware signature definitions and threat intelligence feeds, triggering connections to known opendir URLs that may be flagged as “malicious” due to their high-volume scanning nature rather than actual compromise.svc_antivirus, defender-agent) or restrict the rule to exclude destination ports commonly used by update services (e.g., port 443) when the source IP belongs to the “Endpoint Management” subnet.Scheduled Vulnerability Assessment Scans
opendir URLs, to verify SSL certificate validity and response codes. The scanning engine’s behavior mimics a malicious crawler, causing the detection logic to flag the legitimate scan traffic as suspicious activity.10.20.50.x) and whitelist specific User-Agent strings associated with these tools (e.g., containing “Tenable,” “QualysGuard,” or “Rapid7”).Third-Party Supply Chain Integration Webhooks