4

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?

4
  • 1
    VPN running within your own network that would indeed work
    – Ramhound
    Commented Oct 27, 2015 at 20:08
  • how would I go about setting it up? Would I be using openvpn with wireshark?
    – Arya
    Commented Oct 27, 2015 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
    Commented Oct 27, 2015 at 20:31
  • @Arya Both/all of the above
    – Ramhound
    Commented Oct 27, 2015 at 20:54

1 Answer 1

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 :) ).

2
  • I would need to run it on Linux am I right?
    – Arya
    Commented Nov 12, 2015 at 22:13
  • It seems it doesn't work anymore on Android 6
    – Pere
    Commented Feb 6, 2018 at 11:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .