sudo cscli collections install crowdsecurity/aws-cloudfrontInstalls 2 parsers and 47 scenarios, via HTTP - Generic Protection.
View AWS CloudFront →sudo cscli scenarios install crowdsecurity/http-sensitive-filesThen reload CrowdSec: sudo systemctl reload crowdsec
Sign in to see which of your engines run it →Hover a line or a note to see what each field does.
type: leakyformat: 2.0#debug: truename: crowdsecurity/http-sensitive-filesdescription: "Detect attempt to access to sensitive files (.log, .db ..) or folders (.git)"filter: 'evt.Meta.log_type in ["http_access-log", "http_error-log"] and any(File("sensitive_data.txt"), { evt.Parsed.request endsWith #})'groupby: "evt.Meta.source_ip"distinct: evt.Parsed.requestdata:- source_url: https://hub-data.crowdsec.net/web/sensitive_data.txtdest_file: sensitive_data.txttype: stringcapacity: 4leakspeed: 5sblackhole: 5mlabels:remediation: trueclassification:- attack.T1595.003behavior: "http:scan"label: "Access to sensitive files over HTTP"spoofable: 0service: httpconfidence: 3
Sign in to see the Security Engines that run this attack scenario, the version they run and whether it was modified locally.
Detect tentative of dangerous file scanning such as logs file, database backup, zip archive etc ...
More than 3 access to sensitive files in this list