I have an app for work that uses wifi scanning to track my location. It basically wants a location update every hour so it can geotag my location. If the data is too far apart between where I am and where I’m supposed to be, it creates a red flag.

Ive deduced its because of wifi scanning. Tried a GPS spoof which seemed to work once I turned off wifi and wifi scanning.

But now if I disable wifi scanning, the app insists I turn it back on and it refuses to work. Any feasible workarounds for this? Android device.

  • Chronicon [they/them]@hexbear.net
    link
    fedilink
    English
    arrow-up
    12
    ·
    edit-2
    6 months ago

    software solutions might be tough to come by for this. if the app is determined enough it’s going to be detectable (if the app isn’t that sophisticated or the stakes aren’t high that helps lol). Is rooting feasible?

    if you spoofed gps and set up a pi or some other device to broadcast fake wifi networks that match the names and mac addresses of the location you’re supposed to be at maybe you could fool location services.

    or spoof gps and find some way to block/disable wifi detection besides the toggle so it falls back to the spoofed gps. maybe a little faraday bag, jammer, or some software fuckery that breaks wifi without toggling the specific setting they’re checking for

    ultimately its a losing battle because your phone is designed to be a highly resistant/flexible tracking device. Which makes it a useful tool, but the software is locked down so its not really under your control, and even if it was making changes is a lot of work

  • FuckyWucky [none/use name]@hexbear.net
    link
    fedilink
    English
    arrow-up
    10
    ·
    edit-2
    6 months ago

    USB to ethernet adapter maybe? you can check if its really wifi by putting it in a metal box to block wifi.

    maybe im overthinking it, there might be an easier way.

    android emulators (Ldplayer and all) have fake wifi networks maybe try on that

  • chickentendrils [any, comrade/them]@hexbear.net
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    6 months ago

    If you control the device and can root it, you can definitely fake the connected wifi SSID, the list of available ones, whether you are in fact using Wi-Fi etc with Xposed but it’ll probably take research into the current landscape that I’m no longer familiar with. There is no perfect software method on unrooted Android for fake GPS, depending on how motivated the app dev was at detecting it.

    I’ve got one of those hardware GPS spoofers that attaches to the handset, basically jams GPS and impersonates the satellites. Works well. I don’t know of a comparable piece of hardware that would both jam wifi for a handset and present a fake SSID unfortunately.

    If you can leave the handset in one place you could also remote into it, software like DroidVNC-NG can let you access it from another handset.

  • emizeko [they/them]@hexbear.net
    link
    fedilink
    English
    arrow-up
    5
    ·
    6 months ago

    feels to me like FuckyWucky’s got the right idea. it would seem to call for a modified wifi driver that can report seeing the SSIDs you tell it, but then you’ve got the whole problem of knowing what SSIDs are near where you are supposed to be.