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

Allow file access logging from binaries in the default mute set #16

Open
pmarkowsky opened this issue Oct 4, 2024 · 0 comments
Open
Labels
daemon Issues or PRs related to the Santa Daemon enhancement New feature or request

Comments

@pmarkowsky
Copy link
Contributor

Currently, the File Access Authorization feature does not operate on access attempts from binaries within the default mute set. This is largely due to two issues:

  1. The basic mechanism used by Santa to auto-respond to messages about to miss a response deadline is not flexible enough to handle AUTH events with very low timeouts.

    • One option would be to maintain an ordered map with the key being the deadline and some polling method that ensures messages about to reach their deadline are responded to.
  2. Minor: The message processing of AUTH events in the File Access Authorizer ES client should be done inline with the message callback (i.e. in the es_handler_block_t block given to es_new_client)

    • As of now, it doesn't appear that message processing requires any operations that would block in external processes. We could take advantage of the handler block running on a much higher priority queue to achieve more throughput, and only go async when logging.
@pmarkowsky pmarkowsky added enhancement New feature or request daemon Issues or PRs related to the Santa Daemon labels Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
daemon Issues or PRs related to the Santa Daemon enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant