path traversal
An attack that uses ../ sequences in a request to reach files outside the folder a web application meant to serve.
In more detail
In web logs look for ../, its URL-encoded forms such as %2e%2e%2f, and targets like /etc/passwd. Decode the request first, then check the status code: a 200 means the file may have been returned.
Related terms
- SQL injection — An attack where untrusted input is joined into a database query so that part of it runs as SQL, letting an attacker read or change data.
- URL encoding — Writing special characters in a web address as % followed by two hexadecimal digits, such as %20 for a space.
- web access log — The log a web server writes with one line per request: client address, time, request line, status code, size and often user agent.
Taught in
- Detection as Code: Authoring & Testing Sigma Rules — Security Operations & Threat Hunting (SOC)
- Adversary Tactics, Techniques & Procedures (TTP) Mapping — Security Operations & Threat Hunting (SOC)