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.4k stars 3.23k forks source link

Error starting Dynamic Analyzer environment #1019

Closed hexrom closed 5 years ago

hexrom commented 5 years ago

ENVIRONMENT

OS and Version: MacOS High Sierra
Python Version: 3.7
MobSF Version: Latest, MobSF_VM_0.3

EXPLANATION OF THE ISSUE

I am having an issue starting the Dynamic Analyzer environment. I followed the documentation for setting it up. I was able to get the environment to successfully set up yesterday but today there's an issue.
I am receiving the following error:
ERROR Connecting to VM/Device. unable to connect to 192.168.56.101:5555: Operation timed out. 

I double checked settings.py and everything from yesterday's setup is still valid, Host/Proxy IP, Device IP, VM UUID, Snapshot UUID. Manual proxy also set properly on VM. 

Screenshot attached.

Screen Shot 2019-07-23 at 10 51 13 PM

LOG FILE

[INFO] 24/Jul/2019 02:41:48 - Dynamic Analysis Started
127.0.0.1:55556: clientconnect
[INFO] 24/Jul/2019 02:41:48 - Killing CapFuzz UI
127.0.0.1:55556: HTTP protocol error in client request: Invalid HTTP request form (expected: authority or absolute, got: relative)
127.0.0.1:55556: clientdisconnect
127.0.0.1:55557: clientconnect
[INFO] 24/Jul/2019 02:41:48 - Refreshing MobSF VM
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
[INFO] 24/Jul/2019 02:41:49 - VM Closed
Restoring snapshot 'SAVED_STATE' (c6f1fbd3-a4ac-4831-a1c2-1646d4aa2bac)
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
[INFO] 24/Jul/2019 02:41:52 - VM Restore Snapshot
Waiting for VM "a676b652-cde2-4079-9a34-14457d20c675" to power on...
VM "a676b652-cde2-4079-9a34-14457d20c675" has been successfully started.
[INFO] 24/Jul/2019 02:41:56 - VM Starting
[ERROR] 24/Jul/2019 02:41:56 - Error Downloading File screen/screen.png
[ERROR] 24/Jul/2019 02:41:56 - Internal Server Error: /download/screen/screen.png
[INFO] 24/Jul/2019 02:41:59 - Setting up Dynamic Analysis Environment
[INFO] 24/Jul/2019 02:41:59 - Connecting to VM/Device
* daemon not running. starting it now at tcp:5037 *
* daemon started successfully *
Capture Module Loaded
Proxy server listening at http://*:1337
[INFO] 24/Jul/2019 02:42:03 - ADB Started
[INFO] 24/Jul/2019 02:42:03 - Waiting for 5 seconds...
[INFO] 24/Jul/2019 02:42:08 - Connecting to VM/Device
ajinabraham commented 5 years ago

Github issues are not for support