3

I'm trying to capture an app's network traffic, the proxy option in the Android OS is not proxying everything the app is sending/receiving. Would it be possible to setup a VPN server and analyze all network traffic that is passing though my Android phone?

  • 1
    VPN running within your own network that would indeed work – Ramhound Oct 27 '15 at 20:08
  • how would I go about setting it up? Would I be using openvpn with wireshark? – Arya Oct 27 '15 at 20:13
  • OpenVPN + wireshark (or just plain old tcpdump) will work. You may need to analyse the data on the external Interface - ie the traffic leaving your network, as, in my experience, OpenVPN tun interfaces and libpcap (the underlying capture mechanism on a Linux system) don't always work. – davidgo Oct 27 '15 at 20:31
  • @Arya Both/all of the above – Ramhound Oct 27 '15 at 20:54
0

http://mitmproxy.org/index.html

This is all you need. It is proxy attacking your application via man-in-the-middle attack and you can see everything application is sending/receiving. Bonus points it works when app is using HTTPS too. (By installing certificates on your device. It's super simple too :) ).

| improve this answer | |
  • I would need to run it on Linux am I right? – Arya Nov 12 '15 at 22:13
  • It seems it doesn't work anymore on Android 6 – Pere Feb 6 '18 at 11:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.