[MobSF]Documentation

 全稱:Mobile Security Framework html

要求:

靜態分析python

動態分析android

  • MobSF.ova文件需用VirtualBox運行
  • MobSF arm模擬器需用Android Studio and a configured virtual device 運行. Intel HAXM is recommended. -Hardware Requirements: Min 4GB RAM, 5GB HDD/SSD and Virtualisation Support for running MobSF VM

下載:

安裝:

  • Windows: Clone MobSF Repository to C:\
  • Mac: Clone MobSF Repository to /Users/[username]/
  • Linux: Clone MobSF Repository to /home/[username]/

配置靜態分析

  • Windows: C:\Python27\python.exe -m pip install -r requirements.txt NOTE: If you face any issues, download and install the latest python 2.7.x
  • Mac : pip install -r requirements.txt --user
  • Linux: sudo apt install build-essential libssl-dev libffi-dev python-dev pip install -r requirements.txt --user
  • 須要安裝 wkhtmltopdf 才能生成pdf報告:https://github.com/JazzCore/python-pdfkit/wiki/Installing-wkhtmltopdf
  • 在windows系統,需將wkhtmltopdf設爲環境變量
運行MobSF
  • python manage.py runserver 指定端口號:python manage.pyrunserver PORT_NO 指定ip和端口號:python manage.py runserver IP:PORT_NO

配置動態分析:

升級MobSF:

  • 升級時,須要轉移數據庫,不然報錯: [ERROR] Saving to DB (E:\Mobile-Security-Framework-MobSF\StaticAnalyzer\views\android\db_interaction.py, LINE 236 "static_db.save()"): table StaticAnalyzer_staticanalyzerandroid has no column named
  • 轉移數據庫的命令: pythonmanage.py makemigrations pythonmanage.py migrate
  • If the above changes didn't work, you might need to delete the file db.sqlite3, or run clean.sh in Mac/Linux. After that run the above commands. NOTE: This will remove the previously saved MobSF scan results.

被禁用的組件:

APKiD:

Mass Static Analysis

Using Postgres DB instead of SQLite:

家庭地址本支持:

MobSF Static Analysis的docker鏡像

REST API

運行例子:

 

【來自https://github.com/MobSF/Mobile-Security-Framework-MobSF/wiki/1.-Documentation】git

本站公眾號
   歡迎關注本站公眾號,獲取更多信息