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
- Vite file-read and path traversal probes met with redirects and not found replies
by bz2 · 386 packets · 5d ago
25 alertsOpen in viewer - PDMFC Dataset: packetcapture em3 20250514160400
by archive · 500,000 packets · 24d ago
157 alertsOpen in viewer - Chris Sanders: http dvwa directorytraversal
by archive · 10 packets · 24d ago
1 alertOpen in viewer - HTTP Credential Stuffing, SQL Injection, Webshell Upload, and Callback
by trypcaphub · 345 packets · 5mo ago
1 alertOpen in viewer - HTTP Traversal, Upload, Command Execution, and Callback
by trypcaphub · 75 packets · 5mo ago
1 alertOpen in viewer - Nginx 1.24.0 Misconfiguration and Security Testing
by trypcaphub · 70 packets · 7mo ago
2 alertsOpen in viewer - Nmap NSE Script Scanning (http-enum, ssl-enum-ciphers, ssl-cert)
by trypcaphub · 3,000 packets · 7mo ago
1 alertOpen in viewer - Path Traversal and Local File Inclusion (LFI) Attempts
by trypcaphub · 80 packets · 7mo ago
4 alertsOpen in viewer - HTTP Header Injection and SSRF Patterns
by trypcaphub · 60 packets · 7mo ago
1 alertOpen in viewer - HTTP Command Injection Attempt Patterns
by trypcaphub · 70 packets · 7mo ago
1 alertOpen in viewer - Nmap Vulnerability Scan (NSE vuln Scripts)
by trypcaphub · 3,000 packets · 7mo ago
2 alertsOpen in viewer
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.