• MrAlternateTape@lemm.ee
    link
    fedilink
    English
    arrow-up
    7
    ·
    8 hours ago

    Mine already reboots every night. It’s a setting I can change on my OnePlus.

    I enabled it long ago. A reboot will also kill anything that is running in your memory like a page mining crypto or a virus that has not yet gotten to your file system yet. Or at least I’d like to think so…

    Anyways, the reboot also insured that if my phone is ever taken from me, after 24 hours max they will have to both enter my PIN and my phone security code. I wish them good luck. There’s not much interesting stuff on my phone, but that does not mean I want everyone to have free access too it.

  • prettybunnys@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    8 hours ago

    NGL I’m shocked they weren’t doing this already, I seem to recall it being mentioned some android devices did this already when iOS added it last year(?)

    At least some of the more security oriented ones?

  • noodlejetski@lemm.ee
    link
    fedilink
    English
    arrow-up
    26
    ·
    15 hours ago

    the custom ROM I use (CalyxOS) already has it, and you can customise how long the device has to be locked for the reboot to occur, anywhere from 1 to 72 hours.

    • truxnell@infosec.pub
      link
      fedilink
      English
      arrow-up
      90
      ·
      edit-2
      5 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
        62
        ·
        15 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
          ·
          5 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
        3
        ·
        13 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
          ·
          13 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.

          • lol@discuss.tchncs.de
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            1
            ·
            edit-2
            7 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?

            • Darkassassin07@lemmy.ca
              link
              fedilink
              English
              arrow-up
              5
              ·
              6 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.

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

        And from my reading, helps secure against a situation where an police officer (AKA attacker in the US apparently…) coerces you to unlock the phone (or perhaps even just takes it off you in a locked, but active state), and stores it in a faraday bag with a charger. They do that to keep it ‘alive’ so their experts can break in - a dead-mans reboot can help circumvent even that (as it will just reboot and restore itself to an encrypted rest state, which is much harder to attack)

    • Schleppy@lemmy.world
      link
      fedilink
      English
      arrow-up
      17
      arrow-down
      1
      ·
      15 hours ago

      This podcast goes into the reasons that rebooting a locked phone can improve security.

      [The 404 Media Podcast] How Apple is Locking Out Cops #the404MediaPodcast https://podcastaddict.com/the-404-media-podcast/episode/185990070 via @PodcastAddict

      My take is, it’s harder to unlock/hack a phone when it is in the locked state after booting up. This state is somehow different than the booted locked state.

      Why, is above my understanding.

      • MegaUltraChicken@lemmy.world
        link
        fedilink
        English
        arrow-up
        12
        ·
        15 hours ago

        Basically, the tools that LE uses to unlock devices uses exploits that require the device to be in what’s called an AFU (after first unlock) state. The data on the device is encrypted prior to that first unlock after you boot. If the device is in a BFU state (before first unlock) Cellebrite/Greykey (by far the primary tools used in this space) basically hit a wall.

        • sem@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          3
          ·
          12 hours ago

          Elsewhere in the thread they explain because decryption takes time, they don’t cycle it every time you lock your phone by default. Not sure if there’s more to it.

          • twice_hatch@midwest.social
            link
            fedilink
            English
            arrow-up
            4
            ·
            10 hours ago

            The time needed for key derivation aka key stretching may be a factor, but also in the BFU state I think apps don’t run and you don’t get notifications, since most of the files are still locked

    • ik5pvx@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      1
      ·
      15 hours ago

      If you set it up with a password it makes it harder for people who shouldn’t have access to it to read your stuff

    • mac@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 hours ago

      I reinstalled tasker again yesterday but then uninstalled it when it wouldn’t work without giving it perms to draw over other apps.

      I use automate instead.

    • JohnEdwa@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      8 hours ago

      Yes. Directly if you have root, or with a workaround where you bring up the power menu and then use either virtual keyboard commands or the AutoInput plugin to tap the reboot button.

  • reddig33@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    10 hours ago

    Don’t some system updates require a reboot as well? Would be nice if this applied updates as part of this cycling.