News for hackers. Stuff that matters.
Re:DNS traffic can leak outside the VPN tunnel on Android by tiagod on Friday May 03, 2024 @10:10AM (#40247858)
I guess the safest setup is to have mobile data off on your phone and carry an OpenWRT hotspot to do the VPN bit upstream from the phone.
Re:DNS traffic can leak outside the VPN tunnel on Android by hackermatic on Friday May 03, 2024 @12:16PM (#40249356)
Edit: Other commenters report that Android will silently re-enable cell data under various conditions, so this isn't a surefire solution, either.

The Grugq created a tool for this a decade ago (sadly unmaintained): https://github.com/grugq/portal as part of a presentation about operational security for hackers. It's a great watch if you're interested in how various (in)famous hackers thought they were secure and got busted anyway. https://www.youtube.com/watch?v=9XaYdCdwiWU

Re:DNS traffic can leak outside the VPN tunnel on Android by mise_en_place on Friday May 03, 2024 @12:26PM (#40249459)
> Other commenters report that Android will silently re-enable cell data under various conditions

This is terrifying.

Re:DNS traffic can leak outside the VPN tunnel on Android by autoexec on Friday May 03, 2024 @01:31PM (#40250145)
It's expected. The people who own the phones aren't in control of the OS and the wireless chipsets are closed/proprietary. Cellphones really shouldn't be trusted by anyone.
Re:DNS traffic can leak outside the VPN tunnel on Android by mise_en_place on Friday May 03, 2024 @01:42PM (#40250254)
Correct, the baseband usually has binary blobs. Although I am curious why Google/Apple decided not to make their own baseband, given their new silicon manufacturing expertise.
Re:DNS traffic can leak outside the VPN tunnel on Android by adamomada on Friday May 03, 2024 @04:22PM (#40251963)
IIRC Apple has tried/is trying, but it is ridiculously complex to the point that they had to go back to Qualcomm as there really is no other option. Read: The biggest tech co on the planet stumbles with this, it should be considered a magic box as this point.
Re:DNS traffic can leak outside the VPN tunnel on Android by Too on Friday May 03, 2024 @02:21PM (#40250660)
Armchair speculation: Patents?
Re:DNS traffic can leak outside the VPN tunnel on Android by nolist_policy on Saturday May 04, 2024 @04:57AM (#40256038)
Google is sort of trying by using a Samsung modem (instead of Qualcomm) with an IOMMU in between, so at least the modem doesn't have access to the whole address space like on other phones. But they get a lot of flack for it.
Re:DNS traffic can leak outside the VPN tunnel on Android by spxneo on Friday May 03, 2024 @03:20PM (#40251265)
so then whats the other alternative?

solder on some ESPs on an old playstation portable device and connect from starbucks?

Re:DNS traffic can leak outside the VPN tunnel on Android by autoexec on Friday May 03, 2024 @03:30PM (#40251372)
Right now we have no alternatives, but it's not technologically impossible to create mobile devices that give us root access to a mobile OS, or to create open wireless chipsets with open firmware.
Re:DNS traffic can leak outside the VPN tunnel on Android by nickburns on Friday May 03, 2024 @01:37PM (#40250204)
i'm almost certain i've had it happen on iOS, too. only reason i can't definitively say—is because i can't rule myself out always having to manually toggle cell data on/off, both radio-level and per-app, when i'm coming/going from my own networks to my mobile VPN.
Re:DNS traffic can leak outside the VPN tunnel on Android by spixy on Friday May 03, 2024 @04:13PM (#40251868)
even in roaming?
Re:DNS traffic can leak outside the VPN tunnel on Android by tredre3 on Friday May 03, 2024 @08:35PM (#40253845)
Both Android and iOS will do that when you receive a MMS.

Even if the MMS is supposedly on an intranet, it wouldn't surprise be that a poor implementation might expose the rest of the system to internet for a brief moment.

Re:DNS traffic can leak outside the VPN tunnel on Android by hwbunny on Friday May 03, 2024 @02:40PM (#40250847)
Just be cautious...
Re:DNS traffic can leak outside the VPN tunnel on Android by nickburns on Friday May 03, 2024 @10:23AM (#40248008)
it's true.

even bigger nightmare on iOS where 'always-on VPN' can only be configured on devices 'supervised' by an Apple-approved (documented application and telephone call with current employee required) organization's MDM solution—or you otherwise need a Mac to use the Apple Configurator app to even create a Configuration Profile containing the 'always-on VPN' key.

Re:DNS traffic can leak outside the VPN tunnel on Android by fullspectrumdev on Friday May 03, 2024 @11:55AM (#40249116)
Making a simple OSS tool to generate valid configuration profile files seems like a potentially useful way to spend a weekend sometime.

The format cannot be that complex, right?

Re:DNS traffic can leak outside the VPN tunnel on Android by nickburns on Friday May 03, 2024 @12:25PM (#40249450)
lol, hit me up with your rate. my only term is that i get to be watching over your shoulder the whole time.
Re:DNS traffic can leak outside the VPN tunnel on Android by jasomill on Friday May 03, 2024 @01:28PM (#40250096)
Looks like it’s just XML .plist format, and (at least partially) publicly documented:

https://developer.apple.com/business/documentation/Configura...

Re:DNS traffic can leak outside the VPN tunnel on Android by yonatan8070 on Friday May 03, 2024 @01:36PM (#40250190)
Until you get to the bit where I'm guessing you need Apples private keys to sign it or whatever
Re:DNS traffic can leak outside the VPN tunnel on Android by walterbell on Saturday May 04, 2024 @01:11AM (#40255045)
Web page for offline generation of iOS VPN configuration profile: https://mobileconfig.app
Re:DNS traffic can leak outside the VPN tunnel on Android by brobinson on Friday May 03, 2024 @06:30PM (#40253077)
I _think_ iMazing can do what you want: https://imazing.com/configurator

Disclaimer: I've never used this feature. I only use it for backups and copying files to my iPhone.

Re:DNS traffic can leak outside the VPN tunnel on Android by nickburns on Friday May 03, 2024 @06:35PM (#40253110)
never even thought to check if iMazing had any of this functionality. disclaimer noted, great tip regardless. thank you.
Re:DNS traffic can leak outside the VPN tunnel on Android by mise_en_place on Friday May 03, 2024 @11:31AM (#40248832)
Yeah it's the best solution if you use any public wifi or even mobile telephony. Somebody can just run their own base station and then your phone would connect to that. If it's not your network don't directly connect without a mobile router.
Re:DNS traffic can leak outside the VPN tunnel on Android by sneak on Friday May 03, 2024 @08:26PM (#40253792)
I've done this before for months at a time (the GL.inet E750 with an iPhone with no SIM) but oftentimes US GSM providers throttle the hell out of UDP traffic on weird ports (like to 64-128kbps, a tenth of a megabit), and also notifications are frequently delayed.