r/CrowdSec • • 12h ago

general Crowdsec and existing NPM

5 Upvotes

Hello all. New member (noobie). First time post so please go easy on me.

I have been running nginx proxy manager in an Unraid ubuntu VM for a good while now. I have created upwards of 50 hosts. Is there any way to integrate crowdsec into my existing setup? I have spent the last day or so reading up on different scenarios. But I have no plans on starting from scratch with something like NPMplus for example. Your time, patience, and assistance will be greatly appreciated. Thank you. Peter


r/CrowdSec • • 1d ago

general We're launching Bot Detection on Product Hunt on Thursday

15 Upvotes

Hi everyone! This Thursday (3 Dec) at 9:01 Paris time / 12:01 AM Pacific, we're launching CrowdSec Bot Detection on Product Hunt.

A quick recap if you haven't tried it yet: visitors get a short, invisible browser check (a small proof-of-work plus a device fingerprint), so headless browsers and scrapers get stopped at your proxy, while real users and verified search engines get through. It's available to all CrowdSec users.

A lot of you have already been testing it and sending us feedback, so thank you! Thursday is a great chance to share what's worked for you (and what hasn't). Thibault and the team will be on the launch page all day on Thursday to answer questions.

Be sure to follow the page: https://www.producthunt.com/products/crowdsec

I'll post the product link here as soon as we're live.


r/CrowdSec • • 9d ago

bug "A lot more..."

Post image
33 Upvotes

Has anybody else noticed this in the weekly security reports?

Shady business practice or honest mistake?


r/CrowdSec • • 12d ago

general Ruby4Shell : Virtual patching rules

21 Upvotes

Hi everyone, so the week keeps on going. We've just published a Ruby2Shell virtual patching rule for CrowdSec's WAF: https://app.crowdsec.net/hub/author/crowdsecurity/waf-rules/vpatch-CVE-2026-132825. As always, it's included in the virtual patching collection. 🦙 And in case you need it, here is the WAF setup guide.


r/CrowdSec • • 13d ago

bouncers WAF, Bouncers and nginx from official repos

12 Upvotes

Ok, so am I being stupid here? I run Debian, and because they don't update that particularly quickly, I decided to swap from the version in the Debian repos to the official nginx repos, and install from there.

I have then found out that now the nginx bouncer that crowdsec has, won't install because lua module isn't installing due to dependency issues.

Basically, am I unreasonable to be using the official nginx repos?

Should I just abort this bouncer and use an iptables one instead?


r/CrowdSec • • 14d ago

general Java4Shell : Virtual patching rules

24 Upvotes

Hello,

As people are reaching out, we just published a Java4Shell virtual patching rule for CrowdSec's WAF:

https://app.crowdsec.net/hub/author/crowdsecurity/waf-rules/vpatch-CVE-2026-114938

As usual, it is part of the virtual patching collection, so it will come automatically in the next update.

See the WAF setup guide if you're late to the party.

Stay safe 🦙


r/CrowdSec • • 18d ago

general CrowdSec Escalation Controller

Post image
21 Upvotes

Hey everyone,

I've been working on cs-escalation-controller, an open-source tool that extends CrowdSec bans for repeat offenders.

The idea is straightforward. When an IP comes back after a ban and gets banned again, its next ban gets longer. By default, durations start at 4 hours and double with each offense, up to 30 days. Those values are configurable.

It connects to CrowdSec's Local API and keeps persistent per-IP history, so restarting the controller doesn't lose track of previous offenses. Overlapping alerts during the same ban count as one offense, and it preserves existing bans that are already longer than the calculated duration.

History resets after a configurable quiet period, with time spent banned excluded from that period. You can also exclude specific scenarios from escalation.

It runs as a standalone binary or a Docker container. Dry-run mode is enabled by default, so you can see what it would do before letting it create decisions.

Code and configuration: https://github.com/crazy-max/cs-escalation-controller

I'd be interested in feedback from you, especially on how you handle repeat offenders today and what escalation or reset settings make sense for your setups.


r/CrowdSec • • 18d ago

general Pricing for homelabs

25 Upvotes

I like Crowdsec and wouldn't mind paying for it, but $29/mo. seems a bit steep, really. Are you thinking about making a special offer for homelabs?


r/CrowdSec • • 20d ago

general CrowdSec blocks NetBird behind Pangolin?

Thumbnail reddit.com
2 Upvotes

r/CrowdSec • • 21d ago

scenarios Integration with Fortigate

2 Upvotes

Hi,

Just deployed Crowdsec and Blocklist on Debian.

And could like to integrate with Fortigate as external IP blocklist.

But found blocklist haven’t download and update once setup completed.

May I know this right ? Or I should create account on Crowdsec and generate a link for Fortigate ?

Thanks


r/CrowdSec • • 22d ago

