mirror of
https://github.com/chainguard-dev/osquery-defense-kit
synced 2024-12-14 10:04:40 +00:00
18 lines
291 B
SQL
18 lines
291 B
SQL
-- Find unexpected 3rd-party kernel extensions
|
|
--
|
|
-- false positives:
|
|
-- * none known
|
|
--
|
|
-- platform: darwin
|
|
-- tags: persistent seldom kernel
|
|
SELECT
|
|
*
|
|
FROM
|
|
kernel_extensions
|
|
WHERE
|
|
path NOT LIKE '/System/Library/Extensions/%'
|
|
AND NOT (
|
|
idx = 0
|
|
AND name = '__kernel__'
|
|
);
|