|
|
|
|
|
by IshKebab
414 days ago
|
|
Well yeah you can't enforce any security boundary if your threat model includes "user might be tricked". It can't be enforced on Linux because `sudo` can be trivially MitM'd, but you can't do that on Windows because it's just a click. |
|
Being a setuid binary means that sudo also suffers from attacks where an attacker runs `sudo ./malware` and then convinces the user to authenticate
That's why the OP said that's not an enforceable security boundary. If the user is capable of attaining superuser privs, you can trick them, regardless of how attaining those privs is implemented.