general My server is sleeping like Baby, thanks to CrowdSec

50 Upvotes

Lately, my server was going down every few hours due to bot traffic, I tried fail2ban initially which was helpful however the problem - I need to always depend on Rate Limit and by that time, some attacks were really bad and hard to catch.

After 20 days of facing same, I deployed CrowdSec with basic bouncer rule.

apt install -y crowdsec

with

apt install -y crowdsec-firewall-bouncer-nftables

No more cacophony from uptime monitoring services. 😂

Initially I was very afraid that this might be really technical and hard to understand but I figured out in just 1 hour, successfully managed to deploy and test with cscli metrics command.


r/CrowdSec • • 22d ago

bug Authentik Traffic Always Flagged

1 Upvotes

Hi, I'm having lots of troubles working with CrowdSec + Bunkerweb.

I'm using the bunkerweb-bouncer and the crowdsec-bouncer and every time I navigate to the /api/v3 urls on Authentik I'm getting banned.

I've tried disabling all the limiting and bad behaviour on Bunkerweb but CrowdSec always picks up on my legitimate traffic on those endpoints and bans me.

Is there anyone running the same or similar setup and knows how to fix this behaviour? Is my first time working with CrowdSec and I'm getting banned more often than actual attackers.

P.S. CrowdSec is running bare metal and communicating with Bunkerweb through the API.


r/CrowdSec • • 27d ago

bouncers Bouncer metrics not showing in Crowdsec console

2 Upvotes

Hello,

I have a distributed setup with one engine, one log processor and two bouncers (the top two in the picture below) on one server, and another log processor with a single bouncer on a different server.

When I installed the first server, I noticed that I didn't see the bouncer metrics in the console. I tried removing the bouncers and adding them back, re-installing everything from scratch (thanks snaphots), and also removing the engine and re-enrolling it. Nothing helped. However, I could see the metrics locally with cscli, everything else worked, so I just forgot about the issue.

Yesterday, I added a second server, where I run the log processor and one bouncer and, wonder, I can see the metrics.

These are two identical VPS, running the same Debian version and the same version of the crowdsec software components. I would at least expect that the two firewall bouncers behave in the same way, but that's not the case.

How is that possible? Any ideas?

It's not a big deal, but now I'm really puzzled.

Thanks!


r/CrowdSec • • Nov 01 '26

general cscli vs. Console mismatch

2 Upvotes

Hello community,
so I've followed setup for deploying CrowdSec as a central engine with log centralization rather than multi-server setup. So far I've connected Caddy from VPS (custom build including necessary modules) and logs are being transferred using rsyslog.

So far, everything seems ok - rsyslog is gathering logs from Caddy, cscli bouncers list correctly shows caddy with recent Last API Pull time/date and "Valid" checkmark. Upon cscli metrics it shows all (almost) lines parsed, all seems correct.. Looking at CrowdSec Console (app.crowdsec.net), the engine list Caddy as remediation component labeled as Active with "No metrics available."

My question is about Stack Health. Despite information above Stack Health shows "Bonus" action with "Security Engine No Remediation Component" which does not make sense to me. I marked it as solved few hours ago but it re-appeared, but am clueless on what should I need to do more to resolve it.

If it helps for any further guidance, engine currently has 53 scenarios (from linux installation + caddy), 1 remediation component listed on Overview and 2 blocklists. Within these ~24 hours, I've received "only" 6 alerts which also seems a bit off to me.


r/CrowdSec • • Oct 31 '26

general Question about globs in acquis.d files

1 Upvotes

Quick question on acquis.d/appsec.yaml

The docs say:

An entry can also be a glob pattern (* and ?), which is expanded to all the installed appsec-configs matching it, for example crowdsecurity/appsec-bot-challenge-exclude-*. A pattern matching no installed appsec-config is an error.

When I list a custom config:

