Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have installed modsecurity 2.7.5 on apache 2.4 to provide security for my application, I want to know to activate core rule set of mod security(like SQL injection etc) do I need to download separatly it from somewhere like I found in below link: http://spiderlabs.github.io/owasp-modsecurity-crs/
Or all core rules are there in mod security itself, I need to just activate them in modsecurity.conf file?
AFAIK the core ruleset is not provided wih modsec, you need to download them manually.
To use them, check the base directory for crs, the rules are dividev in sections. Activate the ones you want by including the directories in your modsec-conf file.
Can't give more exact info now a I'm on vacation and can't reach my modsec-secured webservers.
I suppose it depends on how your distro has packaged it. But my experience (on both EL and Debian) has been that you download the OWASP core rule set (CRS) separately, as mentioned.
Thanks for reply. I got it, we need to download CRS separately,I got the link for this also but its for Linux I am looking for Windows, if you can provide any link for the same. And I want to know step by step, how to configure CRS in modsecurity.conf file. Actually I am new for modsecurity, googled a lot but not getting relevant info.
Configuration is site/application specific and non-trivial. Once configured, a trial and error period may be required to evaluate your applications' behaviors with mod_security filtering requests. (I had to tweak a lot of rules for one particularly quirky BI application.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.