/ request structure 3. Sniffers - what is this thing? 4. Why do you need sniffers 5. Why Burp Suite, how it differs from other tools 6. Practice Analysis and Modification of Mobile Applications Traffic @ddr3ams #NTD2017
to display traffic info - Apps send tons of different requests (server, statistics, ads, etc.) - you will have to filter them - Json, xml, html, protobuf, gzip - Apps send requests in background - WiFi/3G/LTE connection Analysis and Modification of Mobile Applications Traffic @ddr3ams #NTD2017
traffic analyzer that decodes the packet's raw data and shows it in a readable manner Commonly used sniffers: Fiddler, Charles Proxy, Burp Suite, TcpCatcher, etc. Analysis and Modification of Mobile Applications Traffic @ddr3ams #NTD2017
approved: {"username": "user", "id": 30085, "status": "new", "premium": "n"} • Change item id: {"products": [{"title": "Sandwich", "description": "...", "sku": 00004128}]} • Loadmore with custom amount of elements: ◦ quickly check app under load (load a lot of items); ◦ check how end of the list is displayed Analysis and Modification of Mobile Applications Traffic @ddr3ams #NTD2017
• Raise server errors to check how they are handled in the app: ◦ empty required fields; ◦ invalid data; ◦ invalid authorisation token ◦ redirect to invalid URL • Raise errors in the app by changing server response: ◦ empty required parameters in response; ◦ invalid values (string instead of int, etc.); ◦ invalid response structure Analysis and Modification of Mobile Applications Traffic @ddr3ams #NTD2017
+ Handy UI + Multifunctional + Cross-platform (Java application) + Lots of users extensions - Doesn’t allow to change connection settings - Free version doesn’t allow to save/load session (though it allows to export data) Analysis and Modification of Mobile Applications Traffic @ddr3ams #NTD2017
- Add your own beer - Connect with friends - Check-in and review Why is it useful: - Authorisation - Tables - Images - Easy to understand API Analysis and Modification of Mobile Applications Traffic @ddr3ams #NTD2017
• Ability to emulate server errors • Ability to manipulate data both in requests and responses Analysis and Modification of Mobile Applications Traffic @ddr3ams #NTD2017
while your device is connected through proxy - all requests will fail • Request - response operation takes more time • You need to be twice attentive not to cause app failures ;) Analysis and Modification of Mobile Applications Traffic @ddr3ams #NTD2017
Settings > Network > HTTP PROXY: Manual, Server (your ip) + Port - Mobile: custom mobileconfig file (https://iphone.flexserve.net): custom APN name + Server and Port Android: - WiFi: - Settings > Modify network > Advanced options > Proxy: Manual, Proxy hostname (your ip) + Proxy port - ProxyDroid - Mobile: Settings > Cellular Networks > Access Point Names > edit access point and set Proxy and Port Analysis and Modification of Mobile Applications Traffic @ddr3ams #NTD2017