osquery-defense-kit/incident_response/authorized_keys.sql

10 lines
210 B
MySQL
Raw Permalink Normal View History

2023-02-23 14:35:38 +00:00
-- Retrieves all the currently installed authorized keys on a system
--
-- tags: postmortem
-- platform: posix
2023-05-08 17:20:47 +00:00
SELECT
authorized_keys.*
FROM
users
JOIN authorized_keys ON users.uid = authorized_keys.uid;