Custom REGEX rules for CSF.
this thread is to add working REGEX that we can share with the community. To add them to this sticky, you should have the regex working in your server, this thread is not intended to solve any issues related with no working regex, the intention is to give users of CSF REGEXs that could make CSF with more security options.
If you want to collaborate, please add your rule to this thread and I will add a link to it on the first post, a note about what the REGEX do will be great in your post.
All these REGEX are to be run in "regex.custom.pm", please check the readme file to know what is this.
Use of the regex in this thread are at your own risk, we don't assume any responsibility.
- ONLY working REGEX, please.
- Tell us what OS you installed the REGEX or works for.
- Tell us what hosting panel was created for (cpanel, webmin, DA, etc).
- A little explanation on what it does.
- Some examples of what will be blocking.
Hope this thread will help to have a more secure server with the aid of this great product.
LIST OF REGEX:
REGEX to block bots that looks for wrong SETID by Sergio
REGEX to block bounced spammers that search emails by Sergio
REGEX to block IPs that searchs for admin emails by Sergio
BOTTRAP by Karel
Bruteforce protection login, register, contact, etc trigger by Karel
Scan for email addresses by Karel
REGEX to block IPs that uses YLMF-PC by Sergio
REGEX to block PROXIMIC by Sergio
REGEX to block ASTERIX hack attempts by Sergio
REGEX to block info email harvesting by Sergio
REGEX for DirectAdmin modsecurity denials not blocked by CSF/LFD