cscli scenarios install LePresidente/gitea-bf
Detect failed gitea authentications:
1# gitea BF scan2name: LePresidente/gitea-bf3description: "Detect gitea bruteforce"4filter: "evt.Meta.log_type == 'gitea_failed_auth'"5#debug: true6type: leaky7groupby: evt.Meta.source_ip8leakspeed: "20s"9capacity: 510blackhole: 1m11labels:12 service: gitea13 behavior: "vcs:bruteforce"14 classification:15 - attack.T111016 spoofable: 017 confidence: 318 label: "Gitea Bruteforce"19 remediation: true20---21# gitea user-enum22type: leaky23name: LePresidente/gitea-bf_user-enum24description: "Detect gitea user enum bruteforce"25filter: "evt.Meta.log_type == 'gitea_failed_auth'"26groupby: evt.Meta.source_ip27distinct: evt.Meta.user28leakspeed: 10s29capacity: 530blackhole: 1m31labels:32 service: gitea33 behavior: "vcs:bruteforce"34 spoofable: 035 confidence: 336 classification:37 - attack.T158938 - attack.T111039 label: "Gitea User Enumeration"40 remediation: true41