Skip to content
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

Implement filament rule action #243

Open
rabbitstack opened this issue Jan 24, 2024 · 0 comments
Open

Implement filament rule action #243

rabbitstack opened this issue Jan 24, 2024 · 0 comments
Labels
needs: docs Indicates that the issue needs documentation updates scope: filaments Anything related to filaments scope: yara Anything related to libyara and pattern matching

Comments

@rabbitstack
Copy link
Owner

rabbitstack commented Jan 24, 2024

A prominent use case for filaments is alert post-processing. This would allow any filament defining the on_next_alert function to react on alert arrival, either generated by the detection engine or YARA scanner.
If the filament has the definition of the on_next_alert(alert) function, each time an alert is triggered, the filament framework will invoke the former function. The first parameter of this function contains the alert details such as:

  • alert title
  • alert detailed description
  • provenance (detection, yara, etc.)
  • tags
  • alert metadata

Detection rules will define a new action to specify the filament to execute and an optional args given to the Python VM.
Yara scanner must specify the list of filaments to execute when the rule matches. Additionally, the Yara rule can declare the filament metadata with the name of the filament to execute upon rule firing.

@rabbitstack rabbitstack added scope: filaments Anything related to filaments needs: docs Indicates that the issue needs documentation updates labels Jan 24, 2024
@rabbitstack rabbitstack changed the title Alerts sink in filaments Implement filament rule action Dec 10, 2024
@rabbitstack rabbitstack added the scope: yara Anything related to libyara and pattern matching label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs: docs Indicates that the issue needs documentation updates scope: filaments Anything related to filaments scope: yara Anything related to libyara and pattern matching
Projects
None yet
Development

No branches or pull requests

1 participant