Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I have a question concerning SMB file audit delete events. We see two different types of events:
EVENT_ID: 4659 "Open Object with the intent to delete"
EVENT_ID: 4660 "Delete Object"
When we delete a file, event 4659 is always generated, but 4660 not in every case. 4660 is created when deleting MS-Office .tmp files for example.
We must to make sure to catch the correct event for the case: "user deletes a file" every time this happens. Can anyone tell my, how to do this?
thx and regards
sandsturm
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I also have been doing some research on why that was happening and I found this question without answer. If it had an answer I may have solved this sooner so let me contribute to the outcome I got with the help of some colleagues.
For a generic answer, I think this Knowledge Base document is helpful:
Then, there may be specific needs or scenarios where this answer alone may not be enough to understand.
Depending on the protocol and the application use of the protocol, some files may be open with a delete-on-close option (for example MS Office lock files):
In such cases we may see a 4659 at the open time of the file but no event gets registered when the file is actually deleted at close. That's independent from the storage and depends on the application usage of the protocol.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No workaround is available, but this is explained in kb CONTAP-84154: Different Windows Event IDs for SMB file deletion - NetApp Knowledge Base
