Hacker News new | ask | show | jobs
by prmoustache 729 days ago
Aren't malware nowadays targetting the home directory? with so many users installing executables, language interpreters or cloud management binaries in their homedir I wouldn't even bother trying to elevate privileges and/or infect /usr if I was writing a malware. Especially as all the interesting parts that are worth being stolen are also in the homedir.
1 comments

Yeh all you need to really do is just alias sudo in the shell profile and you can steal the users password to elevate to root.

Flatpak/Containers can prevent it but permissions are up to the developer/packager.