-
-
Notifications
You must be signed in to change notification settings - Fork 203
Closed
Labels
Description
Hi,
Describe the bug
I'm using a filament to collect the events I want, but it doesn't work for events that has "WriteFile", "RegDeleteKey" and "RegDeleteValue" in their name attribute.
How to reproduce it
- Write a filament like this one :
# myFilament.py
def on_init():
print("Starting filament")
@dotdictify
def on_next_kevent(kevent):
print(kevent.name)
if (kevent.name == "WriteFile"):
print(kevent)
def on_stop():
print("Ending filament")
- Run it with
fibratus run -f myFilament
Expected behavior
I also ran a capture while installing Blender with the fibratus capture command and converted it to JSON file, which had a lot of "WriteFile" events, I therefore expected to see a lot of "WriteFile" events in the console while using filaments. But I got 0.
Environment
- Fibratus version:
- Configuration: "fibratus config" returns me
Error: fibratus API server up and running on localhost:8482 - OS: Windows 10 Pro - build: 19045.5965
Additional context
- I also tried to put
kfilter("kevt.name = 'WriteFile'")at the start of theon_init()function but I got the same result. - I have the same problem with "RegDeleteKey" and "RegDeleteValue", I don't know if other events have that problem
- I tried the above propositions with "CreateFile" and it worked perfectly
Reactions are currently unavailable
