5 ms·
Is there a way to send a secure attention command to su/sudo to protect against this?
by bcoates 14y ago
Is there a way to send a secure attention command to su/sudo to protect against this?
- iopuy 14y agoEcho the LD_PRELOAD environment variable first and check for anything suspect.
- lordlicorice 14y agoUnless the shared object file also includes an override for the function that expands environment variables to lie about the true value of LD_PRELOAD.
- est 14y agothe twist: echo is also hijacked...
- AYBABTME 14y agoOne way I can think of would be with a 2-factor authentication, such as: http://wiki.gentoo.org/wiki/Google_Authenticator http://wiki.gentoo.org/wiki/Google_Authenticator
- Spidler 14y agoWell, su/Sudo are suid bit programs, so that means LD_PRELOAD doesn't work on them
- pea-tear 14y agoThat's what this app does, it uses LD_PRELOAD to perform keylogging on both non-suid and suid apps.