MobSF / Mobile-Security-Framework-MobSF

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.
https://opensecurity.in
GNU General Public License v3.0
17.57k stars 3.25k forks source link

Dynamic Analysis #655

Closed abhishekankur closed 6 years ago

abhishekankur commented 6 years ago

SIR , kindly help while running Mobsf_avd.py i found this error screenshot from 2018-06-26 18-09-04

root@kaliJi:~/Desktop/Mobile-Security-Framework-MobSF-master/scripts# sudo python mobsfy_AVD.py

MobSFy_AVD Script

[INFO] Starting MobSF - AVD interactive configuration script

[INFO] Make sure to run this script ONLY after you successfuly installed latest AndroidStudio & downloaded MobSF_ARM_Emulator.zip

[INFO] Please specify the path to MobSF_ARM_Emulator extracted folder

MobSF_ARM_Emulator folder: /root/Desktop/MobSF_ARM_Emulator Traceback (most recent call last): File "mobsfy_AVD.py", line 317, in sys.exit(main()) File "mobsfy_AVD.py", line 214, in main mobsf_arm_folder = verify_path('MobSF_ARM_Emulator folder') File "mobsfy_AVD.py", line 39, in verify_path path = input(help_msg + ': ') File "", line 1 /root/Desktop/MobSF_ARM_Emulator ^ SyntaxError: invalid syntax

ajinabraham commented 6 years ago

It needs python3, not python2. Also MobSF AVD is currently not working.

abhishekankur commented 6 years ago

screenshot from 2018-06-27 12-02-03

abhishekankur commented 6 years ago

sir now showing this error sorry for disturbing you I am a PG student doing m.tech from rgpv bhopal with cyber forensic branch.

ajinabraham commented 6 years ago

MobSF AVD won't work at the moment for dynamic analysis . Try Virtual Box VM or Real Device.

princenaman commented 5 years ago

Is it still not working?

nexus 5 skin path: 
Traceback (most recent call last):
  File "mobsfy_AVD.py", line 318, in <module>
    sys.exit(main())
  File "mobsfy_AVD.py", line 256, in main
    skin_path = verify_path('nexus 5 skin path')
  File "mobsfy_AVD.py", line 40, in verify_path
    path = input(help_msg + ': ')
  File "<string>", line 0

    ^
SyntaxError: unexpected EOF while parsing
ajinabraham commented 5 years ago

AVD support is currently discontinued.

princenaman commented 5 years ago

😢 okay

joekendal commented 4 years ago

@ajinabraham Really??? The documentation is out of date then

ajinabraham commented 4 years ago

@joekendal The doc's are latest. This was an early implementation of AVD that went unsupported.

joekendal commented 4 years ago

@ajinabraham then why do I get this error:

[ERROR] 12/Jun/2020 06:13:18 - Is the Android VM running?
MobSF cannot identify device id.
Please set ANALYZER_IDENTIFIER in MobSF/settings.py

settings.py

    # =======ANDROID DYNAMIC ANALYSIS SETTINGS===========
    ANALYZER_IDENTIFIER = 'emulator-5554'
    FRIDA_TIMEOUT = 4
    # ==============================================
➜  ~ ./Library/Android/sdk/platform-tools/adb devices     
List of devices attached
emulator-5554   device

What is it meant to be

joekendal commented 4 years ago

and there's still no avd script is there?

ajinabraham commented 4 years ago

There is no script to use here. please follow the official docs.

ajinabraham commented 4 years ago

For support use slack channel

DavronMuminov commented 3 years ago

Any news on this?

ajinabraham commented 3 years ago

@DavronMuminov The old AVD support is depreciated. Please refer official docs for latest AVD setup instructions. https://mobsf.github.io/docs/#/dynamic_analyzer?id=android-studio-emulator