Lurker News

Comments (1,056) 195 threads

Show all comments

Showing thread 33 of 195

abritishguy1 reply#
If you have `osquery` deployed to your fleet you can detect compromise with this query:

SELECT * FROM plist WHERE path = "/private/var/db/dslocal/nodes/Default/users/root.plist" AND key = "passwd" AND length(value) > 1;

sounds#
That only detects enabled root users, which is a start but may include innocent people who have set a root password to protect their machines.