• ShortN0te@lemmy.ml
    link
    fedilink
    arrow-up
    10
    ·
    1 year ago

    I.e. how malware could easily catch your Sudo password without root access.

    Peeps, bad news, Linux is damn insecure.

    By simply placing an alias in your bashrc they could already grab your sudo password.

    Another bad news, this Windows “okay” Button without any password is actually more secure.

    In other words: a compromised system at the User level can easily compromised at the admin level if there are no additional checks/measures in place. Same for Windows. Just change the link to a Programm you commonly need the press OK to to you maleware. Profit.

    • IAm_A_Complete_Idiot
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      The proper way to handle issues like these is process level permissions (i.e. capability systems), instead of user level. Linux CGroups, namespaces, etc. are already moving that way, and in effect that’s the way windows is trying to head too. (Windows has its own form of containerization called AppContainers, which UWP apps use. Windows also has its own capability system).