Involuntary Geolocation To Within One Kilometer
Schneier's blog tips an article about research into geolocation that can track down a computer's location from its IP address to within 690 meters on average without voluntary disclosure from the target. Quoting:
"The first stage measures the time it takes to send a data packet to the target and converts it into a distance – a common geolocation technique that narrows the target's possible location to a radius of around 200 kilometers. Wang and colleagues then send data packets to the known Google Maps landmark servers in this large area to find which routers they pass through. When a landmark machine and the target computer have shared a router, the researchers can compare how long a packet takes to reach each machine from the router; converted into an estimate of distance, this time difference narrows the search down further. 'We shrink the size of the area where the target potentially is,' explains Wang. Finally, they repeat the landmark search at this more fine-grained level: comparing delay times once more, they establish which landmark server is closest to the target."
I don't know about your internet, but mine involves alternative routes to a particular physical location. Not just because that's how the Internet works, but because there are competing providers. And there are all sorts of things which delay, from WiFi to pipe congestion to intentional prioritisation to the OS having something more interesting to do.
Although I should have stopped reading at "time it takes to send a data packet to the target" - really? How does one measure precisely this?
Will the same technique work for IPv6?
Used to be, on the Internet, no one knows you're a dog.
I've been playing a lawyer for a long time, but I guess it's better to disclose before being found out. You heard it here first.
I'm not a lawyer, but I play one on the Internet. Blog
What are the landmark servers they speak of? I can sort-of understand pinpointing someone from several different locations (much like triangulation) but I have a hard time seeing you could do this with latency from one point in space only.
How do they expect to tell the difference between latency due to distance and latency due to protocols, encoding, etc.? For example, a local T1 might have round-trip latency in the 3-4ms range, while a DSL to the same location might be 10ms (in fast mode, even higher for interleaved). A dialup connection will be much higher, while a metro-ethernet might be less than 1ms. All those times also assume no congestion along the path.
Since the speed of a signal in single-mode fiber is about .6 c, each 1ms difference in round-trip latency gives a 90km margin of error.
3G IP addresses are gateway-ed from a single location typically. My IP resolves to Oldham, UK. In reality I am 300 miles away...
Involuntary? Unless you're voluntarily providing them with millisecond-accuracy timing information as to when you exactly receive the packet they've sent (or responding to pings), the best they can hope for is a TTL expired from the router immediately prior to you to get some timing information. Which, if they know the exact location of anyway (as their technique seems to require) doesn't exactly resolve your location to any greater accuracy than contemporary methods.
Seems like this would be easy to counteract (although at the kernel hack level). All you would have to do is introduce a 30-50 msec time variable delay into all new packet sends (i.e., ICMP responses, first packet of a TCP session, etc.).
In fact, if you encrypt everything, you may get these sorts of delays "for free."
Also, this will not work well if you are using encrypted tunnels or VPNs to access the web. Your delay then is (tunnel delay) + (tunnel end point to attacker delay) + (encryption delays), so you seem a good deal further away than you really are.
...I connect to the internet with a 15 km fibre optic cable.
Their they're doing there hair.
So, in reality, they figured out a way to use ping responses the way kids at the lake (or pool) play Marco...Polo.
I wonder how many they had already kicked back when they came up with their idea?
Don't get me wrong--it's cool tech, but I continue to be amazed by how so many "new" technologies simply mimic things that already exist in other parts of life. Kudos to the researchers. I think I'd rather spend time at the lake.
I use irony whenever I can, but my shirts are still wrinkled...
Back in the early 80's a Physic's grad student at Berkley was working in their data center and noticed a descrepency in user usage statistics and started investigating. He was able to isolate the user ID of the unauthorized user by analysing the usage statistics. At the time the user statistics were used for billing computer time. The user was basically trying to use the Berkley system as a proxy for attacks on other systems. He eventually spliced into the network to intercept packets containing the User ID in question and calculated the amount of time it took for those packages to complete a round trip to determine the geo location of the person hacking into the system. At first he thought he was wrong because his calculations based on signal response time said the unauthorized user was 6000 miles away. He later discovered the calculation was correct and the hacker was located in Germany. He published a book called "The Cuckoos Egg" with all the details. It is a really good book.
The government just log into server backdoors mandated in all domestic ISPs, and extract node locations directly.
1.. "my connection is too weird/ unique/ confabulated/ etc..."
yes, but you are 1% of internet users. the average bloke on a cable modem is reliably caught with this method
2. "there is traffic/ no way to ping/ etc..."
you have a speck of javascript on a webpage that keeps track of timestamps, opens an AJAX XMLHTTPRequest and pings alot, and the server averages things out. voila: you could get 60 samples in the time it takes you to read this comment, and therefore a good lock on your location
INCOMING...
intellectual property law is philosophically incoherent. it is your moral duty to ignore it or sabotage it
This should be helpful.
Time to make some people not-so-anonymous.
But seriously, this arrives at a time where people have been increasingly joining the Anonymous Collective to stand up for internet freedom.
A time where DDoSing is at an all time high equally.
This now makes IPs a weapon for those being attacked.
This also makes me wonder if Sony will try to use this against those DDoSing their networks due to buttmad pirates.
Oh, don't take that as me agreeing with their attempts to see who viewed the videos or twitter information though, continue making everyone know of this and that it is, in no way, showing that someone was aiding any sort of hackery.
Quite a few people who never even had a PS3 almost certainly watched those videos, merely from curiosity or to laugh.
What is a Google Landmark Server?
"We shrink the size of the area where the target potentially is" says Wang. What an unfortunate name.
I've been doing this for years as a hobby. Latency, combined with some general information about the area, the ISP in question, the last mile transmission medium (dsl, cable, cellular, fiber), you can narrow an IP address to a neighborhood. That's about it. I would say a lot farther then 690 meters. It's still funny to scare people on IRC and claim you know where they live, using a little bluffing & social engineering.
This method works best in developed countries for numerous reasons too long to type.
If it were possible to narrow down where people live to 690 meters, guess who would have done it already? -Adultfriendfinder. Cuz' you know-there are just so many horny single girls in Lansing, Michigan!
All the location based adverts I see in the UK (mainly "hot girls in are waiting for you", but I digress...) seem to centre on the location of my ISP's data centre.
The only routers visible to the outside world will be upstream of my ISP. Latency might tell someone how far I am from them +/- the distance from my ISP, but last time I looked my ISP blocked ping anyway.
I would imagine this would apply to the majority of UK DSL users.
Sigs are so 1990s. No way would I be seen dead with one.
I figure that with the Tor router latency, this system will geolocate me as being on the moon.
I haven't rtfa'd, but wouldn't they employ a form of triangulation? pings from three land-mark servers (or more) to help pinpoint which it's closest to and by how much? I mean, triangulation is pretty precise and the encryption, connection type, etc, wouldn't affect it as much since it wouldn't be an issue of how long it takes, but how long it takes to reach from one server compared to the other. I can't shake the feeling they are using the ratios converted to distance, not the latency directly. The summary kinda suggests they use just one server-to-target connection to do the estimate, but that doesn't sound very plausible.
Good luck, boys, my cable modem is two miles from the house.
My God, it's Full of Source!
OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
I want to try this out and see how they do. Every other geoplocation service I have tried puts me miles from where I am at. I take that back infosniper.com may have gotten it exactly right. They only show the town but the marker was right one my office.
See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
I assume that like most places, the cables aren't direct lines from A to B, so an accurate judge of distance seems hard to do. Cable length, perhaps... but coiled wires, vertical spans, and other runs of cable would seem to skew the judge of distances based on packet times. Am I wrong? Wouldn't that at least introduce a large margin of error? What about packet buffering?
today is spelling optional day.
I have DSL. My ISP's closest PoP is over 500KM away in a Toronto (I'm in Montreal). My PPPoE session is carried over an L2TP tunnel; my first hop is 500KM away. This is actually a very common scenario for anyone in Ontario or Quebec, since that's how all DSL in the region works. If you're on Bell Canada, your PoP is probably in the same city, but if you're using a wholesaler, it's probably not. Because the lowest possible latency to me is in Toronto, that's where this technique would see me.
As such, it'd be impossible for anybody to geolocate me down to 1KM, or even 100KM. Every geolocation service I've ever tried has pegged me as being 500KM away. You might suggest that they could calculate my distance to Toronto based on last-hope latency plus known DSL fastpath latency and figure out that I'm in Montreal as it'd probably be the only major intersecting city at that distance. The problem with that is that the last-hop latency depends on too many factors, such as connection speed, connection type, interleave depth...
Same-Origin-Policy enforcement in the AJAX means means the javascript can't hook out to other servers... unless you control 3 or 7 or 37 different servers in different farms/ colos under the same domain name. the distant servers couldn't receive the info, but you could have each server fire in cycle, and have one receiving server take the timestamps in. so with a heavy rotation of pings over a brief period of time, and a bunch of different servers to triangulate ping times over time, and some extraneous info like traffic estimates/ internet provider/ etc., i bet you could get an exact location that would resolve itself in a couple of seconds with good accuracy
intellectual property law is philosophically incoherent. it is your moral duty to ignore it or sabotage it
If you're using JavaScript to AJAX a timestamp (via Date object I'm assuming), could you make a Firefox addon that essentially zeros out the millisecond accuracy of the Date object? I.e., force the Date object to always return 1000 rounded numbers when calling getTime() function. Good luck calculating an accurate ping time from that, eh?
If you are just now hearing about Cliff Stoll, get off my lawn!
(Oh, and did you hear about the kid who's got cancer and wants to collect greeting cards?)
Note that it is not enough that there is a "landmark" router physically near you, it also has to be near you from a network topology sense. It doesn't help geolocation much if the museum next door has a landmark router if the peering point between your networks is 1000 km away.
Now, if you are in a city on a major ISP, this is likely not to be problem. If, on the other hand, you are out in the country, then there is unlikely to be a landmark router near, and if there is one, it is quite possibly on a different network, with a peering point many miles away. For example, many university extension campuses connect back to the main University NREN, and all Internet traffic then goes through one or two "GigaPOPs" in the state. So, even if there is a university extension next door, it is likely to help with geolocation much.
So, I predict that this will not be good to anything like 1 km accuracy away from major cities.
FBI has been doing this for well over a decade, even offers software for many years now to banks and other financial companies to insert this right into the transaction processing stream. For example, sites that take money for online casinos and live-sex-cams use it to know where you were when you bought chips, so they can get a decent rate with credit card companies since those transactions have higher dispute rates than average.
http://www.isscobleinthisroom.com/
I can turn my antenna to have poor reception, and can have 1000-2000+ms pings when desired (or 29ms when aligned properly).
If not working with the ISP to measure signal direction and strength, it would be near impossible to actually determine my location within a 10 km radius, or it'd show as being somewhere around the tower (which is 5km away).
Even with help from the ISP, it's still not exact as there are some directions to point the antenna that the signal happens to 'bounce' the right way or is picked up by a different tower.
... and sitting behind the mystical, seven anonymous proxies, the method is useless to find anyone actually smart enough to properly operate a computer.
I suppose it'll be helpful to find the average user who's playing at cyberstalking or sending threatening emails.
Color me skeptical.
heck i was going for the cheap shot
WARNING: Smartphones have side effects--most of them undocumented.
We don't use the metric system in the US! You'll never find me!
just use this ... http://tracr.net/. It uses data collected from companies you do business with online. I think it uses a logic that goes something like this: X number of people purchasing dildos from dildosales.com gave an address on Blah Blah Road and had an IP address in subnet 10.1.1.x therefore you must be near Blah Blah Road if you are in subnet 10.1.1.x.
I'm sure we have some that are non-nuke.
With this method, they could have finally found that coffee pot.
Ok, so he is using ping. Who in their right mind still allows their computer to respond to ICMP requests?
Well, my router has defaulted to NOT respond to pings in the default configuration for years. Finally, there's a good reason not to, but seriously, even the known TCP/UDP traceroutes require an open inbound port on both the end host, and the same(?) on every intermediate host.
There's no good reason to have ping (and hence traceroute) enabled.
You're far more likely to have your IP address and/or your MAC address located by street address via Google, because 'everyone' tends to have unsecured wifi now.
Ignoring the facts of fast GPU-driven encryption cracking for wifi purposes, don't use unsecured wifi, and don't use your real MAC address for wifi.
It seems like RFID, they ignored predictions on technology advancement, so now anyone with enough hard drive space (by far the limiting factor, last I checked) and a $5 wifi adapter can can crack any 'encrypted' wifi (except apparently RADIUS, maybe)., but spending a few hundred dollars, is 'easy' if you're interested in looking at everyone's stuff, whether for creepy personal motives or profit.
Another reason to only use SSL or SSL+tor when on wifi.
"A Goddess rarely smiles for she is forced by others to be an island unto herself." - Zephiris
B0mbaClat
...and horseshoes is what my Dad always said.
Considering some extremes...
Using the satellite link on my RV, he'd only be able to resolve my position down to a hemisphere(actually you can do better than that, but not by his techniques).
Using the packet radio available to hams, there would also be considerable variation, perhaps even a day-night cycle of delay times.
My friend has a wifi link that spans part of a lake. It's at least a 1000 yards(greater than my laser rangefinder can measure). He shares service with a friend on the other side who, due to the geography, cannot get DSL.
Good judgement comes from experience, and experience comes from bad judgement.
- W. Wriston, former Citibank CEO
a blast from the past! Thanks, Smidge204... I mean, 207. :)
This method of obtaining geolocation is far more precise:
http://geolocation.kmz.me/2011/04/08/geolocation-gone-terrible-with-googles-help-black-hat-hackers-can-pinpoint-web-users-via-javascript-xss/
Although its probably going to be far less accurate as it requires a known router type with a default internal IP and default password. Not to mention it requires a router that has been located on Google street view.
To blog is sublime
Just the usual bullshit from Schneier! I read New Scientist every week and i know they know very little about networking and are even less capable of writing coherently about it. It's a good magazine, but the journalism very often sucks. Of course Schneier's silly enough to quote their misconceptions.
But if I tether my laptop via my phone
my IP address maps to someplace multiple
time zones away. Marketing wants to
at least get the zip code right because
mobile is a more impulsive market.
Recently some of the new HTML5 folk are frobnosticating
on location protocols... and how to bypass or manage the
user controls associated with location data.
Part of the issue has to do with the quality and
locality of the numerous landmark servers used
for reference. As others noted most routers do
not respond to ping or other ICMP packets that
do not originate from a management center (NOC).
And the location is more and more being considered
a classified tid bit of info to keep the bad guys from
knowing where resources are located in any
locality.
Truth is stranger than fiction, but it is because Fiction is obliged to stick to possibilities; Truth isn't. Mark Twain.