File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ // https://github.com/corazawaf/coraza-coreruleset/blob/9b73b5e90a09613c7535d391a15cc9cb08c05a8d/rules/%40owasp_crs/web-shells-php.data
2+ // https://github.com/corazawaf/coraza-coreruleset/blob/9b73b5e90a09613c7535d391a15cc9cb08c05a8d/rules/%40owasp_crs/RESPONSE-955-WEB-SHELLS.conf#L441
3+ // Keep the overrides low so they still show up on analyze reports
4+ rule coraza_coreruleset_override : override {
5+ meta :
6+ description = " web-shells-php.data; RESPONSE-955-WEB-SHELLS.conf "
7+ SIGNATURE_BASE_H4Ntu_Shell__Powered_By_Tsoi_ = " low "
8+ SIGNATURE_BASE_Ironshell_Php = " low "
9+ SIGNATURE_BASE_Lamashell_Php = " low "
10+ SIGNATURE_BASE_Safe0Ver_Shell__Safe_Mod_Bypass_By_Evilc0Der_Php = " low "
11+ SIGNATURE_BASE_Webshell_Ru24_Post_Sh = " low "
12+ SIGNATURE_BASE_Webshell_Simple_Cmd = " low "
13+
14+ strings :
15+ $ coraza1 = " # Enable Coraza, attaching it to every transaction. Use detection "
16+ $ coraza2 = " # Allow Coraza to access request bodies. If you don't, Coraza "
17+ $ coraza3 = " # Coraza blocked the content. But the next, commented example contains "
18+ $ import = " github.com/corazawaf/coraza-coreruleset/v4 "
19+
20+ condition :
21+ all of them
22+ }
You can’t perform that action at this time.
0 commit comments