News for hackers. Stuff that matters.
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?