Custom REGEX rules for CSF.
Posted: 21 Feb 2014, 13:55
Hi all,
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.
NOTE:
Use of the regex in this thread are at your own risk, we don't assume any responsibility.
RULES:
- 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.
Sergio
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
viewtopic.php?f=6&t=7517&p=22698#p22698
REGEX to block ASTERIX hack attempts by Sergio
viewtopic.php?f=6&t=7517&p=22708#p22708
REGEX to block info email harvesting by Sergio
viewtopic.php?f=6&t=7517&p=25938#p25938
REGEX for DirectAdmin modsecurity denials not blocked by CSF/LFD
https://forum.configserver.com/viewtopic.php?f=6&t=9951
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.
NOTE:
Use of the regex in this thread are at your own risk, we don't assume any responsibility.
RULES:
- 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.
Sergio
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
viewtopic.php?f=6&t=7517&p=22698#p22698
REGEX to block ASTERIX hack attempts by Sergio
viewtopic.php?f=6&t=7517&p=22708#p22708
REGEX to block info email harvesting by Sergio
viewtopic.php?f=6&t=7517&p=25938#p25938
REGEX for DirectAdmin modsecurity denials not blocked by CSF/LFD
https://forum.configserver.com/viewtopic.php?f=6&t=9951