this post was submitted on 15 Apr 2025
134 points (97.9% liked)

Technology

69041 readers
2989 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 33 points 5 days ago (4 children)

I'm not a phone person. What benefit does this provide?

[–] [email protected] 98 points 5 days ago* (last edited 5 days ago) (3 children)

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.

[–] [email protected] 70 points 5 days ago (2 children)

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.

[–] [email protected] 1 points 23 hours ago (1 children)

I was under the impression that if a phone restarts, then you cannot use biometrics. You have to use a pin/password/etc.

[–] [email protected] 1 points 14 hours ago

...that's exactly what I said...

[–] [email protected] 2 points 5 days ago

Thanks for the clarification, I forgot that (somehow)

[–] [email protected] 24 points 5 days ago (1 children)

Oh, this is actually a useful feature, then.

[–] [email protected] 2 points 5 days 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)

[–] [email protected] 4 points 5 days ago (1 children)

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?

[–] [email protected] 24 points 5 days ago (2 children)

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.

[–] [email protected] 1 points 4 days 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)

[–] [email protected] 1 points 5 days ago* (last edited 5 days ago) (2 children)

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?

[–] [email protected] 5 points 5 days 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.

[–] [email protected] 2 points 4 days 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

[–] [email protected] 19 points 5 days ago (1 children)

It makes it harder for law enforcement or others to access the phone without knowing the pin

[–] [email protected] 2 points 5 days 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)

[–] [email protected] 16 points 5 days ago (1 children)

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.

[–] [email protected] 13 points 5 days ago (2 children)

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.

[–] [email protected] 3 points 5 days ago (1 children)

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.

[–] [email protected] 4 points 5 days 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

[–] [email protected] 2 points 5 days ago

Thank you for elaborating.

[–] [email protected] 6 points 5 days 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