Book Image

Mobile Device Exploitation Cookbook

By : Akshay Dixit
Book Image

Mobile Device Exploitation Cookbook

By: Akshay Dixit

Overview of this book

Mobile attacks are on the rise. We are adapting ourselves to new and improved smartphones, gadgets, and their accessories, and with this network of smart things, come bigger risks. Threat exposure increases and the possibility of data losses increase. Exploitations of mobile devices are significant sources of such attacks. Mobile devices come with different platforms, such as Android and iOS. Each platform has its own feature-set, programming language, and a different set of tools. This means that each platform has different exploitation tricks, different malware, and requires a unique approach in regards to forensics or penetration testing. Device exploitation is a broad subject which is widely discussed, equally explored by both Whitehats and Blackhats. This cookbook recipes take you through a wide variety of exploitation techniques across popular mobile platforms. The journey starts with an introduction to basic exploits on mobile platforms and reverse engineering for Android and iOS platforms. Setup and use Android and iOS SDKs and the Pentesting environment. Understand more about basic malware attacks and learn how the malware are coded. Further, perform security testing of Android and iOS applications and audit mobile applications via static and dynamic analysis. Moving further, you'll get introduced to mobile device forensics. Attack mobile application traffic and overcome SSL, before moving on to penetration testing and exploitation. The book concludes with the basics of platforms and exploit tricks on BlackBerry and Windows Phone. By the end of the book, you will be able to use variety of exploitation techniques across popular mobile platforms with stress on Android and iOS.
Table of Contents (11 chapters)
Mobile Device Exploitation Cookbook
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface

Setting up the Windows phone pentesting environment


Once you gain the basics of Windows platform SDK, emulators and phones, it is the time to get ready to do penetration testing. As you have learned previously, for Windows also, we will analyze penetration testing under four broad categories:

  • Mobile Application Traffic related attacks

  • Mobile Device Storage related attacks

  • Mobile Application Source Code related attacks

  • Attacks involving mobile OS features used by mobile application

The Windows platform pentest lab also needs to be well equipped with basic necessities to cater for the preceding four categorical needs.

Getting ready

We have to set up a lab for Windows mobile pentesting. To get going, we need the following:

  • Windows phone SDK

  • Windows mobiles or tablets

  • Windows phone emulators

  • Proxy tools such as Charles, Burp Suite, and Fiddler

  • A Wi-Fi network

  • A data cable

How to do it...

Let us see how each of these tools help:

  • Windows phone SDK: This SDK is needed majorly for code review assignments. The...