Replies: 5 comments 9 replies
-
I'd chime in to add that while this idea is prescriptive by spelling out the expected implementation detail/contents of a rule, it's somewhat intuitive that precedence-wise, we're placing bundle above a binary and below the same-tier-y teamIDs and certificates (which are all in turn below regex scopes). I personally agree with the implementation being teamID-focused since it's the new hotness (and deservedly so) vs. certs, as they conceptually eclipse previous cert rules' utility. |
Beta Was this translation helpful? Give feedback.
-
I'll admit I like this idea. As it'd let you easily allow list an entire bundle while still blocking a TeamID. In this new scheme then the rule precedence from highest to lowest should go as follows with our first match: graph TD
A[SHA256 Rules] --> B[Cert Rules]
B-->C[Bundle ID Rules]
C-->D[Team ID Rules]
D-->E[Path Based Rules]
|
Beta Was this translation helpful? Give feedback.
-
I like this idea generally but I don't think there's a way it can be done that is performant and safe. The existing implementation of bundles utilizes a helper process that scans the filesystem using heuristics to determine the "main" bundle for a given executable - this process can be quite slow (think Xcode.app, which is ~17G uncompressed and has >500k files) - and then determines all the binaries inside. It's OK that this takes a while because it is done outside of execution time (we only do it once execution has already been denied and the GUI is showing) To elaborate, using Firefox as the example: Firefox.app contains a helper process |
Beta Was this translation helpful? Give feedback.
-
@mlw pointed out in chat the EndpointSecurity.Framework passes the He's also stated which is often the bundle ID, but not required to be that. |
Beta Was this translation helpful? Give feedback.
-
Signing ID rules have been added to Santa as of #956 and should be available for use in the Rules will have the following precedence. graph LR
A[SHA256 Rules] --> B[Signing ID Rules]
B-->C[Cert Hash Rules]
C-->D[Team ID Rules]
D-->E[Path Based Rules]
|
Beta Was this translation helpful? Give feedback.
-
Type:
BUNDLEID
Identifier:
TEAM_ID:BUNDLE_ID
(43AQ936H96:org.mozilla.firefoxdeveloperedition
)Pros:
Beta Was this translation helpful? Give feedback.
All reactions