[auditbeat] New ETW backend for FIM#45887
Merged
marc-gr merged 48 commits intoelastic:mainfrom Sep 19, 2025
Merged
Conversation
Contributor
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
Contributor
🔍 Preview links for changed docs |
Contributor
|
Pinging @elastic/sec-windows-platform (Team:Security-Windows Platform) |
7363966 to
3cddbc6
Compare
belimawr
approved these changes
Sep 3, 2025
Contributor
belimawr
left a comment
There was a problem hiding this comment.
Approving the changes in the files that belong to the data-plane.
andrewkroh
reviewed
Sep 4, 2025
Member
andrewkroh
left a comment
There was a problem hiding this comment.
Nice addition. There's a lot here to review. I think this needs another reviewer.
Can you ensure that buildkits run the auditbeat tests on Windows with RACE_DETECTOR=true set in the environment.
andrewkroh
reviewed
Sep 5, 2025
mauri870
approved these changes
Sep 8, 2025
chemamartinez
approved these changes
Sep 18, 2025
Contributor
chemamartinez
left a comment
There was a problem hiding this comment.
LGTM, mostly focused on the part related with the ETW interface.
andrewkroh
approved these changes
Sep 18, 2025
Co-authored-by: Andrew Kroh <andrew.kroh@elastic.co>
colleenmcginnis
approved these changes
Sep 18, 2025
Contributor
colleenmcginnis
left a comment
There was a problem hiding this comment.
Approving to unblock, but I left the tiniest suggestion below. I believe you will also need to rerun make update and commit any changes to get check-docs to pass.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed commit message
Introduces a new backend for File Integrity Monitoring (FIM) on Windows, built on Event Tracing for Windows (ETW).
Motivation
Implementation Details
ETW Consumer: A new consumer subscribes to the
Kernel-FileIoETW provider to receive a raw stream of file system activity events.Event Correlator: Raw ETW events are extremely granular (e.g., a simple file modification can generate
fileCreate,fileWrite,fileSetInformation, andfileCloseevents). The correlator:created,updated,deleted,moved, etc.).Rich Metadata Collection: The implementation collects rich metadata for each event, including:
Testing
Added a test to generate samples for both Windows backends for the sake of comparison. This tests can't be enabled to run on CI since their output may vary due to system load, etw buffer flushing, etc. but is still useful for reference and to see how both implementations behave.
Checklist
CHANGELOG.next.asciidocorCHANGELOG-developer.next.asciidoc.Disruptive User Impact
Related issues