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

Switch to evaluating the live SecCodeRef when authorizing new execs #1232

Open
mlw opened this issue Nov 10, 2023 · 1 comment
Open

Switch to evaluating the live SecCodeRef when authorizing new execs #1232

mlw opened this issue Nov 10, 2023 · 1 comment

Comments

@mlw
Copy link
Member

mlw commented Nov 10, 2023

The SNTPolicyProcessor via MOLCodesignChecker currently evaluates the SecStaticCodeRef of a file path when a new exec is authorized. This is a legacy limitation from when Santa deployed its own kext and used the available Kauth hook since the new process wasn't completely setup yet.

Now that Santa is using the EndpointSecurity framework, the ES exec hook should not have this same limitation and we can move to using the SecCodeRef.

@pmarkowsky
Copy link
Contributor

What's involved in changing this over? Is it as simple as changing the type or is there more to rewrite?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants