osquery-defense-kit/incident_response/last.sql

9 lines
341 B
MySQL
Raw Normal View History

2022-10-13 13:11:17 +00:00
-- Retrieves the list of the latest logins with PID, username and timestamp.
--
-- interval: 3600
-- platform: posix
-- value: Useful for intrusion detection and incident response. Verify assumptions of what accounts should be accessing what systems and identify machines accessed during a compromise.
-- version: 1.4.5
select * from last;