The Authelia parser (v0.9) doesn't classify `Unsuccessful 1FA authentication attempt by user ''`
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 72/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- yaml
调研方向
从阅读 Authelia 解析器(v0.9)和相关 issue #1268 开始;该 issue 还在 /etc/crowdsec/parsers/s02-enrich/authelia-empty-user.yaml 中给出了一个变通方案。检查解析器如何对认证失败消息进行分类。完成的标准是:用户名为空的消息被分类为 auth_failed,从而让暴力破解场景能够捕获它。
由索引模型根据 Issue 内容生成。
描述
The Authelia parser (v0.9) doesn't classify Unsuccessful 1FA authentication attempt by user '' as auth_failed, so the brute-force scenarios don't pick it up.
Looks related to #1268, but with a different log message.
AI wrote me this small workaround:
/etc/crowdsec/parsers/s02-enrich/authelia-empty-user.yaml
name: local/authelia-empty-user
description: "Classify Authelia failed authentication with empty username"
filter: >-
evt.Meta.service == "authelia" &&
evt.Unmarshaled.authelia.msg == "Unsuccessful 1FA authentication attempt by user ''"
statics:
- meta: log_type
value: auth_failed
With that it did find empty user login attempts too.
Could this case be handled upstream as well?
- 主要语言
- Python
- 星标
- 257
- 派生
- 235
- 平均合并
- 2 天 10 小时
- 30 天内合并 PR
- 26
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
crowdsecurity/hub 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
crowdsecurity/hub#2020 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 78/100
crowdsecurity/hub#2009 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
crowdsecurity/hub#1999 ·
维护者通常 1 天内回复
-
Time format with time zone in Home Assistant parser可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
crowdsecurity/hub#1998 · 6 条评论 ·
维护者通常 1 天内回复
-
proxmox-logs parser does not handle ipv4 addresses that are being displayed as ipv6 ideally可能已有人在做 @hrithiksaini99 于 16 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 67/100
crowdsecurity/hub#1934 ·
维护者通常 1 天内回复
查看 crowdsecurity/hub 的全部 Issue
相似的 Issue
-
bot-triaged module: correctness (silent) module: fft triage review
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 78/100
conda-forge/zarpaint-feedstock#8 · 1 条评论 · 1 个 reaction ·
-
plot_prediction colorbar shows a 0-1 range instead of the data range可能已有人在做 @nikhil3495 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
mllam/neural-lam#902 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
didi/helixharness#28 ·
维护者通常 1 天内回复
-
enhancement
难度 1/5 1 小时以内 新手友好度 62/100
DaoCloud/DaoCloud-docs#7839 ·
维护者通常 1 天内回复