Track authentication events from the `Windows Security Auditing` provider
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start with the ParamDecoder and the existing event.Type definitions for AuthenticateOk and AuthenticateFailed, which both need to converge on the name Authenticate. Then work out how to attach to the OS-managed Microsoft-Windows-Security-Auditing session without start/stop calls. Done means events 4624 and 4625 produce one Authenticate event with a success/failure outcome, evt.name = 'Authenticate' and the authenticate macro match them, and a missing session or disabled auditing policy is handled gracefully.
由索引模型根据 Issue 内容生成。
描述
Motivation
Fibratus has no visibility into Windows authentication activity today. Logon success/failure is core telemetry for detection engineering (brute-force, lateral movement, credential validation abuse), and it's available through the Microsoft-Windows-Security-Auditing ETW provider. This provider is special: its session (the built-in Security auditing log) is started by the OS itself. Fibratus can't start or stop it, but it can open the existing trace and consume events from it.
Expectation
Fibratus gains a new Authenticate event type that surfaces both successful and failed logons through a single unified event, with a parameter indicating the outcome.
Proposal
- Open the OS-managed
Microsoft-Windows-Security-AuditingETW session for consumption (read-only attach, no start/stop lifecycle management needed, unlike Fibratus's other kernel/user ETW sessions) - Handle event IDs 4624 (successful logon) and 4625 (failed logon attempt) from that provider's manifest
- Treat both as the same underlying
Authenticateevent type in Fibratus's event model, distinguished by an outcome parameter (success/failure) rather than as two separate event kinds. In other words, bothAuthenticateOkandAuthenticateFailedevent.Typedefinitions will converge on the same event name -Authenticate. This will make it possible to express the event condition asevt.name = 'Authenticate'which we'll wrap into theauthenticatemacro. For failed authentication attempts, we'll discern onauthentication.status = 'failed'field. - Parse the event payload via binary reading in the ParamDecoder, consistent with how other ETW events are decoded in Fibratus
- Reference schema: the Microsoft-Windows-Security-Auditing manifest (event IDs 4624/4625). See nasbench/EVTX-ETW-Resources for the field layout
Additional context
- Since Fibratus doesn't control this session's lifecycle, error handling should account for the session already existing/being unavailable (e.g. auditing policy not enabled for logon events) rather than assuming Fibratus-managed start semantics
- Logon type (interactive, network, RDP, service, etc.), target/subject account, and logon ID are typically the fields of most detection value from 4624/4625 and would be natural candidates for the
Authenticateevent's params, alongside the success/failure outcome
- 主要语言
- Go
- 星标
- 2.6k
- 派生
- 222
- 平均合并
- 16 小时 23 分钟
- 30 天内合并 PR
- 11
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
rabbitstack/fibratus 的其他 Issue
-
Service crashes on Windows Server 2016: "panic: sub-authority index out of range" in RidToString未关闭type: bug
难度 2/5 1-3 小时 新手友好度 82/100
rabbitstack/fibratus#761 · 1 条评论 ·
维护者通常 1 天内回复
-
CI: the test job has been red since September, and TestFsProcessor looks like a real mmap regression未关闭ci
难度 4/5 3-5 天 新手友好度 22/100
rabbitstack/fibratus#754 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
ci rules type: enhancement
难度 5/5 一周以上 新手友好度 15/100
rabbitstack/fibratus#715 ·
维护者通常 1 天内回复
-
scope: hardering type: enhancement
难度 5/5 一周以上 新手友好度 15/100
rabbitstack/fibratus#713 ·
维护者通常 1 天内回复
-
needs: config scope: events/telemetry type: feature
难度 4/5 3-5 天 新手友好度 35/100
rabbitstack/fibratus#710 ·
维护者通常 1 天内回复
查看 rabbitstack/fibratus 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 82/100
nebari-dev/llm-serving-pack#270 · 1 条评论 ·
维护者通常 1 天内回复
-
needs-triage
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
area/controller
难度 2/5 1-3 小时 新手友好度 70/100
volcano-sh/kthena#2109 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 82/100
unbound-force/replicator#193 ·
维护者通常 2 天内回复