This hunt targets adversaries leveraging wget user agents to access known malicious URLs identified by URLhaus, indicating potential data exfiltration or command-and-control communication often used in initial infection stages. Proactively hunting for this behavior in Azure Sentinel is critical because automated scripts frequently use wget, making it difficult to distinguish legitimate administrative tasks from stealthy threat actor activity without specific log correlation and baseline analysis.
Threat: ua-wget Total URLs: 4 Active URLs: 0
| URL | Status | Threat | Date Added |
|---|---|---|---|
hxxp://182.233.38.178:37575/Mozi.a | offline | malware_download | 2026-07-10 |
hxxp://196.251.121.142/a3f8d2/adb.sh | offline | malware_download | 2026-07-10 |
hxxp://196.251.121.142/a3f8d2/kaizen.x86_srv | offline | malware_download | 2026-07-10 |
hxxp://196.251.121.142/a3f8d2/dlink.sh | offline | malware_download | 2026-07-10 |
// Hunt for DNS resolution of URLhaus malicious domains
// Threat: ua-wget
let malicious_domains = dynamic(["196.251.121.142", "182.233.38.178"]);
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(["196.251.121.142", "182.233.38.178"]);
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 five specific false positive scenarios for the URLhaus: ua-wget Malicious URLs detection rule, including suggested filters and exclusions tailored for an enterprise environment:
Automated Patch Management Scans
wget utility in background scripts to download patch metadata, release notes, or small configuration files from vendor repositories that may not yet be fully whitelisted by URLhaus but are flagged due to the generic ua-wget User-Agent string.10.x.x.x/24) or filter out URLs containing known vendor domains such as *.microsoft.com, *.update.microsoft.com, and *.sccm.local.CI/CD Pipeline Artifact Downloads
wget with the default User-Agent to pull manifests, triggering alerts when accessing newly published URLs that haven’t been scanned by URLhaus yet.*.nexus.internal, *.artifactory.corp) or specific path prefixes like /api/v1/artifacts.Database Backup and Replication Scripts