Sunday, October 4, 2020

Configure MobSF in Ubuntu 18.04

Hi guys,


It's been a while since I last updated the blog.


I will be giving guide on how to setup MobSF in Ubuntu 18.04. 


There is a ton of guide out there about how to Configure MobSF


I'm here to give out step by step guide to set it up as per my own experience. The main reason of using Ubuntu 18.04 is because it has a built-in Python 3.6 and pip3 version 9.0.1 which is the requirements to setup MobSF. 


It's pretty much simplify the process of setting up MobSF.


*Note that this is a guide to setup MobSF for static analysis. For dynamic analysis, you can refer to MobSF page in github.


Mobile Security Framework (MobSF) is an automated, all-in-one mobile application (Android/iOS/Windows) pen-testing, malware analysis and security assessment framework capable of performing static and dynamic analysis.


Read More about MobSF Click here: https://github.com/MobSF/Mobile-Security-Framework-MobSF


So Lets Begin 


Requirements:


1) Git, Python 3.6+, JDK 8+

Step by step guide is as per below:

1) After installing a fresh Ubuntu 18.04, install git.

Command : sudo apt-get install git

 


2) Do apt update

Command : sudo apt update

 

3) Install python3-pip

Command : sudo apt install python3-pip

 

4) Install jdk. Check version after installing to reconfirmed it.

Command : sudo apt install default-jre

and check Java Version Command : java -version

5) Installing python package.

Command : sudo apt install python3-venv python3-pip python3-dev build-essential \
libffi-dev libssl-dev libxml2-dev libxslt1-dev libjpeg8-dev zlib1g-dev

6) Cloning MobSF

Command : git clone https://github.com/MobSF/Mobile-Security-Framework-MobSF.git


7) Running setup.sh. Wait for installation to complete. It will take sometime.

Command : ./setup.sh

8) Running MobSF

Command: ./run.sh

 


9) Navigate to http://localhost:8000 and you have successfully installed MobSF.

 

 

*Do note that this method works as of this date 01 October 2020. It might not work on a later date.

Now you can start to doing static analysis on mobile application.

Cheers.


No comments:

Post a Comment

XSSTRON, Electron JS Browser To Find XSS Vulnerabilities

  XSSTRON, Electron JS Browser To Find XSS Vulnerabilities Powerful Chromium Browser to find XSS Vulnerabilites automatically while browsing...