Track authentication events from the `Windows Security Auditing` provider
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- Go
- Sterne
- 2.6k
- Forks
- 222
- Ø Merge
- 16 Std. 23 Min.
- Gemergte PRs (30 T.)
- 11
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus rabbitstack/fibratus
-
Service crashes on Windows Server 2016: "panic: sub-authority index out of range" in RidToStringOffentype: bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
rabbitstack/fibratus#761 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
CI: the test job has been red since September, and TestFsProcessor looks like a real mmap regressionOffenci
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 22/100
rabbitstack/fibratus#754 · 1 Kommentar · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
ci rules type: enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 15/100
rabbitstack/fibratus#715 ·
Maintainer antworten meist innerhalb von 1 Tag
-
scope: hardering type: enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 15/100
rabbitstack/fibratus#713 ·
Maintainer antworten meist innerhalb von 1 Tag
-
needs: config scope: events/telemetry type: feature
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
rabbitstack/fibratus#710 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in rabbitstack/fibratus
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 82/100
nebari-dev/llm-serving-pack#270 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
Maintainer antworten meist innerhalb von 1 Tag
-
area/controller
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
volcano-sh/kthena#2109 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 82/100
unbound-force/replicator#193 ·
Maintainer antworten meist innerhalb von 2 Tagen