Re:Canary Tokens
by Phelinofist on Friday December 30, 2022 @11:04PM
(#34193426)
Is something like this possible with shell logins? So basically every time a login to some Linux box is done it triggers a notification?
[ Parent
| on HN ]
Yes, this is what I do for all my boxes.
In /etc/pam.d/sshd I set this, which then emails me.
session optional pam_exec.so seteuid ~/login-notify.sh
Re:Canary Tokens
by Phelinofist on Saturday December 31, 2022 @06:46AM
(#34195589)
Can this somehow be circumvented? I would like to employ something like this as poor mans intrusion detection