• truxnell@infosec.pub
    link
    fedilink
    English
    arrow-up
    94
    ·
    edit-2
    10 hours ago

    After a reboot all the data is encrypted and needs a pin/fingerprint to unlock. So if it’s stolen (or feds get it) a planned reboot resets it to a highly secure state that is much more difficult to hack into than when it’s just locked from timeout. Edit: removed fingerprint, corrected below.

    • n2burns@lemmy.ca
      link
      fedilink
      English
      arrow-up
      67
      ·
      19 hours ago

      After a reboot all the data is encrypted and needs a pin/fingerprint to unlock.

      Just to clarify, it needs a PIN/password to unlock after reboot. Biometrics like fingerprint aren’t available until the device has been decrypted.

      • truxnell@infosec.pub
        link
        fedilink
        English
        arrow-up
        2
        ·
        10 hours ago

        Yeah, seems like its a move to follow apple after custom ROMS offering it as a security feature (Im on GrapheneOS and had it set for a while)

    • lol@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      4
      ·
      18 hours ago

      Why is a reboot necessary for that? Is it not possible to enter the same encrypted state the phone is in after a reboot without actually rebooting?

      • Darkassassin07@lemmy.ca
        link
        fedilink
        English
        arrow-up
        22
        ·
        17 hours ago

        Much of the data on your phone, including critical information that’s required to run the operating system and make the device function, is fully encrypted when the device is off/rebooted.

        While in this locked down state, nothing can run. You don’t receive notifications, applications can’t run in the background, even just accessing the device yourself is slow as you have to wait for the whole system to decrypt and start up.

        When you unlock the device for the first time; much of that data is decrypted so that it can be used, and the keys required to unlock the rest of the data get stored in memory where they can be quickly accessed and used. This also makes the device more vulnerable to attacks.

        There’s always a trade off between convenience and security. The more secure a system, the less convenient it is to use.

        • WhyJiffie@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 hours ago

          even just accessing the device yourself is slow as you have to wait for the whole system to decrypt and start up.

          that’s not true. the system does not decrypt itself in one go. it’ll just wait with part of the bottup process until you unlock your device, and then keeps the encryption keys in memory so that it can encrypt and decrypt anything when needed.

          and the purpose of the reboot is just to make sure that both the encryption key, and any data crumbs left in the memory get lost from there

          While in this locked down state, nothing can run.

          that’s not true either. for instance the system definetly runs with a couple of its components. but apps too can request to be able to work before unlock, like your alarm clock. but of course, apps that store data in the compartment accessible before unlock is not secure, however they can selectively store there only the most essential things needed to work (alarm time database and maybe used ringtones)

        • lol@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          1
          ·
          edit-2
          12 hours ago

          I’m generally aware of all that, but I don’t see how it answers the question. Why can’t you just stop all app processes, unmount the relevant partitions, clear any memory containing cryptographic keys etc. but not actually reboot?

          Rebooting just seems like a very roundabout, slow and inefficient way to get back to that initial state you describe. Is there something e.g. the bootloader does that cannot be replicated on a running phone and is essential for securing it again after the first unlock?

          • WhyJiffie@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            1
            ·
            3 hours ago

            its done that way because at a reboot all memory is lost, and it can’t happen that something slips through because there is a bug or some miscalculation

          • Darkassassin07@lemmy.ca
            link
            fedilink
            English
            arrow-up
            5
            ·
            11 hours ago

            Rebooting just seems like a very roundabout, slow and inefficient way to get back to that initial state you describe.

            It’s exactly what the reboot process is designed to do; return you to that fully encrypted pre-boot state. There would be no purpose to implementing a second method that does the exact same thing.