Returns a list of file information from /dev (non-hidden only)


Query · osquery

-- 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/%%";
Raw source Returns a list of file information from /dev (non-hidden only) · osquery SQL
Esc
Published by chainguard-dev/osquery-defense-kit ↗, licensed under Apache 2.0 ↗. Reproduced here unmodified.
-- 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/%%";

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.