-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[auditbeat][windows] file changes events are generated although no changes #17347
Comments
Pinging @elastic/siem (Team:SIEM) |
I'm having the same issue is a large way. 4-5 event.action:update's an hour. All the Sha1 hashes are the same. file.ctime is different. It looks to be triggering the update on file.ctime which seems wrong. |
An update: I've found that the only difference in the file is file.mtime was updated. To me, it looks like the file integrity module is flagging a change if file.mtime is different, when it should be only triggering on the hash. |
It does consider mtime. beats/auditbeat/module/file_integrity/event.go Lines 378 to 381 in 56ba9d0
What I think those events should contain a single action of
|
event.action is "updated" in this scenario, which we all agree it should not be. |
My ideal solution would be to have For example there are edge cases around moves/deletes or when the OS coalesces multiple changes into a single event (e.g. So perhaps we can add another field that specifically indicates what changed based on the stored state and the current file (e.g. attributes, contents). |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
auditbit generates change events for some files, although there were no file changes.
Below is an example of an event.
The time it takes to create and modify the file is different from the time of the event. I found the initial_scan event of this file in logs. All fields are completely identical, including the sha1 hash of the file.
Created event:
Auditbeat configuration:
Versions:
The text was updated successfully, but these errors were encountered: