osquery-defense-kit/firewall/unexpected-gatekeeper-approvals.sql
2022-09-09 12:51:52 -04:00

5 lines
163 B
SQL

-- -- https://posts.specterops.io/hunting-for-bad-apples-part-2-6f2d01b1f7d3
SELECT * FROM gatekeeper_approved_apps
WHERE
path NOT LIKE "/Users/%/code/bin/protoc"