- custom/my-rule works fine.
- custom/* produces a fatal error:

FATAL crowdsec init: while loading acquisition config: /etc/crowdsec/acquis.d/appsec.yaml: datasource of type appsec: unable to build appsec_config: unable to load inband rule custom/* : no appsec-rules found for pattern custom/*

What am I doing wrong here?


r/CrowdSec • • Oct 28 '26

general CrowdSec 1.8.2, Apache Bouncer and webinar

29 Upvotes

Hello !

Despite php2shell, the internet didn’t end, so we released more stuff:

CrowdSec 1.8.2 brings very significant improvements to the bot detection feature, allowing us to ship custom bot detection via the hub, and users to craft their own. Bot Hunting is a cat and mouse game, so we wanted to be sure to decorrelate detection and scoring from CrowdSec releases. We thus shipped some new detection methods and signals that we found to detect common “stealth browsers”. We also shipped various performance improvements for both the WAF, the Bot Challenge and the Log Processing features. You can read more in the release note.

Apache CrowdSec Bouncer finally got some love. This total revamp of the existing bouncer brings support for the Web Application Firewall and the Bot Detection feature natively to apache, alongside with stream support. It was long overdue, and php2shell pushed us to speedrun the module’s release. Read more here.

Also, u/bl0tus and I are running a webinar tomorrow afternoon (29/10) at 4pm CET on the new bot detection feature, we will showcase new bot detection features and signals, so come join us : https://www.youtube.com/live/rHKs3yAquQo

Stay safe 🦙


r/CrowdSec • • Oct 27 '26

general PHP2Shell after five days on the CrowdSec network: still no mass exploitation

45 Upvotes

Hey that's Matt from the CrowdSec data team and I am sharing what the network saw in the first five days of PHP2Shell.

On the timeline: The details of the vulnerability leaked on the 20th, the FOSS team managed to write a vpatch rule and merged it on the Hub at 10:13 UTC on the 21st. A sensor blocked the first request at 10:37. When the CVEs were published at 13:34, 17 IPs had already been blocked, and 18 by the time PHP released the fix.

From October 21 to 25 (UTC), 1,730 sensors blocked requests from 1,187 IPs. Sorted by when each IP first showed up:

- Wednesday afternoon: 72 IPs probing.

- Overnight: 238 more, mostly going for the session upload route (CVE-2026-109619), the easier of the two.

- Thursday 10:00 to 15:00: 405 new IPs in five hours, 72% of which had attacked React2Shell in the previous 90 days. One known fleet switching targets.

- Thursday evening to Sunday: about 130 new IPs a day. There was no second wave.

My read on why it stays quiet: there is no public exploit that works reliably on a default PHP install and can be used at scale. The working exploits are still confidential and used only when the outcomes are certain. This aligned with what we show in the traffic analysis. Half the sources sent a single request in five days, which is unlikely to go through given the nature of the exploit.

PHP2Shell attacks distribution

You can find more details including charts and complete timeline description in the full write-up: PHP2Shell, five days in

Live Exploit Tracker can also be used to monitor the evolution of the threat for : CVE-2026-109619

Found this post useful? Let us know with a comment or an upvote. If your alerts show something different, don't hesitate to share it below with the community, this is always something we love hearing about.


r/CrowdSec • • Oct 26 '26

general Clarification on Bot Detection Warning

5 Upvotes

I noticed this large warning banner at the top of the Bot Detection page:

Check that your bouncer supports bot detection before going further, see the list of compatible bouncers. Enabling it behind a bouncer that does not support it leads to unexpected behavior, most likely silently refusing every client.

I have two bouncers, the firewall bouncer that applies the block list at the edge of my network, and the ngnix bouncer for app sec responses that don't result in a full ban.

Can I safely enable bot detection if one of my bouncers supports it, or will the non-supported bouncer still cause unexpected behaviors?


r/CrowdSec • • Oct 25 '26

bouncers Implementing WAF with Traefik: bouncer OK but acquisition and remediation does not work.

2 Upvotes

Hello all,

I am trying to enable the WAF feature on my Traefik instance.I have followed the documentation on the website and the Traefik bouncer plugin seems to work fine.

I did the test of manually banning my IP and it worked i.e. I received an error 403. Same thing if I shut down Crowdsec the access to Traefik gets blocked with an error 403 which is consistent with the bouncer settings below.

Here are the settings in my dynamic Traefik configuration:

 middlewares:
    my-crowdsec-bouncer-traefik-plugin:
     plugin:
       crowdsec-bouncer-traefik-plugin:
         CrowdsecLapiKey: [REDACTED]
         Enabled: "true"
         CrowdsecLapiHost: 172.17.0.1:8080
         CrowdsecAppsecHost: 172.17.0.1:7422
         CrowdsecAppsecFailureBlock: "true"
         CrowdsecAppsecUnreachableBlock: "true"

Now the AppSec part, i.e. the acquisition and remediation parts does not seem to work. I am not too sure how to confirm that 100% but the documentation says that access to mysite/.env should be blocked and unfortunately it is not blocked.

There is no error showing in my Traefik logs nor in the Crowdsec logs. I don't know where to look and how to start the troubleshooting tbh. In my understanding since shutting down Crowdsec triggers an error 403 that means the settings CrowdsecAppsecUnreachableBlock: "true" is working, which is an indication that the AppSec server on port 7422 is accessible from the plugin when Crowdsec is started.

Any help would be welcome.


r/CrowdSec • • Oct 24 '26

general Metabase Dashboard view similar to crowdsec app alerts

Post image
3 Upvotes

I wanted a list of alerts that is similar to the app view for alerts but in the Crowdsec Dashboard. After some back and forth with claude, I was able to get this:

SELECT
  a.id,
  a.created_at                                   AS "Time",
  a.scenario                                     AS "Scenario",
  a.source_value                                 AS "IP",
  a.source_as_name                               AS "AS",
  char(127397 + unicode(substr(a.source_country,1,1)),
       127397 + unicode(substr(a.source_country,2,1)))
    || ' ' || a.source_country                   AS "Country",
  m.machine_id                                   AS "Engine",
  m.ip_address                                   AS "Engine IP",
  COALESCE(
    (SELECT group_concat(DISTINCT json_extract(j.value, '$.value'))
       FROM events e, json_each(e.serialized) j
      WHERE e.alert_events = a.id
        AND json_extract(j.value, '$.key') = 'target_fqdn'),
    (SELECT group_concat(DISTINCT json_extract(j.value, '$.value'))
       FROM events e, json_each(e.serialized) j
      WHERE e.alert_events = a.id
        AND json_extract(j.value, '$.key') = 'traefik_router_name')
  ) AS "Host / Router",
  (SELECT count(*) FROM decisions d
    WHERE d.alert_decisions = a.id)              AS "Decisions",
  (SELECT group_concat('- ' || mt.key || ' = ' || trim(mt.value, '[]"'), char(13) || char(10)
                ORDER BY CASE mt.key
                            WHEN 'target_uri'    THEN 1
                            WHEN 'user_agent'    THEN 2
                            WHEN 'matched_zones' THEN 3
                            WHEN 'method'        THEN 4
                            WHEN 'status'        THEN 5
                            WHEN 'msg'           THEN 6
                            WHEN 'name'          THEN 7
                            ELSE 99 END, mt.key)
     FROM meta mt WHERE mt.alert_metas = a.id)   AS "Context"
FROM alerts a
JOIN machines m ON m.id = a.machine_alerts
WHERE 1=1
  [[AND a.source_value = {{ip}}]]
  [[AND a.scenario LIKE '%' || {{scenario}} || '%']]
ORDER BY a.created_at DESC
LIMIT 500;

r/CrowdSec • • Oct 23 '26

scenarios Mirage Feed: daily honeypot threat intelligence

Thumbnail
feeds.offseq.com
3 Upvotes

r/CrowdSec • • Oct 22 '26

general PHP2Shell (CVE-2026-109618 / CVE-2026-109619): If you can’t patch today, install Crowdsec WAF to block the known exploit requests

67 Upvotes

On Wednesday, PHP released emergency updates for two critical vulnerabilities known as PHP2Shell (CVE-2026-109618 and CVE-2026-109619). Both are rated CVSS 9.2 and can allow unauthenticated remote code execution. Thanks to details that leaked previously to disclosure, the CrowdSec team was able to craft virtual patching rules before the release of the vulnerability.

You can find both WAF rules here:

These rules were live at 10:13 UTC on Oct 21, and the first detection occurred at 10:37 UTC before PHP’s 14:00 UTC release. This detected IP belonged to a Hetzner server in Germany which had never been seen before by CrowdSec. It was later confirmed by numerous other Crowdsec instances.

In the first 23 hours, the rules blocked 2,116 requests from 305 IPs on the CrowdSec Network, more than half of them in bursts of 10+ requests to single servers, which is what a real attempt looks like for this exploit. 

Exploit timeline from https://tracker.crowdsec.net/cves/CVE-2026-109618

You can find more details about the flagged IPs on the dedicated page of our Live Exploit Tracker: 

If you are already using the WAF,  you can follow this documentation for extra safety. However, on virtual-machines, CrowdSec auto-updates every 24 hours.

No WAF yet? Here is the setup guide: https://doc.crowdsec.net/docs/next/appsec/intro/

Note that patching is the only complete fix; until then, stay safe!

#php2shell


r/CrowdSec • • Oct 22 '26

general Is crowdsec right tool for me?

4 Upvotes

Such unwanted bots hammer my site so much from various random IPs. I am fed up of high CPU usage and downtime. May be I should not have created my site and instead distribute print out of every pages via pigeon.


r/CrowdSec • • Oct 21 '26

general I have banned myself

5 Upvotes

Hi I am really new to this and was working on getting Crowdsec working on with NPM-plus on my ugreen nas. I followed a bunch of guides and got both set up. I went to test if Crowdsec was working at all. Since right now NPM-plus is logging every IP as my Docker IP I had the genius idea to just ban the whole subnet. The good news was Crowdsec worked and blocked access from all the docker IPs. The bad news is when I use Cscli to delete the banned IP, it will say it removed it, shows no banned IP, but if I try to access my proxy manager or the jellyfin server I set up behind it, it says I'm still banned. The only way past it was to disable the bouncer. How can I fix this?

Thanks ahead of time.

Using a u green nas 4800 plus with docker compose.