this post was submitted on 16 Dec 2023
624 points (99.4% liked)
Technology
59322 readers
5220 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
How many digits is the pin? Can you try all codes?
Pins are pretty damn secure because after too many wrong guesses the phone will start making you wait a long time between attempts.
OTOH, as a point of reference, Microsoft requires an 8-digit pin on phones that can access comment resources. It was 6 until very recently, though, so that's probably fine if you're not a target of corporate espionage.
What makes it secure is the master key in a TPM which is considerably longer than four digits and can only be accessed by for digits in under twenty attempts.
Hypothetically.
Some TPMs are allegedly backdoored by their manufacturers (e.g. Microsoft), and regardless of the original intent of these backdoors they're now accessible through cracking software to which some law enforcement departments have access.
Then, if a government department really, really wants to get into a phone, the TPM can be cracked with a tunneling electron microscope, but this process is still slow, expensive and requires an expert.
I don't know about the key length of a TPM. If I had to guess I'd say something like 256 or 512 bits, or even 1024. But I was just addressing the PIN the user might type in to unlock their phone. That's something the user can control, and it provides plenty of security against naive brute force attacks by people not sophisticated enough to disassemble the phone. I assume that group includes the majority of police departments and any cop whose main work is outside of a lab.
Here in the states, in municipal precincts, we can expect they'll have some phone cracking software on hand, so if your TPM is backdoored, your PIN isn't going to matter much. If yours is an early phone (notoriously the iPhone 5, I think) that doesn't have a TPM, then it might be susceptible to exploits that lift the limits of tries, in which case a four digit PIN can be cracked by a machine using brute force.
Usually 128 or 256 bit root keys for symmetric keys, almost always 256 bits for ECC for asymmetric keys these days (used to be RSA between 1024 and 2048 bit)
It depends, you can pick it. It can range from a simple 4 digit numeric PIN to a full blown alphanumeric with symbols password text field. But I guess the most common is that grid gesture thing, which in some phones you can also customise the size of the grid itself. All these options work as the default fallback to biometrics.
As far as I know as well, you are required to input your pin/password/gesture after a long period of inactivity, after X days, and after a reboot, before being able to use biometrics again.
I personally use 10 digits.
Default is between 4-8 (your choice) and you can set a password too