-
Notifications
You must be signed in to change notification settings - Fork 613
[New Rule] Web Server Local File Inclusion Activity #5393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Rule: New - GuidelinesThese guidelines serve as a reminder set of considerations when proposing a new rule. Documentation and Context
Rule Metadata Checks
New BBR Rules
Testing and Validation
|
|
⛔️ Test failed Results
|
|
⛔️ Test failed Results
|
|
⛔️ Test failed Results
|
|
⛔️ Test failed Results
|
|
⛔️ Test failed Results
|
|
⛔️ Test failed Results
|
|
Note this error is due to the current validation stack being on version 9.1.* rather than 9.2 where URL_DECODE was introduced. The stack is being upgraded to allow for this function but a strategy is needed to verify these types of functions. |
rules/cross-platform/discovery_web_server_local_file_inclusion_activity.toml
Outdated
Show resolved
Hide resolved
rules/cross-platform/discovery_web_server_local_file_inclusion_activity.toml
Outdated
Show resolved
Hide resolved
| logs-iis.access-* | ||
| | where | ||
| http.request.method == "GET" and | ||
| http.response.status_code == 200 and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: For attempts do we want to catch 403, 404, 500?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't want to find fuzzing activity. Effective LFI will most likely respond with 200.
…_activity.toml Co-authored-by: Isai <59296946+imays11@users.noreply.github.com>
|
⛔️ Test failed Results
|
|
⛔️ Test failed Results
|
|
⛔️ Test failed Results
|
Summary
This rule detects potential Local File Inclusion (LFI) activity on web servers by identifying HTTP GET requests that attempt to access sensitive local files through directory traversal techniques or known file paths. Attackers may exploit LFI vulnerabilities to read sensitive files, gain system information, or further compromise the server.
Telemetry