Location Spoofing: Difference between revisions
No edit summary |
No edit summary |
||
Line 89: | Line 89: | ||
## User ID like Apple ID. | ## User ID like Apple ID. | ||
#:This seems pretty complex. Where I am now is I'm going to run a few geoservices on my webserver and determine how exactly the post position ferreting out the id used. | #:This seems pretty complex. Where I am now is I'm going to run a few geoservices on my webserver and determine how exactly the post position ferreting out the id used. | ||
# | # Swift Hello World working on Mac but did not yet pay $99 to become a registered Apple Developer. Not sure what that is costing me beyond not being able to register app in Apple Apps. | ||
# [https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/LocationAwarenessPG/CoreLocation/CoreLocation.html#//apple_ref/doc/uid/TP40009497-CH2-SW1 Get User Location Data] next step is to see how Apple gets Location Data. Ideally be able to run this in virtual app for any simulated apps from Weather Channel to Google Maps. | # [https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/LocationAwarenessPG/CoreLocation/CoreLocation.html#//apple_ref/doc/uid/TP40009497-CH2-SW1 Get User Location Data] next step is to see how Apple gets Location Data. Ideally be able to run this in virtual app for any simulated apps from Weather Channel to Google Maps. | ||
==References and Metadata== | ==References and Metadata== |
Latest revision as of 21:16, 12 November 2024
EditDate | 2023/4/27 |
---|
Related Threads: Anarchist Spellbook, MITMPROXY
I'd like to develop an app that allows people to spoof their location. Ideally folks could either configure multiple locations and lead virtual lives from those locations or just choose a randomizer that moves their id around independent of their actual location.
Good to go not to track!
Have home network routing Google and Apple through TOR (last showed up in Turkey) and have my portable location recorder ready to roll for next outing.
Already reporting locations recorded in house over and over.
Who knows where I am...not Google or Apple but I can still use their 'free' mapping services.Web References https://johnnywunder.info/mywiki/index.php/Location Spoofing
STEPS TO HIDE YOUR LOCATION
NYTimes Location Spoofing Query Comment
- Add _nomap to SSID Router.
- Turn off cookies for all location tracking sites. Doing that for Google Maps allowed Google to only find a general location (Virginia Beach for Me) attributed to your ISP provider I suspect. That still allows me to do my mapping applications without isolating me to a specific location...that's a start.
I will be looking through the Google pages and figuring out what they use to identify location. Starting with Maps link with no cookies, save data, nor signed on I still end up pointing to my house in the first screen displayed. I'll be working through how google does that at Google Location Spoofing. To date what I've determined is the key location factors are
- SSID for you WIFI
- IP address
An effective way to mask location is to use TOR proxy(turn on htmlfirward) or Browser for all location services.
Why Spoof Your Location Articles
Location Spoofing Articles | ThreadName | Short Description | Analysis |
---|---|---|---|
Client replay (Date:Thu 16 Jan 2020 09:18:44 -0500) | Location Spoofing MITMPROXY | Plan on using mitmproxy as core of Location Spoofing with Client Replay to operational part. |
|
MITMPROXY | Location Spoofing Client replay (Date:Thu 16 Jan 2020 09:18:44 -0500) | An interactive TLS-capable intercepting HTTP proxy for penetration testers and software developers. |
MITMPROXY to allow me to trace my location data from my phone. Installing on LAN |
Why Spoof Your Location Content
No recorded data at this time.
Web Tracking Analysis
There are tiers you're tracked at.
Hardware with GPS is the base, is the most specific and the most current. Both you're cellular provider and your device manufacturer have direct access to this information.
The cellular provider gets it though the cellular network and has direct need of it to provided their service. To date I see no way to effectively block or control this...the best I'm hoping for is the ability to report false positives so they cannot be 100% certain where you are but I have no good idea how to do that.
Your device manufacturer, Apple in the case of my iphone, gets a lot of its information over the web. Simple things like history data and stuff. Whenever you go through a safari start-up it gets a lot of information unless you turn everything off and that is damned inconvient.
It looks like hard realtime location data rarely (if ever passes over the web. What does seem to pass is requests for chunked up roadmap pictures along you route.
Web Geolocation Education
MITMPROXY
Main tool for analyzing flows.
Breakthrough
Johnny 10:17, 16 January 2020 (EST) MITMPROXY do all the heavy lifting.
- Using mitmdump gather as many client location mappings as possible
- User central server to randomly replay client mappings.
- Provide a way to proxy mobile cellular client.
mitmproxy.org , Client replay (Date:Thu 16 Jan 2020 09:18:44 -0500)
New Approach Trace First mitmproxy
To get a detailed handle on what's going on I'm going to trace calls from iPhones and stuff on my LAN using mitmproxy and starting with my core Linux server and the FireFox browser.
Tracing Firefox https calls
- Start mitmproxy with mitmproxy.sh
- Configure Firefox to accept system proxy setting.
- Configure Network Proxy removing localhost, 127.0.0.0/8, ::1 from proxy definition
HTML5 Geolocation
Log
Tuning
- --Johnny 09:38, 11 March 2020 (EDT) Found out that many of the services, particularly Apple, use the government supplied ArcGIS map tiling tool. To run that you need to get a token associated with either the the HTTP referer or the IP. I'm going to see if I can correct and incorporate this so it works properly.
- --Johnny 23:10, 10 February 2020 (EST) Turns out already had dnsmasq installed as part of raspap and just had to set-up DNS right to use it. Course found it out by installing bind and then having to back it out. Hey no one is perfect. Tested locally all good, response time much better. Test at station tomorrow.
- --Johnny 19:28, 9 February 2020 (EST) Today got posting to google over web. Interesting thing is both Latitude and Longitude have 7 9s at the end of them. Additionally determined most of the errors are occurring because of lost DNS need to look at Pi DNS and whether putting BIND on Pi makes sense.
- --Johnny 11:13, 6 February 2020 (EST) Working Location Spoofing/Google Map from iPhone
- --Johnny 17:12, 30 January 2020 (EST) Couple of issues with set-up that need to be tuned.
- Autostart mitmdump is a god send for ease of use but if you don't move the file recorded before next start it wipe out the file.
- Updated Autostart to timestamp file so files will not be erase --Johnny 09:12, 4 February 2020 (EST)
- We're capturing too much data. Need to filter for both security reasons and storage constraints.
- For whatever reason sign-ons and check-ins do not seem to playback.
Setup Complete and Working
- --Johnny 17:12, 30 January 2020 (EST) Tested set-up today and it worked great. This is the set-up I'm going with. Requires
- Smart phone
- Raspberry Pi with mitmproxy, libimobile and hotspot capability
- Power source powering Pi. Kindle cord works if car has USB
- USB cable connect Phone and Pi standard Phone cord.
- --Johnny 14:45, 29 January 2020 (EST) Set-up http 'location' recording system.
- Sett up as Raspberry Pi with mitmproxy as WiFi hotspot
- Connect USB as iPhone hotspot to network
- Connect iPhone to pi hotspot defining mitmproxy at port 8080
- Viola a location recording system with iPhone and pi
- Tested downstairs and worked with no other connections. Should work on road.
- --Johnny 23:42, 19 January 2020 (EST) Turned on Google Location history.
- Location Spoofing#Breakthrough Breakthrough make MITMPROXY core.
- Struggling with this. Tried to think through how to simulate a location and have it double book the location for web sites like google maps and the weather channel. Problem is each is probably using a different unique id to track. Indeed most are likely using a combination of ids to include
- Hardware ID
- Software ID like UUID
- Network ID like IP Address
- User ID like Apple ID.
- This seems pretty complex. Where I am now is I'm going to run a few geoservices on my webserver and determine how exactly the post position ferreting out the id used.
- Swift Hello World working on Mac but did not yet pay $99 to become a registered Apple Developer. Not sure what that is costing me beyond not being able to register app in Apple Apps.
- Get User Location Data next step is to see how Apple gets Location Data. Ideally be able to run this in virtual app for any simulated apps from Weather Channel to Google Maps.