Re:Apple bleee. Everyone knows what’s on your iPhone (2020)
by thih9 on Sunday August 13, 2023 @04:30PM
(#37114129)
The article is from 2020 so I’m curious: how much of this is still valid today?
Especially:
> Broadband BLE requests contain your data, namely, SHA256 hashes of your phone number, AppleID, and email. Only the first 3 bytes of the hashes are sent, but that's enough to identify your phone number
Is that a viable way of accessing someone’s phone number in 2023?
Re:Apple bleee. Everyone knows what’s on your iPhone (2020)
by wkat4242 on Sunday August 13, 2023 @04:41PM
(#37114222)
It's doable. Out of 100 million numbers here in Spain and 16 million possible 3-byte hashes, there will be 6 possible numbers for each 3-byte hash on average. That's low enough for trial and error.
Re:Apple bleee. Everyone knows what’s on your iPhone (2020)
by theginger on Sunday August 13, 2023 @04:14PM
(#37113933)
If I am understanding the article correctly, this is unpatched and apple haven't even had any warning as they've not disclosed any of this as they didn't consider it a vulnerability (I think I would disagree but haven't fully digested the article)
Edit - it's 3 years old I'm guessing they have made some changes since
Re:Apple bleee. Everyone knows what’s on your iPhone (2020)
by theginger on Sunday August 13, 2023 @04:22PM
(#37114022)
Yes by they I meant the author, I would consider it information disclosure, this data is meant to be private and the designers have made an attempt to keep it that way.
Re:Apple bleee. Everyone knows what’s on your iPhone (2020)
by gkoberger on Sunday August 13, 2023 @04:12PM
(#37113912)
There's always a hard balance to strike between security and usability, and it's impossible to get right. It seems that it's less Apple and more Bluetooth that the author is concerned about, and simply turning it off will prevent every issue listed. (And given the point of Bluetooth is to connect with devices around you, it seems reasonable to assume that people with it on would like these connections to happen.)
Re:Apple bleee. Everyone knows what’s on your iPhone (2020)
by graphe on Sunday August 13, 2023 @04:25PM
(#37114074)
Turn off airdrop for non contacts? Turn off airdrop? Pretty misleading of them saying every time you click share instead of share with airdrop everyone can see some info.
Re:Apple bleee. Everyone knows what’s on your iPhone (2020)
by s3p on Sunday August 13, 2023 @04:30PM
(#37114124)
Yes, very much so. It is also a mass generalization and a complete falsehood when the author makes bold claims like "Gen Z is using AirDrop to cheat". But they seem completely fine with their extremely generous claims.
Re:Apple bleee. Everyone knows what’s on your iPhone (2020)
by eproxus on Sunday August 13, 2023 @06:10PM
(#37115059)
My guess is that the SHA2 of the phone number is used for exactly this feature, so you can accept connections from your contacts only (your iPhone most likely already has a SHA2 calculatedfor each contact phone number) and ignore the rest.
Your phone will probably broadcast its hash in that scenario too.
Re:Apple bleee. Everyone knows what’s on your iPhone (2020)
by mullingitover on Sunday August 13, 2023 @04:14PM
(#37113927)
> Well, AirDrop seems to be less anonymous than we thought. It's possible to identify you: your phone sends out SHA256 your phone number hash to all the devices around you every time you hit Share.
Re:Apple bleee. Everyone knows what’s on your iPhone (2020)
by eknkc on Sunday August 13, 2023 @04:25PM
(#37114067)
And if you don’t know the phone number you can brute force that pretty easily and it’s all the same. How many bits of enthropy are there on phone numbers?
Re:Apple bleee. Everyone knows what’s on your iPhone (2020)
by judge2020 on Sunday August 13, 2023 @04:26PM
(#37114079)
All it does is marginally increase the cost of reverse engineering the sha2. Instead of having a rainbow table of every phone number’s salt, you generate one with that salt whenever you want to get the phone number it broadcasted.
Re:Apple bleee. Everyone knows what’s on your iPhone (2020)
by wkat4242 on Sunday August 13, 2023 @04:36PM
(#37114170)
Yeah and you probably won't even need to rainbow that because it's a pretty quick operation on a decent GPU. For example here in Spain we have only 100 million mobile numbers. That sounds like a lot but it's peanuts for a gpu.
Re:Apple bleee. Everyone knows what’s on your iPhone (2020)
by AshamedCaptain on Sunday August 13, 2023 @04:24PM
(#37114056)
Surprising that Apple can devise an authentication method for the battery that is strong enough to prevent all 3rd party phone repairs whatsoever, but when it comes to wirelessly authenticating another iPhone for purposes of deciding whether to share or not your Wi-Fi password, then there's no check whatsoever...
Re:Apple bleee. Everyone knows what’s on your iPhone (2020)
by Arch-TK on Sunday August 13, 2023 @04:20PM
(#37114004)
Assuming that there's some functionality by which if you know someone's phone number, you can identify them in some UI, how would you salt this?
Do you salt all the phone numbers with the same salt? Do you send out the salt and expect phones to respond with the salted hashes (in which case, how does this achieve anything?). Do you salt based on geographic location? (Again...) Do you make every phone use the same salt and try to hide it?
Re:Apple bleee. Everyone knows what’s on your iPhone (2020)
by eknkc on Sunday August 13, 2023 @04:20PM
(#37114003)
What would salting do? The sender would need to share the salt anyway. I guess it would eliminate a database of number hashes approach but brute forcing a salted phone number hash should not be a big problem in any case.
Re:Apple bleee. Everyone knows what’s on your iPhone (2020)
by CamperBob2 on Sunday August 13, 2023 @04:31PM
(#37114140)
Salting would prevent an attacker from being able to find your phone number by hashing every possible phone number in your area code and comparing each hash with what they captured over the air.
Re:Apple bleee. Everyone knows what’s on your iPhone (2020)
by eknkc on Sunday August 13, 2023 @04:46PM
(#37114269)
Just out of curiousity, took a look at some benchmarks and apparently a M2 macbook pro can hit 300MH/s easily. That would mean something like 30 seconds to hash the entire search space. I guess specilaized GPU implementations can do a lot better.
Take this with a grain of salt though, I did not test the speed claim myself.
Re:Apple bleee. Everyone knows what’s on your iPhone (2020)
by wkat4242 on Sunday August 13, 2023 @04:44PM
(#37114243)
Not really. As the salt is known, they can still do this easily. They just can't make a rainbow table of it. That's the only thing salting really accomplishes.
Re:Apple bleee. Everyone knows what’s on your iPhone (2020)
by YeBanKo on Wednesday August 16, 2023 @08:52PM
(#37155798)
SHA-256 is designed to be quick to compute, so with salt and maybe some guessing of area code the march can be found within seconds. For salt to make a difference they’d need to use some intentionally slow hash functions, like bcrypt.
Re:Apple bleee. Everyone knows what’s on your iPhone (2020)
by porkbeer on Sunday August 13, 2023 @06:54PM
(#37115458)
Voicing my suspicion will get ny comment flagged as well I suspect, but consider the HN reader base, what they get paid to do, and come to your own biased conclusions like I did. Many here feel that an attack on 'free' data, or a top tech company, is an attack on their livelyhood, and they are correct. Also the article is a bit overblown in many aspects which gives the clickbait anger response. Both, I feel, are valid reasons to flag this, even if I personally think many points in the post remain relevant.
You can get personally identifiable info from an iPhone pretty easily given the methods described
Especially:
> Broadband BLE requests contain your data, namely, SHA256 hashes of your phone number, AppleID, and email. Only the first 3 bytes of the hashes are sent, but that's enough to identify your phone number
Is that a viable way of accessing someone’s phone number in 2023?
Edit - it's 3 years old I'm guessing they have made some changes since
Neither does the author, seemingly: "This behavior is more a feature of the work of the ecosystem than vulnerability."
That being said, Apple does have modes which disable these features for people who are worried, including their Lockdown Mode: https://support.apple.com/en-by/guide/personal-safety/ipsd5b...
Your phone will probably broadcast its hash in that scenario too.
It's wild that this hash isn't salted.
Do you salt all the phone numbers with the same salt? Do you send out the salt and expect phones to respond with the salted hashes (in which case, how does this achieve anything?). Do you salt based on geographic location? (Again...) Do you make every phone use the same salt and try to hide it?
Or am I misunderstanding something?
Oooookay. I'll show myself out.
/s
Security should not be implemented by anyone who is not a subject matter.
It's a subject where it's easy to sound informed while being completely wrong.
I'm of the opinion this should be a development interview question.
"How would you implement {security solution} from scratch" -- The only acceptable answer being refusal.
Take this with a grain of salt though, I did not test the speed claim myself.