Book Image

Mobile Application Penetration Testing

By : Vijay Kumar Velu
Book Image

Mobile Application Penetration Testing

By: Vijay Kumar Velu

Overview of this book

Mobile security has come a long way over the last few years. It has transitioned from "should it be done?" to "it must be done!"Alongside the growing number of devises and applications, there is also a growth in the volume of Personally identifiable information (PII), Financial Data, and much more. This data needs to be secured. This is why Pen-testing is so important to modern application developers. You need to know how to secure user data, and find vulnerabilities and loopholes in your application that might lead to security breaches. This book gives you the necessary skills to security test your mobile applications as a beginner, developer, or security practitioner. You'll start by discovering the internal components of an Android and an iOS application. Moving ahead, you'll understand the inter-process working of these applications. Then you'll set up a test environment for this application using various tools to identify the loopholes and vulnerabilities in the structure of the applications. Finally, after collecting all information about these security loop holes, we'll start securing our applications from these threats.
Table of Contents (15 chapters)
Mobile Application Penetration Testing
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Setting up the target app


It is important to have all our data stored in a single place. Let's go ahead and download all the previously mentioned apps into the Target folder under c:\Hackbox and install all of them to our Genymotion (Android Emulator) by issuing the adb install command, as shown in this screenshot:

Note

OWASP Herd Financial and Sieve do not work on Android Lollipop or Marshmallow; we have used Android 4.3 for those examples.

Backend server setup

In order to make sure you have a fully operational app with a server environment, you will have to do the following:

  1. Unzip the downloaded file and locate to the folder OWASP-GoatDroid-0.9 and launch the .jar file from the command prompt using the java –jar goatdroid-0.9.jar command, and you should be able to get your backend server up and running, as shown in this screenshot:

  2. Click on Start Web Service.

  3. Click on Configure and then on Edit Configuration; here, you change the port numbers. In our case, we leave it as 8888 for HTTP Port and...