osquery-defense-kit/incident_response/files-dev.sql
2023-02-23 21:24:52 -05:00

13 lines
223 B
SQL

-- Returns a list of file information from /dev (non-hidden only)
--
-- tags: postmortem
-- platform: posix
SELECT
file.*,
magic.data
FROM
file
JOIN magic ON file.path = magic.path
WHERE
file.path LIKE "/dev/%%";