osquery-defense-kit/incident_response/shared_memory.sql

12 lines
198 B
SQL

-- Return shared memory info
--
-- tags: postmortem
-- platform: linux
SELECT
shm.*,
p.name AS p_name,
p.path AS p_path
FROM
shared_memory AS shm
LEFT JOIN processes p ON shm.pid = p.pid;