hub VS ModSecurity

Compare hub vs ModSecurity and see what are their differences.

hub

Main repository for crowdsec scenarios/parsers (by crowdsecurity)

ModSecurity

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 owasp-modsecurity)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
hub ModSecurity
13 19
136 7,582
1.5% 3.3%
9.8 8.2
6 days ago 3 days ago
Go C++
- 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.

hub

Posts with mentions or reviews of hub. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-17.
  • Self hosted security recommendations
    2 projects | /r/selfhosted | 17 Apr 2023
    I use their free plan so I can't tell about any other plan. In order to protect all your services, you just have to deploy Crowdsec once, give it access to the logs of all your existing services and set up the relevant bouncers (reverse proxy and probably Cloudflare). You must also give it the relevant collections from https://hub.crowdsec.net/ such as https://hub.crowdsec.net/author/crowdsecurity/collections/nextcloud
  • Two questions re Crowdsec
    1 project | /r/CrowdSec | 25 Mar 2023
    Doesn't work adding it to acquis.yaml. Crowdsec fails to start. If I go to hub.crowdsec.net there are multiple predefined collections, many of which define an acquisition script but don't say where to put it.
  • Block Illegal Users
    1 project | /r/CrowdSec | 25 Jan 2023
    The ssh-bf scenario:
  • Can CrowdSec protect a mail server ?
    2 projects | /r/CrowdSec | 11 Dec 2022
    We don't have support for them yet, however, if you provide log samples and open an issue with the samples on https://github.com/crowdsecurity/hub. We can work on supporting them.
  • Crowdsec Acquis.yml help
    2 projects | /r/selfhosted | 4 Oct 2022
    You find the required contents of the acquis.yaml on the dedicated page of each collection on the hub.
  • Security hardening Caddy (docker)
    1 project | /r/selfhosted | 27 Jun 2022
    This isn't usable in latest Caddy versions unfortunately. See https://github.com/crowdsecurity/hub/pull/433
  • Plex and Exchange 2019
    1 project | /r/CrowdSec | 20 Jun 2022
    I have news. There's a PR for Exchange support. I don't have an ETA for it to be merged, though.
  • Logging unauthorised attempts
    2 projects | /r/WireGuard | 18 Jun 2022
    I just submitted a PR for Wireguard support. Feel free to try it out. I haven't been able to test it much. And yes, it's my first PR :-)
  • Integrating Sysmon events with Crowdsec
    2 projects | /r/CrowdSec | 16 May 2022
    Your use case sounds cool. Unfortunately CrowdSec is not very mature on Windows (yet). That being said we have just written a parser for sysmon. It's very much WIP and needs testing. Also there's not any scenarios yet so CrowdSec can't detect anything there yet. That being said we would love to collaborate with you on creating them if you're willing to invest time in it too. A good place to do that would be via our Discord (invite link under the subreddit description) where I will be happy to set up a dedicated channel where you can have direct access to our devs.
  • How to list the applications that crowdsec is monitoring?
    1 project | /r/CrowdSec | 12 May 2022
    Thanks for joining and asking questions :-) sudo cscli metrics gives you an overview of which log sources is being parsed and which attacks has been detected. You add a custom application by creating a parser and scenario or downloading a collection from the hub and adding a suitable data source.

