mirror of
https://github.com/chainguard-dev/osquery-defense-kit
synced 2024-12-11 16:44:35 +00:00
10 lines
273 B
SQL
10 lines
273 B
SQL
-- Inspired by BPFdoor
|
|
-- https://www.sandflysecurity.com/blog/bpfdoor-an-evasive-linux-backdoor-technical-analysis/
|
|
SELECT COUNT(*) AS count,
|
|
p.pid,
|
|
p.path,
|
|
p.cmdline
|
|
FROM process_envs pe
|
|
JOIN processes p ON pe.pid = p.pid
|
|
GROUP BY p.pid
|
|
HAVING count == 0; |