• GMac@feddit.org
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    2 hours ago

    Loading any profile allows the operating system access to root privileges, and opens potential for user privilege escalation.

    • FauxLiving@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      59 minutes ago

      The profiles are independently encrypted with a key derived from the user’s profile PIN. If the other profiles are not logged in then their keys are not in RAM (and they get zeroed beforehand so they can’t be read out of unallocated memory).

      Even if the bad guys get root via a LPE in a dummy account there are no keys to find and the profiles’ storage are not mounted.

      You couldn’t trust the device after that however, who knows what kind of persistent spyware they could have installed.

      • GMac@feddit.org
        link
        fedilink
        English
        arrow-up
        8
        ·
        edit-2
        2 hours ago

        That would be an interesting proposition… under duress load profile x and delete all other profiles, apps, settings and keys.

        • grrgyle@slrpnk.net
          link
          fedilink
          English
          arrow-up
          1
          ·
          41 minutes ago

          Or maybe a lighter version of the duress pin that just loads the fake profile (or alternate profile) but leaves the other(s) intact.

          If you’re just handing your phone over for a border pig to swipe through before waving you through that might be adequate.

          • iopq@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            36 minutes ago

            It depends on whether you believe forensics can recover the data when handed over. So make it a setting