| 1 | #TAP IT TWICE : if more than 5 unique IPs of a range are being banned, drop the range |
| 2 | type: leaky |
| 3 | #debug: true |
| 4 | name: crowdsecurity/ban-defcon-drop_range |
| 5 | description: "Ban a range if more than 5 ips from it are banned at a time" |
| 6 | #it's an overflow from a scenario that triggered a remediation ;) |
| 7 | filter: "evt.GetType() == 'overflow' && evt.Overflow.Alert.Remediation == true" |
| 8 | groupby: "evt.Overflow.Alert.Source.Range" |
| 9 | distinct: "evt.Overflow.Alert.Source.IP" |
| 10 | capacity: 5 |
| 11 | leakspeed: "1m" |
| 12 | blackhole: 5m |
| 13 | labels: |
| 14 | remediation: true |
| 15 | scope: |
| 16 | type: Range |
| 17 |