cscli appsec-rules install crowdsecurity/generic-wordpress-uploads-php
1name: crowdsecurity/generic-wordpress-uploads-php2description: "Detect php execution in wordpress uploads directory"3rules:4 - and:5 - zones:6 - URI7 transform:8 - lowercase9 - urldecode10 match:11 type: regex12 value: '/wp-content/uploads/.*\.(h?ph(p|tm?l?|ar)|module|shtml)'1314labels:15 type: exploit16 service: http17 confidence: 218 spoofable: 019 behavior: "http:exploit"20 label: "Detect Wordpress PHP execution in uploads directory"21 classification:22 - attack.T159523 - attack.T1190