This rule identifies potential Redis malware activity by detecting known malicious URLs associated with command-and-control channels and data exfiltration, often leveraging compromised Redis servers for persistence. Proactively hunting for these indicators in Azure Sentinel allows the SOC team to identify stealthy C2 communications and exfiltration paths that may bypass traditional network perimeter defenses.
Threat: redis Total URLs: 3 Active URLs: 0
| URL | Status | Threat | Date Added |
|---|---|---|---|
hxxp://217.217.233.97:8080/run.sh | offline | malware_download | 2026-09-20 |
hxxp://217.217.233.97:8081/run.sh | offline | malware_download | 2026-09-20 |
hxxp://217.217.233.97/go.sh | offline | malware_download | 2026-09-20 |
// Hunt for DNS resolution of URLhaus malicious domains
// Threat: redis
let malicious_domains = dynamic(["217.217.233.97"]);
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(["217.217.233.97"]);
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 |
10.0.0.0/8 or 172.16.0.0/12 private ranges AND the destination port is 6379 (standard Redis port) or 80/443 if Redis is behind a reverse proxy. Additionally, whitelist known internal DNS names like redis-staging-01.internal.corp.com.redis-rdb or a custom Python script) connects to a Redis cluster to dump keyspace data to an S3 bucket, generating HTTP/HTTPS traffic to a URL that matches the pattern of the malicious URLhaus entry due to a shared CDN or similar path structure (e.g., /v1/export/redis).
G_Backup_Services) or from known backup appliance IPs (e.g., 192.168.10.50-192.168.10.55). Filter out URLs containing path segments like /backup/, /dump/, or /rdb/.