osquery-defense-kit/incident_response/process_open_pipes.sql

16 lines
309 B
MySQL
Raw Normal View History

-- Return the list of open pipes per process
2023-02-23 14:35:38 +00:00
--
-- tags: postmortem
2023-02-24 21:30:17 +00:00
-- platform: linux
SELECT
p.path AS p_path,
p.name AS p_name,
p.start_time AS p_time,
p.euid AS p_euid,
p.uid AS p_uid,
p.cmdline AS p_cmdline,
pop.*
FROM
process_open_pipes AS pop
LEFT JOIN processes p ON pop.pid = p.pid;