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

Only eval TID and SID rules when the binary signature is valid #1191

Merged
merged 2 commits into from
Sep 28, 2023

Conversation

mlw
Copy link
Contributor

@mlw mlw commented Sep 27, 2023

Team ID and Signing ID rules should only be evaluated when the binary's signature is valid. This change ensures TID/SID values are not used when looking up rules if code signature checks fail.

Additionally this updates the test rules.db to the latest schema and completely revamped the SantadTest to better ensure the stated purpose of each test is actually met.

Related: #1120

@mlw mlw added bug santad Work related to the Santa Daemon testing labels Sep 27, 2023
@mlw mlw requested a review from a team as a code owner September 27, 2023 17:16
@mlw mlw force-pushed the only-eval-tid-sid-rules-with-valid-sigs branch from 615bfc6 to f672939 Compare September 27, 2023 18:55
Copy link
Contributor

@pmarkowsky pmarkowsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@mlw mlw merged commit 5a383eb into google:main Sep 28, 2023
9 checks passed
@pmarkowsky pmarkowsky added this to the 2023.8 Release milestone Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug santad Work related to the Santa Daemon testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants