News for hackers. Stuff that matters.
Re:Apple bleee. Everyone knows what’s on your iPhone (2020) by upon_drumhead on Sunday August 13, 2023 @04:14PM (#37113926)
While the article is full of great insight into the features stated, the title is clickbait and doesn't match the content at all.
Re:Apple bleee. Everyone knows what’s on your iPhone (2020) by DennisAleynikov on Sunday August 13, 2023 @04:58PM (#37114401)
The title seemed to match the content pretty well based on my reading.

You can get personally identifiable info from an iPhone pretty easily given the methods described

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 parker_mountain on Sunday August 13, 2023 @04:52PM (#37114329)
Yes. Brute forcing it takes at most a few seconds on modern consumer hardware. Probably under a second, tbh.
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 CharlesW on Sunday August 13, 2023 @04:16PM (#37113968)
> …[Apple] they didn't consider it a vulnerability…

Neither does the author, seemingly: "This behavior is more a feature of the work of the ecosystem than vulnerability."

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 niemandhier on Sunday August 13, 2023 @04:36PM (#37114171)
Security by obscurity never works.
Re:Apple bleee. Everyone knows what’s on your iPhone (2020) by lostlogin on Monday August 14, 2023 @01:58AM (#37117935)
That’s going to be hard to prove.
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.)

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...

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.

It's wild that this hash isn't salted.

Re:Apple bleee. Everyone knows what’s on your iPhone (2020) by upon_drumhead on Sunday August 13, 2023 @04:16PM (#37113963)
Either the salt has to be static for all phones in the area, or it has to be calculable, which in the end is pretty much the same as it is now.
Re:Apple bleee. Everyone knows what’s on your iPhone (2020) by mcculley on Sunday August 13, 2023 @04:16PM (#37113957)
How would salting work in this scenario? Both devices would have to share the salt, wouldn’t they?
Re:Apple bleee. Everyone knows what’s on your iPhone (2020) by gruez on Sunday August 13, 2023 @04:22PM (#37114026)
You broadcast salt || SHA256(phone number || salt). If you know the original phone number, you can check whether it's a match.
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 l3s2d on Sunday August 13, 2023 @04:29PM (#37114114)
This doesn't seem any more secure than broadcasting SHA256(phone number).
Re:Apple bleee. Everyone knows what’s on your iPhone (2020) by graphe on Sunday August 13, 2023 @04:26PM (#37114089)
What's the point? I'm serious. It's to send shit to potentially random people and your friends.
Re:Apple bleee. Everyone knows what’s on your iPhone (2020) by wkat4242 on Sunday August 13, 2023 @04:47PM (#37114281)
Targeted phishing attacks maybe?
Re:Apple bleee. Everyone knows what’s on your iPhone (2020) by ls612 on Sunday August 13, 2023 @04:14PM (#37113934)
The phone number part seems inexcusable but isn’t everything else pretty much necessary for a wireless data protocol like Bluetooth to work?
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 CharlesW on Sunday August 13, 2023 @04:13PM (#37113922)
I wonder if there have been any changes to this default behavior in the 5 years since.
Re:Apple bleee. Everyone knows what’s on your iPhone (2020) by CamperBob2 on Sunday August 13, 2023 @04:15PM (#37113943)
Wow, not salting the phone number before hashing it was a pretty amateur move. Whoever did that made other mistakes... bank on it.
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.

Or am I misunderstanding something?

Re:Apple bleee. Everyone knows what’s on your iPhone (2020) by trifurcate on Sunday August 13, 2023 @04:34PM (#37114157)
You're overestimating how long it takes to brute force SHA256 all 10 digit phone numbers from scratch.
Re:Apple bleee. Everyone knows what’s on your iPhone (2020) by CamperBob2 on Sunday August 13, 2023 @04:36PM (#37114167)
You're overestimating how long it takes to brute force SHA256 all 10 digit phone numbers from scratch.

Oooookay. I'll show myself out.

/s

Re:Apple bleee. Everyone knows what’s on your iPhone (2020) by Clent on Sunday August 13, 2023 @04:55PM (#37114364)
Not sure why the sarcasm.

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.

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 kmeisthax on Sunday August 13, 2023 @04:56PM (#37114374)
I wish there was an Android app that emulated all these weird Apple ecosystem BLE handshake things. They're kinda nifty.
Re:Apple bleee. Everyone knows what’s on your iPhone (2020) by pengaru on Sunday August 13, 2023 @05:36PM (#37114783)
Why is this flagged?
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.