Medium severityET WEB SERVERActive in PcapHub scans

ET WEB_SERVER /etc/passwd Detected in URI

SID 2049400 · rev 1 · classtype attempted-recon

What this signature means

An HTTP request whose URI contains /etc/passwd. That is the standard probe for directory traversal and local file inclusion flaws: if the server returns the file, the attacker can read anything the web server can. Usually one line of a scanner's checklist; a 200 response with user accounts in the body is the real finding.

A web server rule: an attack against, or a suspicious response from, a web server. Reconnaissance: scanning, enumeration or probing to learn what is running before an attack.

Written by the PcapHub team.

What it watches

HTTP traffic from an outside host to a web server, in an established connection, from client to server.

It fires when

  • the request URI contains "/etc/passwd" (case-insensitive)

What Emerging Threats says

  • Emerging Threats rates it informational with high confidence.
  • Target: Web Server.
  • Affected product: Linux.
  • Meant for perimeter, ssldecrypt sensors.
  • Performance impact on the sensor: low.

Good to know

  • Active in PcapHub's scan set: every uploaded capture is checked against it.

Public captures that trigger it11

Rule

alert http $EXTERNAL_NET any -> $HTTP_SERVERS any (msg:"ET WEB_SERVER /etc/passwd Detected in URI"; flow:established,to_server; http.uri; content:"/etc/passwd"; nocase; classtype:attempted-recon; sid:2049400; rev:1; metadata:affected_product Linux, attack_target Web_Server, created_at 2023_11_29, deployment Perimeter, deployment SSLDecrypt, performance_impact Low, confidence High, signature_severity Informational, updated_at 2023_11_29;)

Emerging Threats Open. Rule created Nov 29, 2023. Last revised by ET Nov 29, 2023. Text on PcapHub refreshed 7mo ago.