patterns/waf_patterns/apache/detection.conf

13 lines
973 B
Plaintext
Raw Normal View History

# Apache ModSecurity rules for DETECTION
SecRuleEngine On
2025-01-04 00:25:48 +00:00
SecRule REQUEST_URI "@lt 1" "id:1043,phase:1,deny,status:403,log,msg:'detection attack detected'"
2025-01-03 12:26:53 +00:00
SecRule REQUEST_URI "@lt 1" "id:1044,phase:1,deny,status:403,log,msg:'detection attack detected'"
2025-01-04 00:25:48 +00:00
SecRule REQUEST_URI "@pmFromFile scanners-user-agents.data" "id:1045,phase:1,deny,status:403,log,msg:'detection attack detected'"
SecRule REQUEST_URI "@lt 2" "id:1046,phase:1,deny,status:403,log,msg:'detection attack detected'"
2025-01-03 12:26:53 +00:00
SecRule REQUEST_URI "@lt 2" "id:1047,phase:1,deny,status:403,log,msg:'detection attack detected'"
2025-01-04 00:25:48 +00:00
SecRule REQUEST_URI "@lt 3" "id:1048,phase:1,deny,status:403,log,msg:'detection attack detected'"
2025-01-03 12:26:53 +00:00
SecRule REQUEST_URI "@lt 3" "id:1049,phase:1,deny,status:403,log,msg:'detection attack detected'"
2025-01-04 00:25:48 +00:00
SecRule REQUEST_URI "@lt 4" "id:1050,phase:1,deny,status:403,log,msg:'detection attack detected'"
2025-01-03 12:26:53 +00:00
SecRule REQUEST_URI "@lt 4" "id:1051,phase:1,deny,status:403,log,msg:'detection attack detected'"