News for hackers. Stuff that matters.
Re:Waydroid – Android in a Linux container by jeroenhd on Sunday February 02, 2025 @07:03PM (#42913224)
Wireshark is nice, but for HTTPS MitM you'll need a tool like mitmproxy/Burp to do the proxying and either modifications to the system image or a Frida daemon running as root to make most apps trust the MitM'd certificates.

To get the traffic routed right, the Wireguard option for mitmproxy is pretty useful in my experience. Not sure how well Waydroid + Android VPNs work together, though.

Re:Waydroid – Android in a Linux container by feanaro on Sunday February 02, 2025 @08:56PM (#42914090)
What do you mean by the Wireguard option for mitmproxy?

EDIT: Oh, look at this https://mitmproxy.org/posts/wireguard-mode/. TIL.

Re:Waydroid – Android in a Linux container by jeroenhd on Monday February 03, 2025 @03:49AM (#42916241)
It's a pretty neat feature! I think it's in beta but it works flawlessly in my experience. Sure is a lot easier than setting up a separate (W)LAN with iptables rules to force redirect traffic.
Re:Waydroid – Android in a Linux container by wraptile on Sunday February 02, 2025 @11:05PM (#42914846)
There's also certificate pinning which is done by basically every modern android app so you often need to modify apk to remove that. Httptoolkit has a good blog on the process: https://httptoolkit.com/blog/frida-certificate-pinning/
Re:Waydroid – Android in a Linux container by jeroenhd on Monday February 03, 2025 @03:48AM (#42916233)
With root access, Frida can patch applications in memory, so you don't need to mess with the APK file.

If root is not an option, injecting Frida into the APK will work (but that might break applications that verify signatures).