News for hackers. Stuff that matters.
Re:Using Face ID to unlock brother’s iPhone X after entering... by ballenf on Sunday November 05, 2017 @09:20AM (#15629492)
Thinking about unlocking as an application of the Birthday Problem (or Paradox), can someone with better math skills than me calculate the # of iPhone X users in a room necessary to get to 50% chance that someone can unlock someone else's phone? This would ignore the problem in the article and assume 1 in 1e6 odds.

https://en.wikipedia.org/wiki/Birthday_problem

Re:Using Face ID to unlock brother’s iPhone X after entering... by crindy on Sunday November 05, 2017 @11:32AM (#15630110)
This seems like a silly way to think about FaceID. You’d need 1000+ people to all try their faces on each other’s 1000+ phones to get the 50% chance of unlocking. That’s not the scenario biometric authentication is built for, which is why the phone would require a password after 5 failed attempts.
Re:Using Face ID to unlock brother’s iPhone X after entering... by mjevans on Sunday November 05, 2017 @11:42AM (#15630169)
The problem with that is the ease with which anyone can compare their input to the 'key'; externally.

You could very quickly rule out 95% of the field with little effort, and people already do things like say "you look so much like X": we have a short list of collisions already.

Re:Using Face ID to unlock brother’s iPhone X after entering... by katastic on Sunday November 05, 2017 @12:08PM (#15630307)
Exactly. I'm more worried about if someone can make a mask of someone's face (or even a print out) and get it to work.

But at least it's not like people have pictures of their faces plastered across every social network...

... crap.

Re:Using Face ID to unlock brother’s iPhone X after entering... by gnicholas on Sunday November 05, 2017 @12:36PM (#15630505)
As others have said, those who have tried masks haven't worked. But I wonder if normal masks have different heat signatures than real faces, which an IR array can detect. It's possible that something as simple as standard mask + heat would fool the system. Hopefully not!
Re:Using Face ID to unlock brother’s iPhone X after entering... by zwily on Sunday November 05, 2017 @12:31PM (#15630462)
Re:Using Face ID to unlock brother’s iPhone X after entering... by mikeash on Sunday November 05, 2017 @12:24PM (#15630400)
Apple specifically mentioned testing with high-end masks, and there have been videos made about people attempting it. It doesn’t work.
Re:Using Face ID to unlock brother’s iPhone X after entering... by ballenf on Sunday November 05, 2017 @03:31PM (#15631390)
I agree and it wasn't the intent of the question. More of a purely academic way of putting "one in a million" into more human terms. And it didn't work, since I can't picture a room of 1250 people doing this, like you rightly point out.

But I also don't think the "brother who already knows the phone PIN code" a real world attack vector of concern to most people. I get that it could be an issue in narrow situations: you share your pin code, lookalike sibling uses it to "train" your phone; you change passcode not realizing that phone will still unlock for now-untrusted sibling.

Even in that scenario, I would bet that after a few days of normal usage by the phone's rightful owner alone the attack wouldn't work anymore. But, it's too soon to know.

Re:Using Face ID to unlock brother’s iPhone X after entering... by The_Double on Sunday November 05, 2017 @09:32AM (#15629547)
Re:Using Face ID to unlock brother’s iPhone X after entering... by tedunangst on Sunday November 05, 2017 @10:08AM (#15629726)
sqrt(1400000) is about 1183.
Re:Using Face ID to unlock brother’s iPhone X after entering... by ballenf on Sunday November 05, 2017 @11:21AM (#15630052)
Where does the 1400000 come from?
Re:Using Face ID to unlock brother’s iPhone X after entering... by tedunangst on Sunday November 05, 2017 @12:42PM (#15630544)
From the wikipedia formula. 2 ln 2 is about 1.4.
Re:Using Face ID to unlock brother’s iPhone X after entering... by ryanmonroe on Sunday November 05, 2017 @11:29AM (#15630094)
R has a function for this

qbirthday(prob = 0.5, classes = 1e6, coincident = 2)

# 1178

You could also just calculate a bunch of the probabilities and find the minimum more "maunually"

in.room <- 1000:1500

probs <- sapply(in.room, function(x) prod(((1e6 - (x - 1)):1e6)/1e6))

in.room[which.min(abs(probs - .5))]

# 1178

Re:Using Face ID to unlock brother’s iPhone X after entering... by tzs on Sunday November 05, 2017 @12:56PM (#15630603)
When they say that the probability of Face ID accepting the wrong person is 1 in N, what do they actually mean?

Does it mean that if some random person who is not you tries to repeatedly unlock you phone, that person will succeed on average once every N tries?

Or does it mean that the set of all people can be sorted into two groups, (1) those who can unlock your phone almost all the time, and (2) those who cannot unlock your phone, with 1/Nth of the population being in the first group?

Re:Using Face ID to unlock brother’s iPhone X after entering... by giovannibajo1 on Sunday November 05, 2017 @03:54PM (#15631503)
It means that if 1 million strangers tried to unlock your phone, one of them on average would succeed.

Obviously the phone requires a pin after 5 failures, but that’s another matter.

Re:Using Face ID to unlock brother’s iPhone X after entering... by tedunangst on Sunday November 05, 2017 @09:29AM (#15629535)
There's a formula in the article you linked.
Re:Using Face ID to unlock brother’s iPhone X after entering... by ballenf on Sunday November 05, 2017 @11:22AM (#15630060)
Yes, but I didn't think to use Wolfram and couldn't figure out how to reduce the formula to avoid having to calculate 1e6!