-
Notifications
You must be signed in to change notification settings - Fork 297
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
santad: Add signal auth to tamper resistence. (#1360)
Prior to this change, root users could kill the com.google.santa.daemon process. It would be immediately restarted by sysextd but this opens a very brief window where protection is lost. Hooking AUTH_SIGNAL and blocking all signals to the santad process except those sent by launchd lets us block this without breaking upgrades, reboots, etc. This leaves `launchctl kill` and friends as an avenue, so we're also hooking for exec and blocking executions of launchctl that reference com.google.santa.daemon except in known safe cases.
- Loading branch information
1 parent
53a2bbd
commit a42dd6e
Showing
2 changed files
with
96 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters