ET HUNTING curl User-Agent to Dotted Quad
SID 2034567 · rev 1 · classtype bad-unknown
What this signature means
A curl client fetched something from a server addressed by a bare IP address instead of a hostname. Droppers and post-exploitation scripts do exactly this (curl http://1.2.3.4/payload), but so do administrators, monitoring scripts and lab tooling, which is why ET files it under hunting rather than malware. Look at what was requested and whether the same host then ran or downloaded anything else.
A hunting rule: a pattern that is worth investigating but is not malicious on its own. Expect false positives.
Written by the PcapHub team.
What it watches
HTTP traffic from a monitored host to an outside host, in an established connection, from client to server.
It fires when
- the User-Agent header starts with "curl/" (case-insensitive)
- the HTTP Host header matches the regular expression "/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/"
What Emerging Threats says
- Emerging Threats rates it informational with medium confidence.
- Target: Client Endpoint.
- Meant for perimeter sensors.
Good to know
- Active in PcapHub's scan set: every uploaded capture is checked against it.
Public captures that trigger it63
- Chris Sanders: weather broken
by archive · 9 packets · 24d ago
1 alertOpen in viewer - Chris Sanders: http ip4and6
by archive · 20 packets · 24d ago
1 alertOpen in viewer - PHP Upload-Progress and Session-Path Requests
by trypcaphub · 65 packets · 1mo ago
5 alertsOpen in viewer - PHP2Shell HTTP Detection Indicators
by trypcaphub · 50 packets · 1mo ago
4 alertsOpen in viewer - learn: TLS Port Confusion and Handshake Failures
by trypcaphub · 46 packets · 2mo ago
1 alertOpen in viewer - Phishing Login, MFA Fatigue, and Session Cookie Reuse
by trypcaphub · 197 packets · 5mo ago
8 alertsOpen in viewer - Python Package Supply-Chain Install with Callback Beacon
by trypcaphub · 84 packets · 5mo ago
2 alertsOpen in viewer - AI Prompt Injection with Tool-Mediated Data Exfiltration
by trypcaphub · 84 packets · 5mo ago
2 alertsOpen in viewer - Cloud Metadata SSRF Credential Theft and STS API Use
by trypcaphub · 132 packets · 5mo ago
3 alertsOpen in viewer - Log4Shell-Style HTTP Exploit, LDAP Callback, and Payload Fetch
by trypcaphub · 238 packets · 5mo ago
1 alertOpen in viewer - WebDAV Ransomware File Enumeration, Encryption Uploads, and Ransom Note
by trypcaphub · 241 packets · 5mo ago
11 alertsOpen in viewer - Exposed Docker API Container Abuse and Reverse Shell Callback
by trypcaphub · 148 packets · 5mo ago
5 alertsOpen in viewer
Rule
alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"ET HUNTING curl User-Agent to Dotted Quad"; flow:established,to_server; http.user_agent; content:"curl/"; startswith; nocase; fast_pattern; http.host; pcre:"/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/"; classtype:bad-unknown; sid:2034567; rev:1; metadata:attack_target Client_Endpoint, created_at 2021_12_01, deployment Perimeter, confidence Medium, signature_severity Informational, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2021_12_01;)Emerging Threats Open. Rule created Dec 1, 2021. Last revised by ET Dec 1, 2021. Text on PcapHub refreshed 7mo ago.