mirror of
https://github.com/chainguard-dev/osquery-defense-kit
synced 2025-01-10 23:59:29 +00:00
10 lines
287 B
SQL
10 lines
287 B
SQL
-- https://posts.specterops.io/hunting-for-bad-apples-part-1-22ef2b44c0aa
|
|
select *
|
|
FROM signature s
|
|
JOIN launchd d ON d.program_arguments = s.path
|
|
WHERE d.name LIKE 'com.apple.%'
|
|
AND (
|
|
signed = 0
|
|
OR authority != 'Software Signing'
|
|
)
|
|
AND d.run_at_load = 1; |