ModSecurity VS coreruleset

Compare ModSecurity vs coreruleset and see what are their differences.


ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx that is developed by Trustwave's SpiderLabs. It has a robust event-based programming language which provides protection from a range of attacks against web applications and allows for HTTP traffic monitoring, logging and real-time analysis. With over 10,000 deployments world-wide, ModSecurity is the most widely deployed WAF in existence. (by SpiderLabs)


OWASP ModSecurity Core Rule Set (Official Repository) (by coreruleset)
Our great sponsors
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • Scout APM - A developer's best friend. Try free for 14-days
  • SaaSHub - Software Alternatives and Reviews
ModSecurity coreruleset
7 4
4,949 732
1.5% 6.4%
6.3 9.5
9 days ago 3 days ago
C++ Python
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of ModSecurity. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-19.
  • An actual secure selfhosted Reverse Proxy with cool stats?
    3 projects | | 19 Nov 2021
    By Web Firewall did you mean smth like this ?
  • Modsecurity IIS
    1 project | | 12 Nov 2021
    Modsecurity has been extended to work with IIS and they even include an MSI installer in their releases.
  • Bulletproof at home hosting?
    2 projects | | 15 Aug 2021
    When it comes to your application: I don't know how tech-savvy you are, and I'm not sure if you're worried about someone breaking into your webapp, but you could look into setting up security extentions like snuffleupagus (PHP) and SpiderLab's ModSecurity WAF for Apache and nginx for which OWASP has a great, free ruleset
  • How to implement WAF on Kong Ingress controller? (like ModSecurity v3)
    3 projects | | 4 May 2021
    ModSecurity (v3/master):
  • Best free security plugin for WP website?
    2 projects | | 12 Mar 2021
    I would recommend mod security which can be installed as a module for most web services like nginx and apache (and is open source). You can use the OWASP ruleset with some additional wordpress specific rulesets.
  • AWS SQL Injection (?)
    1 project | | 9 Mar 2021
    Looks like the webserver has a Web application firewall installed (WAF). My would guess this Has nothing to do with AWS database per se, the WAF is running on the server along Apache, as a module. Log entry was triggered because an SQL injection attempt was detected and stopped. As it looks now the website is potentially under attack.
  • XSS: What it is, how it works, and how to prevent it
    1 project | | 18 Jan 2021
    It may seem like overkill, but there are web application firewalls designed to specifically prevent common web attacks such as XSS and SQL Injection. Using a web application firewall (WAF) is not necessary for most applications, but for applications that require strong security, they can be a great resource. One such WAF is ModSecurity, which is available for Apache, Nginx, and IIS. Check out their wiki for more information.


Posts with mentions or reviews of coreruleset. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-01.

What are some alternatives?

When comparing ModSecurity and coreruleset you can also consider the following projects:

ModSecurity-nginx - ModSecurity v3 Nginx Connector

wpscan - WPScan WordPress security scanner. Written for security professionals and blog maintainers to test the security of their WordPress websites.

coraza-waf - Coraza WAF is a golang modsecurity compatible web application firewall library

snuffleupagus - Security module for php7 and php8 - Killing bugclasses and virtual-patching the rest!

sqstorage - A easy to use and quick way to organize your inventory, storages and storage areas