5 ms·
>[Line] fixed it by adding a random number to the user's destination This is a imperfect solution. There's two possibilities: the offset (aka "random number")
by gruez 6y ago
>[Line] fixed it by adding a random number to the user's destination
This is a imperfect solution. There's two possibilities: the offset (aka "random number") is dynamic, or it's fixed. If it's the former all you have to do is sample enough times to get through the noise. If it's the latter, it's not vulnerable to the previous attack, but if you have a known point of reference (so you can deduce what the offset is), then you can still stalk them (forever?). IMO the only way to do is "properly" is to quantize people into map cells, like how apple does it with their coarse location feature[1].
[1] "Apple doesn't reduce the accuracy of location fixes by adding noise. Instead, they've carved up the world into regions, allowing approximate locations to preserve the user's current city when possible." https://radar.io/blog/understanding-approximate-location-in-ios-14 https://radar.io/blog/understanding-approximate-location-in-...
- kibwen 6y ago> If it's the latter, it's not vulnerable to the previous attack, but if you have a known point of reference (so you can deduce what the offset is) It sounds like this approach could be prevented by having a random fixed offset for each user, so that you have no point of reference unless you already know where that specific user is. [Removed bit about regenerating this offset infrequently.] EDIT: You could even do this in conjunction with the quantization mitigation, which sounds like it would shore up the slight weaknesses with that approach (where being on a quantization boundary makes it obvious where you are in that dimension) for the best of both worlds, as long as you're okay with further decreasing accuracy.
- algesten 6y agoWith enough data points you'd easily figure out that offset. Just overlay each data point with map data and decide whether the location makes sense. (i.e. you're unlikely to most of the time be in the middle of a lake, farm field etc)
- deleted 6y ago[deleted]
- mikepurvis 6y agoOr if the person is traveling at highway speed, it would be pretty easy to fit that track to nearby highways.
- andreareina 6y agoOffset as function of user and location?
- jessaustin 6y agoWhere is this function stored?
- ganafagol 6y agoAs a random secret in the reporting device. The secret can then be used with a cryptographic hash to produce a deterministic but unpredictable offset, based on the current location. Something like: reported_position = true_position + hash(secret + true_position)
- ganafagol 6y agoHm that will essentially behave like random noise though, assuming that the position is sufficiently high resolution. So you'll need to round it in any case, and once you do that heavily enough, there is no need for this crypto magic.
- deleted 6y ago[deleted]
- deleted 6y ago[deleted]
- rlpb 6y agoIf it's a fixed offset for a particular person, then isn't that just another variable in a simultaneous equation? You'd just need one more sample to solve for it.
- gruez 6y agoNo, because your solution will be off by that offset. eg. if the offset is 1KM to the north, and you tried the method mentioned in the blog post then your final solution will also be 1KM to the north. You can still use the information for limited stalking purposes (eg. has the person moved or not), but it's not nearly as useful as knowing their exact location.
- dragonwriter 6y agoIf you can ever determine their exact location at any time that you have the data for, you can determine the offset and then determine their exact location at all other times you have data for.
- gruez 6y agobut that was in my original comment? >[...] but if you have a known point of reference (so you can deduce what the offset is) [...]
- est31 6y agoDo this a couple of times, plot the locations, and you'll see a subset of the town's map. You might be able to identify prominent shapes like interestingly shaped roads or bridges. Then drag the points layer so that the roads/bridges etc align.
- rlpb 6y agoOh, I see, thanks. It's a location offset, not a distance offset.
- dheera 6y agoWith a fixed offset, a person who walks around outside and makes at least a few turns could easily have their fixed-offset location trace template-matched to OSM or other street data to determine the offset. (If you live in NYC it might take slightly longer.)
- plumeria 6y agoWould showing something like “5 mins away“ instead of “800 m” be a simple solution?
- kadoban 6y agoDepending how it works, probably not. If it's just a rounded value computed from the distance, you'd just have to do a small amount more spoofed queries. Each one would give you a thin donut of possible locations instead of a circle, if that's easy to picture. So ~3 attempts would usually give you a quite small area, and then you could narrow it arbitrarily from there.
- Narkov 6y agoIncreasing the sample rate will still reduce the noise.
- deleted 6y ago[deleted]
- godelski 6y agoIsn't this the same thing? The problem I see in the telegram screenshot is it says the first user is 863 meters away. Even 10m is fairly revealing and if you're max range is 7mi, 1m is extremely precise. Though this seems like programmers using the maximum precision they have but not necessarily the maximum meaningful precision (an all too common event).
- est31 6y agoMap cells are the best solution available for 90% of locations, but they don't help with the 10% that's close to map borders. If an user randomly jumps between two map cells you know they live at the boundary. Generally there is often noise in GPS signals so it's likely that person will jump around. Furthermore, if a person uses multiple services, and each service has its own cell layout, you can check all services a user is member of and then find the intersection. Ideally services would standardize to one single cell layout. So Apple's idea of doing this cell partitioning at the OS level is really good. I think the boundary concern can be resolved by some inertia system, so a person doesn't switch cells unless they are deeply enough in the new cell, at which point they won't switch back unless they have moved back deeply enough.
- deleted 6y ago[deleted]
- godelski 6y agoI'm just spitballing here, but couldn't this be resolved by using coarse sampling and a moving average? As in infrequently sampling locations. I guess you could get fancier and adjust this with the speed at which the user is moving. I'd also imagine that just using low precision GPS would help add ambiguity so a person can't be exactly located. Of course, there's a relevant xkcd[0]. In the "neighborhood" seems like the most precision you'd want for something like this (of course you could expose this to the user), but I'm also not even interested in this feature so there's a bias. [0] https://xkcd.com/2170/ https://xkcd.com/2170/
- sudosysgen 6y agoMaybe overlapping regions would be a fix?
- est31 6y agoI believe so yes. An inertia system or overlapping system are two ways to describe the same thing :).
- 6y ago
- dheera 6y agoPersonally my preferred approach would be to bucket users into names of countries and states and just publish that as a string. Less vulnerable to sampling, triangulation, and other attacks.
- sneak 6y agoTo use the approximate location feature on iOS, you have to have Location Services on in the first place, which divulges your (precise) location to Apple (via the wifi-mac-address location lookups to augment GPS). We're right back to the neofeudalist setup: Apple will protect your privacy from everyone except Apple (and the US military, to whom they are legally obliged to provide the data without a warrant). https://locusmag.com/2021/01/cory-doctorow-neofeudalism-and-the-digital-manor/ https://locusmag.com/2021/01/cory-doctorow-neofeudalism-and-...
- SergeAx 6y agoAdding a fixed error based on user's hashed data (so it is constant but different for every user) seems like a good enough solution, no?