Retrieves the list of the latest logins with PID, username and timestamp.


Query · osquery

-- Retrieves the list of the latest logins with PID, username and timestamp.
--
-- tags: postmortem
-- platform: posix
SELECT
  *
FROM
  last;
Raw source Retrieves the list of the latest logins with PID, username and timestamp. · osquery SQL
Esc
Published by chainguard-dev/osquery-defense-kit ↗, licensed under Apache 2.0 ↗. Reproduced here unmodified.
-- Retrieves the list of the latest logins with PID, username and timestamp.
--
-- tags: postmortem
-- platform: posix
SELECT
  *
FROM
  last;

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.