[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

本站公众号
   欢迎关注本站公众号,获取更多信息