Pentest Tools

Published on March 16th, 2016 📆 | 8560 Views ⚑


MobSF — Mobile Security Framework

Text to Speech Demo

Mobile Security Framework is an intelligent, all-in-one open source mobile application (Android/iOS) automated pen-testing framework capable of performing static and dynamic analysis. We’ve been depending on multiple tools to carry out reversing, decoding, debugging, code review, and pen-test and this process requires a lot of effort and time. Mobile Security Framework can be used for effective and fast security analysis of Android and iOS Applications. It supports binaries (APK & IPA) and zipped source code.

The static analyzer is able to perform automated code review, detect insecure permissions and configurations, and detect insecure code like ssl overriding, ssl bypass, weak crypto, obfuscated codes, improper permissions, hardcoded secrets, improper usage of dangerous APIs, leakage of sensitive/PII information, and insecure file storage. The dynamic analyzer runs the application in a VM or on a configured device and detects the issues at run time. Further analysis is done on the captured network packets, decrypted HTTPS traffic, application dumps, logs, error or crash reports, debug information, stack trace, and on the application assets like setting files, preferences, and databases. This framework is highly scalable that you can add your custom rules with ease. A quick and clean report can be generated at the end of the tests. This framework is expected to extend to support other mobile platforms like Tizen, WindowsPhone etc. in future.

[adsense size='1']

Mobile Security Framework Requirements


  • On Linux and Mac, install Oracle Java 1.7 or above and make it the default one.


Tested on Windows 7, 8, 8.1, 10, Ubuntu, OSX Mavericks

  • Windows: Extract the MobSF compressed file to C:\MobSF
  • Mac: Extract MobSF compressed file to /Users/[username]/MobSF
  • Linux: Extract MobSF compressed file to /home/[username]/MobSF



Configuring Static Analyzer

Install MobSF Python dependencies using pip


C:\Python27\Scripts\pip.exe install -r requirements.txt

NOTE: If pip.exe is not available in Scripts directory, Download and Re-install latest Python2.7.


pip.exe install -r requirements.txt

[adsense size='1']



Running MobSF

python runserver

If you need to run on a specific port number try

python runserver PORT_NO

If everything goes right, you will get an output like the one below.



Configuring Dynamic Analyzer

Dynamic Anlayzer is available only for Android binaries (APK) and works only if your computer has at least 4GB of RAM and Full Virtualization support.

To Configure Dynamic Analyzer we need 4 things.

  • Snapshot UUID
  • Host/Proxy IP
  • VM/Device IP


For Full Configuration Follow

Source && Download

Comments are closed.