google / santa

A binary authorization and monitoring system for macOS
https://santa.dev
Apache License 2.0
4.37k stars 295 forks source link

santad: Add signal auth to tamper resistence. #1360

Closed russellhancox closed 1 month ago

russellhancox commented 1 month ago

Root users can currently kill the com.google.santa.daemon process. It will be immediately restarted by sysextd but this opens a very brief window where protection is lost. Hooking ES_EVENT_TYPE_AUTH_SIGNAL and blocking all signals to the santad process prevents this and it doesn't interfere with upgrades.

mlw commented 1 month ago

1235