Android Application Security Assessments - Part 1: Setting Up Your Windows Testing Environment
Welcome to the exciting world of Android Application Security Assessments. You are presumably here to learn how to perform vulnerability assessments against Android applications. If you are looking for tips on growing organic produce, please head one blog over.
Let’s start by setting up our test environment, in this case, a Windows XP system. The Linux setup will be detailed in the next blog posting.
Android SDK
Let’s assume you already have Windows XP installed. You will need to download the Android SDK. Grab the installer and run it. During the installation, the Windows installer will check to see if the proper Java SE Development Kit (JDK) is already installed. If not, it will install it on your behalf. (Yay!)
Trust Google’s recommendations and select the defaults during the installation.
Now, you will want to run the ‘android.bat’ file (located in the ‘tools\’ directory). This will launch the Android SDK and AVD Manager.
Click on ‘Available Packages’ in the menu on the left.
In the main window, expand the Android Repository.
Select the packages you would like to download.
Check the box next to ‘Android SDK Platform-tools, revision n’
Check the box next to the Android SDK Platform you would like to emulate.
(You can always reopen the Android SDK and AVD Manager and download more Android SDK Platforms later.)
Press the ‘Install Select’ button.
Press ‘Install’.
Optional: I recommend adding the ‘tools/’ and ‘platform-tools/’ folders to your PATH environment variable.
Right-Click on ‘My Computer’, select ‘Properties’ and the select the ‘Advanced Tab’. Press the ‘Environment Variables’ button. A new dialog box will appear. Under ‘System Variables’, double-click on ‘Path’. Add the full path to ‘tools/’ and ‘platform-tools/’ folders to the path.
Java
In case you missed it, the Windows installer will check to see if the proper Java SE Development Kit (JDK) is already installed. If not, it will install it on your behalf. (Yay again!)
Proxy (BURP)
BURP is my personal proxy of choice. Others may prefer Paros, WebScarab or ZAP and their sites can show you how to setup those proxies.
Once your proxy finishes downloading, extract the contents to a folder of your choosing.
Next time we will discuss this same setup, but replacing Linux as your OS du jour.
Comments 4 Comments • Jump to latest comment
Android Application Security Assessments - Part 2: Setting Up Your Linux Testing Environment
https://www-secure.symantec.com/connect/blogs/httpswww-securesymanteccomconnectblogsandroid-application-security-assessments-part-1-setting-
With thanks and best regards,
Mick
That link doesn't seem to be working. Try this one:
https://www-secure.symantec.com/connect/blogs/android-application-security-assessments-part-2-setting-your-linux-testing-environment
http://labs.mwrinfosecurity.com/tools/2012/03/16/mercury/
A free framework for bug hunters to find vulnerabilities, write proof-of-concept exploits and play in Android.
Mercury allows you to:
A study of 13,500 Android apps show that about 8 percent of the apps do not have the security to protect users from data theft. As a result, users are vulnerable to accessed logins and banking information, as well as manipulation of app commands and etc. They said that the vulnerable apps could be exploited, allowing an attacker to steal highly sensitive usernames and passwords for Facebook, WordPress, Twitter, Google, Yahoo and, even more worryingly online banking accounts.
Would you like to reply?
Login or Register to post your comment.