Damn Vulnerable Android Application by Security Compass - Lab 1 Insecure Connection (Traffic over HTTP)
Lab 1 Insecure Connection (Traffic over HTTP)
Here we are gonna do some andoroid app testing for Insecure Connection (Traffic over HTTP) as in previous post I have shown you from downloading the app, instaling it on emulator, setting-up of lab server, its dependencies installation and starting the server.
The base (EMM.apk) application will be used throughout the app testing. In this we will sniff the mobile app and server traffic.
Android Emmulator can sniff data from android apps and create a .pcap file for this give below command
emulator.exe -avd testing -tcpdump testing.cap
Now all the traffic will be captured in testing.cap file
Thats it now we are ready to start the server and launch our app.
After launching the app it will ask for login credentials as this app is developed on the lines of banking app.
- Username: jdoe
- passwd: password
After settin-up of pin we will be logged-in into the app like below
Now we have to open that testing.cap file in to packet analyzer like wireshark.
we loaded the pcap file on wireshark and found the login credentials are passing out in plain text
Solution:
As we saw that credentials are passing in plaintext over wire so this could be result in unauthorized access to login credentials so workaround is enable the HTTPS by enabling the server to start with sslapp.py --ssl --port 8081
and enable the HTTPS in preferences tab in the app
thanks
ReplyDeleteNice Blog...Waiting for Next Update..
ReplyDeletemobile app development companies in chennai
mobile app development company in chennai
Nice Blog thanks for sharing information about android app development
ReplyDeleteAndroid software development is the process of creating applications for devices that run the Android operating system. Google claims that "Android app development may be created using Kotlin, Java, and C++ languages" using the Android software development kit, while additional languages are also supported.
ReplyDelete