6 ms·
If they have access to a live finger for the TouchID, sure they can bypass - but they could do that with the $5 guaranteed coercion method as well [1]. Copying
by r00fus 11y ago
If they have access to a live finger for the TouchID, sure they can bypass - but they could do that with the $5 guaranteed coercion method as well [1].
Copying a good fingerprint from a dead finger or a randomly placed print is not easy [2]. It's hard, doable but you get 5 tries so if you screw up, you have thrown away all the hard work of the print transfer.
All bets are off if the iPhone is power-cycled. Best bet if you're pulled over by authorities or at a security checkpoint is to turn off your iPhone (and have a strong alphanumeric passcode).
[1] https://xkcd.com/538/ https://xkcd.com/538/
[2] https://blog.lookout.com/blog/2013/09/23/why-i-hacked-apples-touchid-and-still-think-it-is-awesome/ https://blog.lookout.com/blog/2013/09/23/why-i-hacked-apples...
- toomuchtodo 11y ago> All bets are off if the iPhone is power-cycled. Best bet if you're pulled over by authorities or at a security checkpoint is to turn off your iPhone (and have a strong alphanumeric passcode). Excellent advice. Even better, if you're about to pass through US customs and border patrol, backup the phone first, wipe, and restore on the other side. Of course, this depends on your level of paranoia. I am paranoid.
- deleted 11y ago[deleted]
- FussyZeus 11y agoWiping the phone doesn't help you. Using the strong password renders the information inaccessible, at least as inaccessible as your phone backup is. Touch ID isn't re-enabled until the phone's passcode is used. Presumably if the authorities have access to your phone's memory they also have access to your laptops, and neither will do them any damn good. And it's paranoia if there's a legitimate threat, that's just called due diligence. ;)
- guscost 11y ago> Touch ID isn't re-enabled until the phone's passcode is used. Do the docs confirm that there is no way around this? I'd guess generating the encryption key requires the passcode, which is discarded immediately, and Touch ID can only "unlock" a temporarily re-encrypted version which never leaves ephemeral storage?
- FussyZeus 11y agoTouchID I believe unlocks the passcode so the phone can use it to login, but TouchID itself is not enabled until you enter it once, presumably because it isn't actually stored on the device in a readable way.
- guscost 11y agoOK, I guess the effect is the same (as long as the passcode isn't recoverable until after startup). Thanks.
- zaroth 11y agoFrom the iOS Security Guide - How Touch ID unlocks an iOS device; If Touch ID is turned off, when a device locks, the keys for Data Protection class Complete, which are held in the Secure Enclave, are discarded. The files and keychain items in that class are inaccessible until the user unlocks the device by entering his or her passcode. With Touch ID turned on, the keys are not discarded when the device locks; instead, they’re wrapped with a key that is given to the Touch ID subsystem inside the Secure Enclave. When a user attempts to unlock the device, if Touch ID recognizes the user’s fingerprint, it provides the key for unwrapping the Data Protection keys, and the device is unlocked. This process provides additional protection by requiring the Data Protection and Touch ID subsystems to cooperate in order to unlock the device. The keys needed for Touch ID to unlock the device are lost if the device reboots and are discarded by the Secure Enclave after 48 hours or five failed Touch ID recognition attempts.
- deleted 11y ago[deleted]
- i2shar 11y agoCould the "code equivalent" of your fingerprint be stolen by a rogue app if it's allowed to read it? I don't have a touchId phone but have wondered what would happen if your "print" is stolen -- passwords can at least be changed.
- FussyZeus 11y agoSpeaking as an App Developer, we cannot touch stuff like that. We're allowed to ask Touch ID to verify things and process the results, but we don't actually get to use the Touch ID system. It's similar to how the shared keychain is used: We can ask iOS to do things, but then must handle any one of many possible answers. We don't actually see your fingerprint in any way. Now Cydia and 3rd party stuff? I have no clue.
- rimantas 11y agoiOS itself does not see fingerprints, it refers to SE.
- FussyZeus 11y agoWouldn't surprise me if true, iOS as a whole is built in a very modular fashion when it comes to the different components of the OS and developers only get access to what Apple deems us worthy of, hehe. Not that I want access to Touch ID, I much prefer to not have access to that...
- jellicle 11y agoIf you're paranoid, making a complete copy of all your secrets on some remote Apple or Google "cloud" where the government can get at it trivially is the exact opposite of what you want to be doing.
- sounds 11y agoWell, yeah, if you back it up with a 3rd party backup tool, you are trusting the 3rd party. I recommend you make a backup to your laptop, which you then encrypt manually. That way the trust model is: you trust yourself. Then you can do whatever you want with the encrypted file. Apple's iCloud is perfectly fine at this point. The real challenge is to find a way to restore that backup, because you have to be on a computer you trust. If you decrypt the backup on a "loaner" laptop, your security is broken. If you decrypt the backup on your personal laptop but the laptop has a hidden keylogger installed by the TSA or TAO, your security is broken. It would be necessary to backup the phone on the _phone_ _itself_. Then manually encrypt the file (easy to do). Then upload to iCloud. At this time, no such app exists for iOS. Since you plan to restore the backup to the phone anyway, it's no problem to decrypt a file on the phone before using it for the restore.
- baddox 11y ago> I recommend you make a backup to your laptop, which you then encrypt manually. You mean your laptop that was manufactured by a 3rd party, with a network card that was manufactured by a 3rd party? And you're using encryption software that, even if it's open source, you probably aren't qualified to code review. I'm not downplaying the benefit of being careful, but unfortunately you can keep doing that pretty much forever.
- grecy 11y agoAll laptops and cameras entering the US are subject to search and seizure.
- greggman 11y agoWhat data is likely on someone's phone that is not also in the cloud one way or another?
- deegles 11y agoCan non-US citizens be coerced into giving up their passcode?
- tptacek 11y agoNo, at least, not by the DOJ, and not for any use in a court of law.
- schoen 11y agoWe wrote about this in our border search guide and concluded that there is a risk of being refused admission to the U.S. in this case (in the border search context) because the CBP agents performing the inspection have extremely broad discretion on "admissibility" of non-citizens and non-permanent residents, and refusing to cooperate with what they see as a part of the inspection could be something that would lead them to turn someone away. (However, this is still not quite the same as forcing someone to answer in the sense that they don't obviously get to impose penal sanctions on people for saying no.)
- noir_lord 11y agoOne reason I'll never visit the states. If I absolutely had to I just wouldn't take a phone/laptop with me.
- ghshephard 11y ago" they don't obviously get to impose penal sanctions on people for saying no" I wonder if there is any negative effects associated with being refused entry by a CBP? Could it be the case that if you are refused entry once, that in the future they will be more likely to refuse you entry? If so, that's a fairly significant penalty/power that the CBP person has.
- schoen 11y ago> I wonder if there is any negative effects associated with being refused entry by a CBP? Could it be the case that if you are refused entry once, that in the future they will be more likely to refuse you entry? If so, that's a fairly significant penalty/power that the CBP person has. Yes, some categories of non-citizen visitors (I don't remember which) are asked on the form if they have ever been refused entry to the U.S. (and are required to answer yes or no). If they're using the same passport number as before, CBP likely also has access to a computerized record of the previous interaction.
- superuser2 11y agoIt is not a good bet if you're pulled over by the authorities to be doing something with your hands that they can't reliably identify as different from preparing a weapon. Particularly if not white.
- r00fus 11y agoPower-cycling can be done relatively quickly - in 10sec with two fingers (no swipe), or 5 sec + swipe if you only have one hand available.
- crottypeter 11y agoThis would prevent people from recording police abuse ...
- cmiller1 11y agoIs it only five fails on TouchID to delete data? I don't have the option to delete the data enabled on my iPhone... but it often takes more than five tries to just get it to work on my finger that is legitimately registered in touchID.
- tptacek 11y agoNo, it's five fails before Touch ID stops working until after a passcode is entered again.
- praseodym 11y agoAfter five failures the you cannot use Touch ID to unlock and will instead need the passcode to access the phone again. This means that any approach to fooling the fingerprint reader will need to be done within five tries.
- r00fus 11y agoYou should overtrain your TouchID: http://www.imore.com/touch-id-not-working-you-heres-fix http://www.imore.com/touch-id-not-working-you-heres-fix
- Crito 11y ago> "Copying a good fingerprint from a dead finger or a randomly placed print is not easy [2]. It's hard, doable but you get 5 tries so if you screw up, you have thrown away all the hard work of the print transfer." You get plenty of tries to perfect the technique, before using it on the actual device. You acquire identical hardware and "dead finger countermeasures" (does the iphone employ any? Some readers look for pulses and whatnot, I don't know if the iphone does). You then practice reading the fingerprint on that hardware until you are able to reliably get a clean print and bypass any countermeasures. Only then do you try using the finger on the target phone. You might still fuck it up, and you only get 5 chances on the target hardware. But with practice on the right hardware, I see no reason why you couldn't get it.
- jacobparker 11y agoThere's also a 48 hour window and touch ID doesn't work initially after booting. https://support.apple.com/en-us/HT204587 https://support.apple.com/en-us/HT204587 Great design.
- dreamfactory2 11y agoGiven the 6 tries, is there any benefit to a strong password?
- ecobiker 11y agoIt's my understanding that the current battle is about the request to bypass the retry cap.
- asdf_qwerty_vbm 11y agoAll bets are off if the iPhone is power-cycled. Except, you don't have explicit control over the iPhone's battery, so how do you know if the power is actually cycled?