ModSecurity

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 2023-02-14.
  • Anybody using Crowdsec?
    1 project | /r/unRAID | 4 Mar 2023
    First of all, if you have any experience with Traefik, I'd suggest you to do the reverse proxy stuff with it and install the Crowdsec instance along it. As I didn't have experience using Traefik I went with NPM but now I guess it would have been easier considering the research I had to do... Another reason is, I wanted to implement a geo block and/or another security layer by using ModSecurity (https://github.com/SpiderLabs/ModSecurity ) besides Crowdsec too. Afaik Traefik has a plugin that integrates ModSecurity easily - unless NPM.
  • Has anyone tried this on Blackboard online exams??
    1 project | /r/Professors | 21 Feb 2023
    I don't know about Blackboard, but Moodle will allow quizzes to be run in popups that block most extensions from working; lockdown browsers will block such extensions; and, if you have access to the server, a modified firewall (e.g., ModSecurity) may\* allow blocking this and similar extensions.
  • Ask HN: What's a good open-source alternative to Cloudflare?
    9 projects | news.ycombinator.com | 14 Feb 2023
    > ModSecurity for WAF: https://github.com/SpiderLabs/ModSecurity

    This might be of interest to some: https://www.modsecurity.org/

    > Trustwave is announcing the End-of-Life (EOL) of our support for ModSecurity effective July 1, 2024. We will then hand over the maintenance of ModSecurity code back to the open-source community.

    Probably not too big of a deal, though.

    Also, this might be useful: https://owasp.org/www-project-modsecurity-core-rule-set/

    Though there has been some critique of ModSecurity and that ruleset in the past, as something dated and with false positives.

    Anyone have any good alternatives?

  • WAF with reverse proxy
    2 projects | /r/unRAID | 9 Feb 2023
    Is there a reason no one hasn't made a Docker template for OWASP Coraza (https://github.com/corazawaf/coraza) or ModSecurity (https://github.com/SpiderLabs/ModSecurity) for the use of a reverse proxy?
  • NGINX WAF alternatives: App Protect vs. ModSecurity vs. open-appsec
    4 projects | dev.to | 24 Nov 2022
    Since Nginx has different use cases, protecting your application depends on how and where you use it. It's recommended that you have a reliable WAF solution since they block most harmful requests in the first place. In this article, you'll compare three tools—ModSecurity, F5 Nginx App Protect, and open-appsec—based on their active development, advanced security features, and open source commitment to help you figure out which tool is right for you.
  • ModSecurity VS openappsec - a user suggested alternative
    2 projects | 11 Nov 2022
  • Please help me to identify Cons in my PHP-FPM setup
    1 project | /r/linuxadmin | 28 May 2022
  • What (software, open source) WAF are you using with (open source) Nginx?
    3 projects | /r/nginx | 26 May 2022
    I'm currently erring toward ModSecurity & the Nginx connector now that it's been de-Apache'd.
  • WordPress sites getting hacked ‘within seconds’ of TLS certificates being issued
    3 projects | news.ycombinator.com | 6 May 2022
    Is anyone on HN doing WordPress administration? I recently 'inherited' a webshop built on WP/WooCommerce, and all the conflicting security advice in the WP space is making my head spin.

    There are a dozen competing 'security' plugins, with some saying 'you don't need any of them, WP is secure enough by default', and others saying 'you actually need ModSecurity [1] / Jeff Starr's nG firewall [2]'.

    The agency that (shoddily...) built the webshop installed Wordfence Free [3], so I've just kept that for now, though I feel it's kind of slow (but that might just be caused by the bottom-of-barrel performance of the shared webhost it's currently running on).

    [1] https://github.com/SpiderLabs/ModSecurity

    [2] https://perishablepress.com/7g-firewall/

    [3] https://www.wordfence.com/

  • An actual secure selfhosted Reverse Proxy with cool stats?
    3 projects | /r/selfhosted | 19 Nov 2021
    By Web Firewall did you mean smth like this ?

What are some alternatives?

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

crowdsec - CrowdSec - the open-source and participative security solution offering crowdsourced protection against malicious IPs and access to the most advanced real-world CTI.

whalewall - Automate management of firewall rules for Docker containers

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

ModSecurity-nginx - ModSecurity v3 Nginx Connector

naxsi - NAXSI is an open-source, high performance, low rules maintenance WAF for NGINX

lua-resty-waf - High-performance WAF built on the OpenResty stack

modsecurity-spoa - HAProxy agent for ModSecurity web application firewall

wafw00f - WAFW00F allows one to identify and fingerprint Web Application Firewall (WAF) products protecting a website.

wpscan - WPScan WordPress security scanner. Written for security professionals and blog maintainers to test the security of their WordPress websites. Contact us via [email protected]

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

openappsec - open-appsec is an open-source machine learning security engine that preemptively and automatically prevents threats against Web Application & APIs. It is available for NGINX, NGINX Ingress, Envoy (Soon), Kong (Soon), Ambassador (Soon).