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
16.66k stars 3.16k forks source link

Port 1337 Blocked on Windows HTTPTools #2369

Closed wilsonator closed 2 months ago

wilsonator commented 3 months ago

ENVIRONMENT

OS and Version: Windows 11 Pro 22H2
Python Version: 3.11.4
MobSF Version: Mobile Security Framework v3.9.7 Beta

EXPLANATION OF THE ISSUE

In MobSF Docker container, the port 1337 is used for HTTPTools. This port seems to be blocked by windows by default.

I started MobSF for Dynamic Analysis with the command:

docker run -it --rm -p 8000:8000 -p 1338:1338 -e MOBSF_ANALYZER_IDENTIFIER=emulator-5554 opensecurity/mobile-security-framework-mobsf:latest

However this does not change the listening port of HTTPTools.

2024-03-26 09_14_41-Mail

I attempted to unblock port 1337 in Windows firewall inbound and outbound and this change had no effect.

I further tested the issue with httptools installed manually. On port 1338 the web UI is accessible:

1338_notblocked1

1338_notblocked2

However port 1337 is not accessible:

1337_blocked1

1337_blocked2

I think it would be best to configure a command line option that will change the port of httptools to whatever port the user desires.

STEPS TO REPRODUCE THE ISSUE

1.  Upload app for static analysis
2. Perform dynamic analysis
3. Click "Generate Report"
4. Click "Start HTTPTools" received black screen of the site being not accessible.

LOG FILE

[INFO] 15/Sep/2023 16:36:37 - 
  __  __       _    ____  _____       _____ _____ 
 |  \/  | ___ | |__/ ___||  ___|_   _|___ /|___  |
 | |\/| |/ _ \| '_ \___ \| |_  \ \ / / |_ \   / / 
 | |  | | (_) | |_) |__) |  _|  \ V / ___) | / /  
 |_|  |_|\___/|_.__/____/|_|     \_/ |____(_)_/   

[INFO] 15/Sep/2023 16:36:37 - Mobile Security Framework v3.7.6 Beta
[INFO] 15/Sep/2023 16:36:37 - OS: Windows
[INFO] 15/Sep/2023 16:36:37 - Platform: Windows-10-10.0.22621-SP0
[INFO] 15/Sep/2023 16:36:37 - MobSF Basic Environment Check
[WARNING] 15/Sep/2023 16:36:38 - Dynamic Analysis related functions will not work. 
Make sure a Genymotion Android VM/Android Studio Emulator is running before performing Dynamic Analysis.
[INFO] 15/Sep/2023 16:36:38 - Checking for Update.
[INFO] 15/Sep/2023 16:36:38 - No updates available.
[INFO] 15/Sep/2023 16:36:39 - 
  __  __       _    ____  _____       _____ _____ 
 |  \/  | ___ | |__/ ___||  ___|_   _|___ /|___  |
 | |\/| |/ _ \| '_ \___ \| |_  \ \ / / |_ \   / / 
 | |  | | (_) | |_) |__) |  _|  \ V / ___) | / /  
 |_|  |_|\___/|_.__/____/|_|     \_/ |____(_)_/   

[INFO] 15/Sep/2023 16:36:39 - Mobile Security Framework v3.7.6 Beta
[INFO] 15/Sep/2023 16:36:39 - OS: Windows
[INFO] 15/Sep/2023 16:36:39 - Platform: Windows-10-10.0.22621-SP0
[INFO] 15/Sep/2023 16:36:39 - MobSF Basic Environment Check
[WARNING] 15/Sep/2023 16:36:40 - Dynamic Analysis related functions will not work. 
Make sure a Genymotion Android VM/Android Studio Emulator is running before performing Dynamic Analysis.
[INFO] 15/Sep/2023 16:36:40 - Checking for Update.
[INFO] 15/Sep/2023 16:36:40 - No updates available.
[INFO] 15/Sep/2023 16:36:41 - 
  __  __       _    ____  _____       _____ _____ 
 |  \/  | ___ | |__/ ___||  ___|_   _|___ /|___  |
 | |\/| |/ _ \| '_ \___ \| |_  \ \ / / |_ \   / / 
 | |  | | (_) | |_) |__) |  _|  \ V / ___) | / /  
 |_|  |_|\___/|_.__/____/|_|     \_/ |____(_)_/   

[INFO] 15/Sep/2023 16:36:41 - Mobile Security Framework v3.7.6 Beta
[INFO] 15/Sep/2023 16:36:41 - OS: Windows
[INFO] 15/Sep/2023 16:36:41 - Platform: Windows-10-10.0.22621-SP0
[INFO] 15/Sep/2023 16:36:41 - MobSF Basic Environment Check
[WARNING] 15/Sep/2023 16:36:42 - Dynamic Analysis related functions will not work. 
Make sure a Genymotion Android VM/Android Studio Emulator is running before performing Dynamic Analysis.
[INFO] 15/Sep/2023 16:36:42 - Checking for Update.
[INFO] 15/Sep/2023 16:36:42 - No updates available.
[INFO] 15/Sep/2023 16:36:43 - 
  __  __       _    ____  _____       _____ _____ 
 |  \/  | ___ | |__/ ___||  ___|_   _|___ /|___  |
 | |\/| |/ _ \| '_ \___ \| |_  \ \ / / |_ \   / / 
 | |  | | (_) | |_) |__) |  _|  \ V / ___) | / /  
 |_|  |_|\___/|_.__/____/|_|     \_/ |____(_)_/   

[INFO] 15/Sep/2023 16:36:43 - Mobile Security Framework v3.7.6 Beta
[INFO] 15/Sep/2023 16:36:43 - OS: Windows
[INFO] 15/Sep/2023 16:36:43 - Platform: Windows-10-10.0.22621-SP0
[INFO] 15/Sep/2023 16:36:43 - MobSF Basic Environment Check
[WARNING] 15/Sep/2023 16:36:44 - Dynamic Analysis related functions will not work. 
Make sure a Genymotion Android VM/Android Studio Emulator is running before performing Dynamic Analysis.
[INFO] 15/Sep/2023 16:36:44 - Checking for Update.
[INFO] 15/Sep/2023 16:36:44 - No updates available.
[INFO] 15/Sep/2023 16:37:16 - 
  __  __       _    ____  _____       _____ _____ 
 |  \/  | ___ | |__/ ___||  ___|_   _|___ /|___  |
 | |\/| |/ _ \| '_ \___ \| |_  \ \ / / |_ \   / / 
 | |  | | (_) | |_) |__) |  _|  \ V / ___) | / /  
 |_|  |_|\___/|_.__/____/|_|     \_/ |____(_)_/   

[INFO] 15/Sep/2023 16:37:16 - Mobile Security Framework v3.7.6 Beta
[INFO] 15/Sep/2023 16:37:16 - OS: Windows
[INFO] 15/Sep/2023 16:37:16 - Platform: Windows-10-10.0.22621-SP0
[INFO] 15/Sep/2023 16:37:16 - MobSF Basic Environment Check
[WARNING] 15/Sep/2023 16:37:17 - Dynamic Analysis related functions will not work. 
Make sure a Genymotion Android VM/Android Studio Emulator is running before performing Dynamic Analysis.
[INFO] 15/Sep/2023 16:37:17 - Checking for Update.
[INFO] 15/Sep/2023 16:37:17 - No updates available.
[INFO] 15/Sep/2023 16:37:19 - 
  __  __       _    ____  _____       _____ _____ 
 |  \/  | ___ | |__/ ___||  ___|_   _|___ /|___  |
 | |\/| |/ _ \| '_ \___ \| |_  \ \ / / |_ \   / / 
 | |  | | (_) | |_) |__) |  _|  \ V / ___) | / /  
 |_|  |_|\___/|_.__/____/|_|     \_/ |____(_)_/   

[INFO] 15/Sep/2023 16:37:19 - Mobile Security Framework v3.7.6 Beta
[INFO] 15/Sep/2023 16:37:19 - OS: Windows
[INFO] 15/Sep/2023 16:37:19 - Platform: Windows-10-10.0.22621-SP0
[INFO] 15/Sep/2023 16:37:19 - MobSF Basic Environment Check
[WARNING] 15/Sep/2023 16:37:20 - Dynamic Analysis related functions will not work. 
Make sure a Genymotion Android VM/Android Studio Emulator is running before performing Dynamic Analysis.
[INFO] 15/Sep/2023 16:37:20 - Checking for Update.
[INFO] 15/Sep/2023 16:37:20 - No updates available.
[INFO] 15/Sep/2023 16:37:22 - 
  __  __       _    ____  _____       _____ _____ 
 |  \/  | ___ | |__/ ___||  ___|_   _|___ /|___  |
 | |\/| |/ _ \| '_ \___ \| |_  \ \ / / |_ \   / / 
 | |  | | (_) | |_) |__) |  _|  \ V / ___) | / /  
 |_|  |_|\___/|_.__/____/|_|     \_/ |____(_)_/   

[INFO] 15/Sep/2023 16:37:22 - Mobile Security Framework v3.7.6 Beta
[INFO] 15/Sep/2023 16:37:22 - OS: Windows
[INFO] 15/Sep/2023 16:37:22 - Platform: Windows-10-10.0.22621-SP0
[INFO] 15/Sep/2023 16:37:22 - MobSF Basic Environment Check
[WARNING] 15/Sep/2023 16:37:22 - Dynamic Analysis related functions will not work. 
Make sure a Genymotion Android VM/Android Studio Emulator is running before performing Dynamic Analysis.
[INFO] 15/Sep/2023 16:37:22 - Checking for Update.
[INFO] 15/Sep/2023 16:37:23 - No updates available.
[INFO] 29/Sep/2023 14:39:01 - 
  __  __       _    ____  _____       _____ _____ 
 |  \/  | ___ | |__/ ___||  ___|_   _|___ /|___  |
 | |\/| |/ _ \| '_ \___ \| |_  \ \ / / |_ \   / / 
 | |  | | (_) | |_) |__) |  _|  \ V / ___) | / /  
 |_|  |_|\___/|_.__/____/|_|     \_/ |____(_)_/   

[INFO] 29/Sep/2023 14:39:01 - Mobile Security Framework v3.7.6 Beta
[INFO] 29/Sep/2023 14:39:01 - OS: Windows
[INFO] 29/Sep/2023 14:39:01 - Platform: Windows-10-10.0.22621-SP0
[INFO] 29/Sep/2023 14:39:01 - MobSF Basic Environment Check
[WARNING] 29/Sep/2023 14:39:01 - Dynamic Analysis related functions will not work. 
Make sure a Genymotion Android VM/Android Studio Emulator is running before performing Dynamic Analysis.
[INFO] 29/Sep/2023 14:39:02 - Checking for Update.
[INFO] 29/Sep/2023 14:39:02 - No updates available.
[INFO] 29/Sep/2023 14:42:55 - MIME Type: application/vnd.android.package-archive FILE: com.talkingparents.tpandroid.581.apk
[INFO] 29/Sep/2023 14:42:55 - Performing Static Analysis of Android APK
[INFO] 29/Sep/2023 14:42:55 - Scan Hash: 141db596f43e04be93b449a792bab7a2
[INFO] 29/Sep/2023 14:42:55 - Starting Analysis on: com.talkingparents.tpandroid.581.apk
[INFO] 29/Sep/2023 14:42:55 - Generating Hashes
[INFO] 29/Sep/2023 14:42:55 - Unzipping
[INFO] 29/Sep/2023 14:42:57 - APK Extracted
[INFO] 29/Sep/2023 14:42:57 - Getting Hardcoded Certificates/Keystores
[INFO] 29/Sep/2023 14:42:57 - Getting AndroidManifest.xml from APK
[INFO] 29/Sep/2023 14:42:57 - Converting AXML to XML
[INFO] 29/Sep/2023 14:43:02 - Parsing AndroidManifest.xml
[INFO] 29/Sep/2023 14:43:02 - Parsing APK with androguard
[INFO] 29/Sep/2023 14:43:02 - Fetching icon path
[INFO] 29/Sep/2023 14:43:03 - Extracting Manifest Data
[INFO] 29/Sep/2023 14:43:03 - Fetching Details from Play Store: com.talkingparents.tpandroid
[INFO] 29/Sep/2023 14:43:03 - Manifest Analysis Started
[INFO] 29/Sep/2023 14:43:03 - Library Binary Analysis Started
[INFO] 29/Sep/2023 14:43:03 - Analyzing lib/arm64-v8a/libmono-btls-shared.so
[INFO] 29/Sep/2023 14:43:06 - Analyzing lib/arm64-v8a/libmono-native.so
[INFO] 29/Sep/2023 14:43:06 - Analyzing lib/arm64-v8a/libmonodroid.so
[INFO] 29/Sep/2023 14:43:06 - Analyzing lib/arm64-v8a/libmonosgen-2.0.so
[INFO] 29/Sep/2023 14:43:10 - Analyzing lib/arm64-v8a/libSkiaSharp.so
[INFO] 29/Sep/2023 14:43:11 - Analyzing lib/arm64-v8a/libtwilio_video_android_so.so
[INFO] 29/Sep/2023 14:43:11 - Analyzing lib/arm64-v8a/libxa-internal-api.so
[INFO] 29/Sep/2023 14:43:12 - Analyzing lib/arm64-v8a/libxamarin-app.so
[INFO] 29/Sep/2023 14:43:12 - Analyzing lib/arm64-v8a/libxamarin-debug-app-helper.so
[INFO] 29/Sep/2023 14:43:12 - Analyzing lib/armeabi-v7a/libmono-btls-shared.so
[INFO] 29/Sep/2023 14:43:14 - Analyzing lib/armeabi-v7a/libmono-native.so
[INFO] 29/Sep/2023 14:43:15 - Analyzing lib/armeabi-v7a/libmonodroid.so
[INFO] 29/Sep/2023 14:43:15 - Analyzing lib/armeabi-v7a/libmonosgen-2.0.so
[INFO] 29/Sep/2023 14:43:22 - Analyzing lib/armeabi-v7a/libSkiaSharp.so
[INFO] 29/Sep/2023 14:43:22 - Analyzing lib/armeabi-v7a/libtwilio_video_android_so.so
[INFO] 29/Sep/2023 14:43:23 - Analyzing lib/armeabi-v7a/libxa-internal-api.so
[INFO] 29/Sep/2023 14:43:23 - Analyzing lib/armeabi-v7a/libxamarin-app.so
[INFO] 29/Sep/2023 14:43:23 - Analyzing lib/armeabi-v7a/libxamarin-debug-app-helper.so
[INFO] 29/Sep/2023 14:43:24 - Analyzing lib/x86/libmono-btls-shared.so
[INFO] 29/Sep/2023 14:43:25 - Analyzing lib/x86/libmono-native.so
[INFO] 29/Sep/2023 14:43:25 - Analyzing lib/x86/libmonodroid.so
[INFO] 29/Sep/2023 14:43:25 - Analyzing lib/x86/libmonosgen-2.0.so
[INFO] 29/Sep/2023 14:43:28 - Analyzing lib/x86/libSkiaSharp.so
[INFO] 29/Sep/2023 14:43:29 - Analyzing lib/x86/libtwilio_video_android_so.so
[INFO] 29/Sep/2023 14:43:29 - Analyzing lib/x86/libxa-internal-api.so
[INFO] 29/Sep/2023 14:43:30 - Analyzing lib/x86/libxamarin-app.so
[INFO] 29/Sep/2023 14:43:30 - Analyzing lib/x86/libxamarin-debug-app-helper.so
[INFO] 29/Sep/2023 14:43:30 - Analyzing lib/x86_64/libmono-btls-shared.so
[INFO] 29/Sep/2023 14:43:31 - Analyzing lib/x86_64/libmono-native.so
[INFO] 29/Sep/2023 14:43:31 - Analyzing lib/x86_64/libmonodroid.so
[INFO] 29/Sep/2023 14:43:31 - Analyzing lib/x86_64/libmonosgen-2.0.so
[INFO] 29/Sep/2023 14:43:34 - Analyzing lib/x86_64/libSkiaSharp.so
[INFO] 29/Sep/2023 14:43:35 - Analyzing lib/x86_64/libtwilio_video_android_so.so
[INFO] 29/Sep/2023 14:43:36 - Analyzing lib/x86_64/libxa-internal-api.so
[INFO] 29/Sep/2023 14:43:36 - Analyzing lib/x86_64/libxamarin-app.so
[INFO] 29/Sep/2023 14:43:36 - Analyzing lib/x86_64/libxamarin-debug-app-helper.so
[INFO] 29/Sep/2023 14:43:36 - Analyzing lib/arm64-v8a/libmono-btls-shared.so
[INFO] 29/Sep/2023 14:43:38 - Analyzing lib/arm64-v8a/libmono-native.so
[INFO] 29/Sep/2023 14:43:38 - Analyzing lib/arm64-v8a/libmonodroid.so
[INFO] 29/Sep/2023 14:43:39 - Analyzing lib/arm64-v8a/libmonosgen-2.0.so
[INFO] 29/Sep/2023 14:43:42 - Analyzing lib/arm64-v8a/libSkiaSharp.so
[INFO] 29/Sep/2023 14:43:42 - Analyzing lib/arm64-v8a/libtwilio_video_android_so.so
[INFO] 29/Sep/2023 14:43:43 - Analyzing lib/arm64-v8a/libxa-internal-api.so
[INFO] 29/Sep/2023 14:43:43 - Analyzing lib/arm64-v8a/libxamarin-app.so
[INFO] 29/Sep/2023 14:43:43 - Analyzing lib/arm64-v8a/libxamarin-debug-app-helper.so
[INFO] 29/Sep/2023 14:43:43 - Analyzing lib/armeabi-v7a/libmono-btls-shared.so
[INFO] 29/Sep/2023 14:43:46 - Analyzing lib/armeabi-v7a/libmono-native.so
[INFO] 29/Sep/2023 14:43:46 - Analyzing lib/armeabi-v7a/libmonodroid.so
[INFO] 29/Sep/2023 14:43:47 - Analyzing lib/armeabi-v7a/libmonosgen-2.0.so
[INFO] 29/Sep/2023 14:43:53 - Analyzing lib/armeabi-v7a/libSkiaSharp.so
[INFO] 29/Sep/2023 14:43:53 - Analyzing lib/armeabi-v7a/libtwilio_video_android_so.so
[INFO] 29/Sep/2023 14:43:54 - Analyzing lib/armeabi-v7a/libxa-internal-api.so
[INFO] 29/Sep/2023 14:43:54 - Analyzing lib/armeabi-v7a/libxamarin-app.so
[INFO] 29/Sep/2023 14:43:54 - Analyzing lib/armeabi-v7a/libxamarin-debug-app-helper.so
[INFO] 29/Sep/2023 14:43:55 - Analyzing lib/x86/libmono-btls-shared.so
[INFO] 29/Sep/2023 14:43:56 - Analyzing lib/x86/libmono-native.so
[INFO] 29/Sep/2023 14:43:56 - Analyzing lib/x86/libmonodroid.so
[INFO] 29/Sep/2023 14:43:56 - Analyzing lib/x86/libmonosgen-2.0.so
[INFO] 29/Sep/2023 14:43:59 - Analyzing lib/x86/libSkiaSharp.so
[INFO] 29/Sep/2023 14:43:59 - Analyzing lib/x86/libtwilio_video_android_so.so
[INFO] 29/Sep/2023 14:44:00 - Analyzing lib/x86/libxa-internal-api.so
[INFO] 29/Sep/2023 14:44:00 - Analyzing lib/x86/libxamarin-app.so
[INFO] 29/Sep/2023 14:44:00 - Analyzing lib/x86/libxamarin-debug-app-helper.so
[INFO] 29/Sep/2023 14:44:01 - Analyzing lib/x86_64/libmono-btls-shared.so
[INFO] 29/Sep/2023 14:44:02 - Analyzing lib/x86_64/libmono-native.so
[INFO] 29/Sep/2023 14:44:02 - Analyzing lib/x86_64/libmonodroid.so
[INFO] 29/Sep/2023 14:44:02 - Analyzing lib/x86_64/libmonosgen-2.0.so
[INFO] 29/Sep/2023 14:44:05 - Analyzing lib/x86_64/libSkiaSharp.so
[INFO] 29/Sep/2023 14:44:05 - Analyzing lib/x86_64/libtwilio_video_android_so.so
[INFO] 29/Sep/2023 14:44:06 - Analyzing lib/x86_64/libxa-internal-api.so
[INFO] 29/Sep/2023 14:44:06 - Analyzing lib/x86_64/libxamarin-app.so
[INFO] 29/Sep/2023 14:44:06 - Analyzing lib/x86_64/libxamarin-debug-app-helper.so
[INFO] 29/Sep/2023 14:44:07 - Reading Code Signing Certificate
[INFO] 29/Sep/2023 14:44:07 - Running APKiD 2.1.5
[INFO] 29/Sep/2023 14:44:10 - Trackers Database is up-to-date
[INFO] 29/Sep/2023 14:44:10 - Detecting Trackers
[INFO] 29/Sep/2023 14:44:12 - APK -> JAVA
[INFO] 29/Sep/2023 14:44:12 - Decompiling to Java with jadx
[INFO] 29/Sep/2023 14:44:31 - DEX -> SMALI
[INFO] 29/Sep/2023 14:44:31 - Converting classes.dex to Smali Code
[INFO] 29/Sep/2023 14:44:31 - Converting classes2.dex to Smali Code
[INFO] 29/Sep/2023 14:44:31 - Code Analysis Started on - java_source
[INFO] 29/Sep/2023 14:44:49 - Running NIAP Analyzer
[INFO] 29/Sep/2023 14:45:07 - Finished Code Analysis, Email and URL Extraction
[INFO] 29/Sep/2023 14:45:07 - Extracting Data from APK
[INFO] 29/Sep/2023 14:45:09 - Extracting Data from Source Code
[INFO] 29/Sep/2023 14:45:10 - Detecting Firebase URL(s)
[INFO] 29/Sep/2023 14:45:10 - Performing Malware Check on extracted Domains
[INFO] 29/Sep/2023 14:45:11 - Maltrail Database is outdated!
[INFO] 29/Sep/2023 14:45:11 - Updating Maltrail Database
[INFO] 29/Sep/2023 14:45:14 - Saving to Database
[INFO] 29/Sep/2023 14:45:16 - Scan Hash: 141db596f43e04be93b449a792bab7a2
[INFO] 29/Sep/2023 14:45:16 - Starting Analysis on: com.talkingparents.tpandroid.581.apk
[INFO] 29/Sep/2023 14:45:16 - Analysis is already Done. Fetching data from the DB...
[INFO] 29/Sep/2023 14:48:41 - View Java Source File
[INFO] 29/Sep/2023 14:52:21 - View Java Source File
[ERROR] 29/Sep/2023 14:56:17 - Static Analysis of iOS IPA requires Mac or Linux
[INFO] 02/Oct/2023 10:25:54 - 
  __  __       _    ____  _____       _____ _____ 
 |  \/  | ___ | |__/ ___||  ___|_   _|___ /|___  |
 | |\/| |/ _ \| '_ \___ \| |_  \ \ / / |_ \   / / 
 | |  | | (_) | |_) |__) |  _|  \ V / ___) | / /  
 |_|  |_|\___/|_.__/____/|_|     \_/ |____(_)_/   

[INFO] 02/Oct/2023 10:25:54 - Mobile Security Framework v3.7.6 Beta
[INFO] 02/Oct/2023 10:25:54 - OS: Windows
[INFO] 02/Oct/2023 10:25:54 - Platform: Windows-10-10.0.22621-SP0
[INFO] 02/Oct/2023 10:25:54 - MobSF Basic Environment Check
[WARNING] 02/Oct/2023 10:25:54 - Dynamic Analysis related functions will not work. 
Make sure a Genymotion Android VM/Android Studio Emulator is running before performing Dynamic Analysis.
[INFO] 02/Oct/2023 10:25:55 - Checking for Update.
[INFO] 02/Oct/2023 10:25:55 - No updates available.
[INFO] 02/Oct/2023 10:25:58 - Scan Hash: 141db596f43e04be93b449a792bab7a2
[INFO] 02/Oct/2023 10:25:58 - Starting Analysis on: com.talkingparents.tpandroid.581.apk
[INFO] 02/Oct/2023 10:25:59 - Analysis is already Done. Fetching data from the DB...
[INFO] 02/Oct/2023 10:26:08 - Fetching data from DB for PDF Report Generation (Android)
[INFO] 02/Oct/2023 10:26:08 - Analysis is already Done. Fetching data from the DB...
[INFO] 02/Oct/2023 10:26:12 - Analysis is already Done. Fetching data from the DB...
[INFO] 02/Oct/2023 10:26:14 - Generating PDF report for android apk
[ERROR] 02/Oct/2023 10:26:14 - Error Generating PDF Report
Traceback (most recent call last):
  File "C:\Users\wilso\AppData\Local\pypoetry\Cache\virtualenvs\mobsf-OyF5aUZS-py3.11\Lib\site-packages\pdfkit\configuration.py", line 35, in __init__
    with open(self.wkhtmltopdf) as f:
         ^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: b''

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\wilso\Mobile-Security-Framework-MobSF\mobsf\StaticAnalyzer\views\common\pdf.py", line 135, in pdf
    pdf_dat = pdfkit.from_string(html, False, options=options)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\wilso\AppData\Local\pypoetry\Cache\virtualenvs\mobsf-OyF5aUZS-py3.11\Lib\site-packages\pdfkit\api.py", line 72, in from_string
    r = PDFKit(input, 'string', options=options, toc=toc, cover=cover, css=css,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\wilso\AppData\Local\pypoetry\Cache\virtualenvs\mobsf-OyF5aUZS-py3.11\Lib\site-packages\pdfkit\pdfkit.py", line 45, in __init__
    self.configuration = (Configuration() if configuration is None
                          ^^^^^^^^^^^^^^^
  File "C:\Users\wilso\AppData\Local\pypoetry\Cache\virtualenvs\mobsf-OyF5aUZS-py3.11\Lib\site-packages\pdfkit\configuration.py", line 38, in __init__
    raise IOError('No wkhtmltopdf executable found: "%s"\n'
OSError: No wkhtmltopdf executable found: "b''"
If this file exists please check that this process can read it or you can pass path to it manually in method call, check README. Otherwise please install wkhtmltopdf - https://github.com/JazzCore/python-pdfkit/wiki/Installing-wkhtmltopdf
[ERROR] 02/Oct/2023 10:26:14 - Internal Server Error: /pdf/
[WARNING] 02/Oct/2023 10:26:14 - Not Found: /favicon.ico
[INFO] 02/Oct/2023 10:28:50 - Scan Hash: 141db596f43e04be93b449a792bab7a2
[INFO] 02/Oct/2023 10:28:50 - Starting Analysis on: com.talkingparents.tpandroid.581.apk
[INFO] 02/Oct/2023 10:28:50 - Analysis is already Done. Fetching data from the DB...
[INFO] 02/Oct/2023 10:29:45 - 
  __  __       _    ____  _____       _____ _____ 
 |  \/  | ___ | |__/ ___||  ___|_   _|___ /|___  |
 | |\/| |/ _ \| '_ \___ \| |_  \ \ / / |_ \   / / 
 | |  | | (_) | |_) |__) |  _|  \ V / ___) | / /  
 |_|  |_|\___/|_.__/____/|_|     \_/ |____(_)_/   

[INFO] 02/Oct/2023 10:29:45 - Mobile Security Framework v3.7.6 Beta
[INFO] 02/Oct/2023 10:29:45 - OS: Windows
[INFO] 02/Oct/2023 10:29:45 - Platform: Windows-10-10.0.22621-SP0
[INFO] 02/Oct/2023 10:29:45 - MobSF Basic Environment Check
[WARNING] 02/Oct/2023 10:29:45 - Dynamic Analysis related functions will not work. 
Make sure a Genymotion Android VM/Android Studio Emulator is running before performing Dynamic Analysis.
[INFO] 02/Oct/2023 10:29:45 - Scan Hash: 141db596f43e04be93b449a792bab7a2
[INFO] 02/Oct/2023 10:29:45 - Starting Analysis on: com.talkingparents.tpandroid.581.apk
[INFO] 02/Oct/2023 10:29:45 - Analysis is already Done. Fetching data from the DB...
[INFO] 02/Oct/2023 10:29:46 - Checking for Update.
[INFO] 02/Oct/2023 10:29:46 - No updates available.
[INFO] 02/Oct/2023 10:30:04 - Fetching data from DB for PDF Report Generation (Android)
[INFO] 02/Oct/2023 10:30:04 - Analysis is already Done. Fetching data from the DB...
[INFO] 02/Oct/2023 10:30:07 - Analysis is already Done. Fetching data from the DB...
[INFO] 02/Oct/2023 10:30:09 - Generating PDF report for android apk
[ERROR] 02/Oct/2023 10:30:10 - Error Generating PDF Report
Traceback (most recent call last):
  File "C:\Users\wilso\AppData\Local\pypoetry\Cache\virtualenvs\mobsf-OyF5aUZS-py3.11\Lib\site-packages\pdfkit\configuration.py", line 35, in __init__
    with open(self.wkhtmltopdf) as f:
         ^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: b''

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\wilso\Mobile-Security-Framework-MobSF\mobsf\StaticAnalyzer\views\common\pdf.py", line 135, in pdf
    pdf_dat = pdfkit.from_string(html, False, options=options)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\wilso\AppData\Local\pypoetry\Cache\virtualenvs\mobsf-OyF5aUZS-py3.11\Lib\site-packages\pdfkit\api.py", line 72, in from_string
    r = PDFKit(input, 'string', options=options, toc=toc, cover=cover, css=css,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\wilso\AppData\Local\pypoetry\Cache\virtualenvs\mobsf-OyF5aUZS-py3.11\Lib\site-packages\pdfkit\pdfkit.py", line 45, in __init__
    self.configuration = (Configuration() if configuration is None
                          ^^^^^^^^^^^^^^^
  File "C:\Users\wilso\AppData\Local\pypoetry\Cache\virtualenvs\mobsf-OyF5aUZS-py3.11\Lib\site-packages\pdfkit\configuration.py", line 38, in __init__
    raise IOError('No wkhtmltopdf executable found: "%s"\n'
OSError: No wkhtmltopdf executable found: "b''"
If this file exists please check that this process can read it or you can pass path to it manually in method call, check README. Otherwise please install wkhtmltopdf - https://github.com/JazzCore/python-pdfkit/wiki/Installing-wkhtmltopdf
[ERROR] 02/Oct/2023 10:30:10 - Internal Server Error: /pdf/
[INFO] 02/Oct/2023 10:30:35 - 
  __  __       _    ____  _____       _____ _____ 
 |  \/  | ___ | |__/ ___||  ___|_   _|___ /|___  |
 | |\/| |/ _ \| '_ \___ \| |_  \ \ / / |_ \   / / 
 | |  | | (_) | |_) |__) |  _|  \ V / ___) | / /  
 |_|  |_|\___/|_.__/____/|_|     \_/ |____(_)_/   

[INFO] 02/Oct/2023 10:30:35 - Mobile Security Framework v3.7.6 Beta
[INFO] 02/Oct/2023 10:30:35 - OS: Windows
[INFO] 02/Oct/2023 10:30:35 - Platform: Windows-10-10.0.22621-SP0
[INFO] 02/Oct/2023 10:30:35 - MobSF Basic Environment Check
[WARNING] 02/Oct/2023 10:30:36 - Dynamic Analysis related functions will not work. 
Make sure a Genymotion Android VM/Android Studio Emulator is running before performing Dynamic Analysis.
[INFO] 02/Oct/2023 10:30:36 - Fetching data from DB for PDF Report Generation (Android)
[INFO] 02/Oct/2023 10:30:36 - Analysis is already Done. Fetching data from the DB...
[INFO] 02/Oct/2023 10:30:36 - Checking for Update.
[INFO] 02/Oct/2023 10:30:36 - No updates available.
[INFO] 02/Oct/2023 10:30:38 - Analysis is already Done. Fetching data from the DB...
[INFO] 02/Oct/2023 10:30:39 - Generating PDF report for android apk
[ERROR] 02/Oct/2023 10:30:40 - Error Generating PDF Report
Traceback (most recent call last):
  File "C:\Users\wilso\AppData\Local\pypoetry\Cache\virtualenvs\mobsf-OyF5aUZS-py3.11\Lib\site-packages\pdfkit\configuration.py", line 35, in __init__
    with open(self.wkhtmltopdf) as f:
         ^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: b''

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\wilso\Mobile-Security-Framework-MobSF\mobsf\StaticAnalyzer\views\common\pdf.py", line 135, in pdf
    pdf_dat = pdfkit.from_string(html, False, options=options)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\wilso\AppData\Local\pypoetry\Cache\virtualenvs\mobsf-OyF5aUZS-py3.11\Lib\site-packages\pdfkit\api.py", line 72, in from_string
    r = PDFKit(input, 'string', options=options, toc=toc, cover=cover, css=css,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\wilso\AppData\Local\pypoetry\Cache\virtualenvs\mobsf-OyF5aUZS-py3.11\Lib\site-packages\pdfkit\pdfkit.py", line 45, in __init__
    self.configuration = (Configuration() if configuration is None
                          ^^^^^^^^^^^^^^^
  File "C:\Users\wilso\AppData\Local\pypoetry\Cache\virtualenvs\mobsf-OyF5aUZS-py3.11\Lib\site-packages\pdfkit\configuration.py", line 38, in __init__
    raise IOError('No wkhtmltopdf executable found: "%s"\n'
OSError: No wkhtmltopdf executable found: "b''"
If this file exists please check that this process can read it or you can pass path to it manually in method call, check README. Otherwise please install wkhtmltopdf - https://github.com/JazzCore/python-pdfkit/wiki/Installing-wkhtmltopdf
[ERROR] 02/Oct/2023 10:30:40 - Internal Server Error: /pdf/
[INFO] 02/Oct/2023 10:32:12 - 
  __  __       _    ____  _____       _____ _____ 
 |  \/  | ___ | |__/ ___||  ___|_   _|___ /|___  |
 | |\/| |/ _ \| '_ \___ \| |_  \ \ / / |_ \   / / 
 | |  | | (_) | |_) |__) |  _|  \ V / ___) | / /  
 |_|  |_|\___/|_.__/____/|_|     \_/ |____(_)_/   

[INFO] 02/Oct/2023 10:32:12 - Mobile Security Framework v3.7.6 Beta
[INFO] 02/Oct/2023 10:32:12 - OS: Windows
[INFO] 02/Oct/2023 10:32:12 - Platform: Windows-10-10.0.22621-SP0
[INFO] 02/Oct/2023 10:32:12 - MobSF Basic Environment Check
[WARNING] 02/Oct/2023 10:32:13 - Dynamic Analysis related functions will not work. 
Make sure a Genymotion Android VM/Android Studio Emulator is running before performing Dynamic Analysis.
[INFO] 02/Oct/2023 10:32:13 - Checking for Update.
[INFO] 02/Oct/2023 10:32:13 - No updates available.
[INFO] 02/Oct/2023 10:32:16 - Fetching data from DB for PDF Report Generation (Android)
[INFO] 02/Oct/2023 10:32:16 - Analysis is already Done. Fetching data from the DB...
[INFO] 02/Oct/2023 10:32:19 - Analysis is already Done. Fetching data from the DB...
[INFO] 02/Oct/2023 10:32:21 - Generating PDF report for android apk
[ERROR] 02/Oct/2023 10:32:21 - Error Generating PDF Report
Traceback (most recent call last):
  File "C:\Users\wilso\AppData\Local\pypoetry\Cache\virtualenvs\mobsf-OyF5aUZS-py3.11\Lib\site-packages\pdfkit\configuration.py", line 35, in __init__
    with open(self.wkhtmltopdf) as f:
         ^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: b''

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\wilso\Mobile-Security-Framework-MobSF\mobsf\StaticAnalyzer\views\common\pdf.py", line 135, in pdf
    pdf_dat = pdfkit.from_string(html, False, options=options)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\wilso\AppData\Local\pypoetry\Cache\virtualenvs\mobsf-OyF5aUZS-py3.11\Lib\site-packages\pdfkit\api.py", line 72, in from_string
    r = PDFKit(input, 'string', options=options, toc=toc, cover=cover, css=css,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\wilso\AppData\Local\pypoetry\Cache\virtualenvs\mobsf-OyF5aUZS-py3.11\Lib\site-packages\pdfkit\pdfkit.py", line 45, in __init__
    self.configuration = (Configuration() if configuration is None
                          ^^^^^^^^^^^^^^^
  File "C:\Users\wilso\AppData\Local\pypoetry\Cache\virtualenvs\mobsf-OyF5aUZS-py3.11\Lib\site-packages\pdfkit\configuration.py", line 38, in __init__
    raise IOError('No wkhtmltopdf executable found: "%s"\n'
OSError: No wkhtmltopdf executable found: "b''"
If this file exists please check that this process can read it or you can pass path to it manually in method call, check README. Otherwise please install wkhtmltopdf - https://github.com/JazzCore/python-pdfkit/wiki/Installing-wkhtmltopdf
[ERROR] 02/Oct/2023 10:32:21 - Internal Server Error: /pdf/
[INFO] 02/Oct/2023 10:34:57 - 
  __  __       _    ____  _____       _____ _____ 
 |  \/  | ___ | |__/ ___||  ___|_   _|___ /|___  |
 | |\/| |/ _ \| '_ \___ \| |_  \ \ / / |_ \   / / 
 | |  | | (_) | |_) |__) |  _|  \ V / ___) | / /  
 |_|  |_|\___/|_.__/____/|_|     \_/ |____(_)_/   

[INFO] 02/Oct/2023 10:34:57 - Mobile Security Framework v3.7.6 Beta
[INFO] 02/Oct/2023 10:34:57 - OS: Windows
[INFO] 02/Oct/2023 10:34:57 - Platform: Windows-10-10.0.22621-SP0
[INFO] 02/Oct/2023 10:34:57 - MobSF Basic Environment Check
[WARNING] 02/Oct/2023 10:34:58 - Dynamic Analysis related functions will not work. 
Make sure a Genymotion Android VM/Android Studio Emulator is running before performing Dynamic Analysis.
[INFO] 02/Oct/2023 10:34:58 - Checking for Update.
[INFO] 02/Oct/2023 10:34:58 - No updates available.
[INFO] 02/Oct/2023 10:35:01 - Fetching data from DB for PDF Report Generation (Android)
[INFO] 02/Oct/2023 10:35:01 - Analysis is already Done. Fetching data from the DB...
[INFO] 02/Oct/2023 10:35:03 - Analysis is already Done. Fetching data from the DB...
[INFO] 02/Oct/2023 10:35:05 - Generating PDF report for android apk
[INFO] 02/Oct/2023 11:37:10 - Scan Hash: 141db596f43e04be93b449a792bab7a2
[INFO] 02/Oct/2023 11:37:10 - Starting Analysis on: com.talkingparents.tpandroid.581.apk
[INFO] 02/Oct/2023 11:37:10 - Analysis is already Done. Fetching data from the DB...
[INFO] 02/Oct/2023 11:37:32 - View Java Source File
[INFO] 03/Oct/2023 14:22:36 - 
  __  __       _    ____  _____       _____ _____ 
 |  \/  | ___ | |__/ ___||  ___|_   _|___ /|___  |
 | |\/| |/ _ \| '_ \___ \| |_  \ \ / / |_ \   / / 
 | |  | | (_) | |_) |__) |  _|  \ V / ___) | / /  
 |_|  |_|\___/|_.__/____/|_|     \_/ |____(_)_/   

[INFO] 03/Oct/2023 14:22:36 - Mobile Security Framework v3.7.6 Beta
[INFO] 03/Oct/2023 14:22:36 - OS: Windows
[INFO] 03/Oct/2023 14:22:36 - Platform: Windows-10-10.0.22621-SP0
[INFO] 03/Oct/2023 14:22:36 - MobSF Basic Environment Check
[INFO] 03/Oct/2023 14:22:37 - Checking for Update.
[INFO] 03/Oct/2023 14:22:37 - No updates available.
[INFO] 03/Oct/2023 14:22:39 - Connecting to Android emulator-5554
[INFO] 03/Oct/2023 14:22:41 - Waiting for 2 seconds...
[INFO] 03/Oct/2023 14:22:50 - Creating Dynamic Analysis Environment for com.talkingparents.tpandroid
[INFO] 03/Oct/2023 14:22:53 - ADB Restarted
[INFO] 03/Oct/2023 14:22:53 - Waiting for 2 seconds...
[INFO] 03/Oct/2023 14:22:55 - Connecting to Android emulator-5554
[INFO] 03/Oct/2023 14:22:58 - Waiting for 2 seconds...
[INFO] 03/Oct/2023 14:23:00 - Restarting ADB Daemon as root
[INFO] 03/Oct/2023 14:23:00 - Waiting for 2 seconds...
[INFO] 03/Oct/2023 14:23:02 - Reconnecting to Android Device
[INFO] 03/Oct/2023 14:23:05 - Waiting for 2 seconds...
[INFO] 03/Oct/2023 14:23:07 - Found Android Studio Emulator
[INFO] 03/Oct/2023 14:23:07 - Remounting
[ERROR] 03/Oct/2023 14:23:07 - Error Running ADB Command
Traceback (most recent call last):
  File "C:\Users\wilso\Mobile-Security-Framework-MobSF\mobsf\DynamicAnalyzer\views\android\environment.py", line 167, in adb_command
    result = subprocess.check_output(
             ^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python311\Lib\subprocess.py", line 466, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python311\Lib\subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['C:\\Users\\wilso\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe', '-s', 'emulator-5554', 'remount']' returned non-zero exit status 10.
[INFO] 03/Oct/2023 14:23:07 - Performing System check
[INFO] 03/Oct/2023 14:23:08 - Android API Level identified as 33
[ERROR] 03/Oct/2023 14:23:08 - This API Level is not supported for Dynamic Analysis.
[ERROR] 03/Oct/2023 14:23:08 - Cannot Connect to emulator-5554
[ERROR] 03/Oct/2023 14:23:08 - Internal Server Error: /android_dynamic/141db596f43e04be93b449a792bab7a2
[INFO] 03/Oct/2023 14:23:12 - Connecting to Android emulator-5554
[INFO] 03/Oct/2023 14:23:14 - Waiting for 2 seconds...
[INFO] 03/Oct/2023 14:23:15 - Connecting to Android emulator-5554
[INFO] 03/Oct/2023 14:23:18 - Waiting for 2 seconds...
[INFO] 03/Oct/2023 14:23:28 - MobSFying Android instance
[INFO] 03/Oct/2023 14:23:31 - ADB Restarted
[INFO] 03/Oct/2023 14:23:31 - Waiting for 2 seconds...
[INFO] 03/Oct/2023 14:23:33 - Connecting to Android emulator-5554
[INFO] 03/Oct/2023 14:23:36 - Waiting for 2 seconds...
[INFO] 03/Oct/2023 14:23:38 - Restarting ADB Daemon as root
[INFO] 03/Oct/2023 14:23:38 - Waiting for 2 seconds...
[INFO] 03/Oct/2023 14:23:40 - Reconnecting to Android Device
[INFO] 03/Oct/2023 14:23:43 - Waiting for 2 seconds...
[INFO] 03/Oct/2023 14:23:45 - Found Android Studio Emulator
[INFO] 03/Oct/2023 14:23:45 - Remounting
[ERROR] 03/Oct/2023 14:23:45 - Error Running ADB Command
Traceback (most recent call last):
  File "C:\Users\wilso\Mobile-Security-Framework-MobSF\mobsf\DynamicAnalyzer\views\android\environment.py", line 167, in adb_command
    result = subprocess.check_output(
             ^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python311\Lib\subprocess.py", line 466, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python311\Lib\subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['C:\\Users\\wilso\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe', '-s', 'emulator-5554', 'remount']' returned non-zero exit status 10.
[INFO] 03/Oct/2023 14:23:45 - Performing System check
[INFO] 03/Oct/2023 14:23:45 - Android API Level identified as 33
[ERROR] 03/Oct/2023 14:23:45 - This API Level is not supported for Dynamic Analysis.
[INFO] 03/Oct/2023 18:02:25 - Connecting to Android emulator-5554
[INFO] 03/Oct/2023 18:02:28 - Waiting for 2 seconds...
[INFO] 03/Oct/2023 18:02:36 - MobSFying Android instance
[INFO] 03/Oct/2023 18:02:38 - ADB Restarted
[INFO] 03/Oct/2023 18:02:38 - Waiting for 2 seconds...
[INFO] 03/Oct/2023 18:02:40 - Connecting to Android emulator-5554
[INFO] 03/Oct/2023 18:02:44 - Waiting for 2 seconds...
[INFO] 03/Oct/2023 18:02:46 - Restarting ADB Daemon as root
[INFO] 03/Oct/2023 18:02:46 - Waiting for 2 seconds...
[INFO] 03/Oct/2023 18:02:48 - Reconnecting to Android Device
[INFO] 03/Oct/2023 18:02:50 - Waiting for 2 seconds...
[ERROR] 03/Oct/2023 18:02:52 - Error Running ADB Command
Traceback (most recent call last):
  File "C:\Users\wilso\Mobile-Security-Framework-MobSF\mobsf\DynamicAnalyzer\views\android\environment.py", line 167, in adb_command
    result = subprocess.check_output(
             ^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python311\Lib\subprocess.py", line 466, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python311\Lib\subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['C:\\Users\\wilso\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe', '-s', 'emulator-5554', 'shell', 'getprop', 'ro.boot.serialno']' returned non-zero exit status 1.
[ERROR] 03/Oct/2023 18:02:52 - Error Running ADB Command
Traceback (most recent call last):
  File "C:\Users\wilso\Mobile-Security-Framework-MobSF\mobsf\DynamicAnalyzer\views\android\environment.py", line 167, in adb_command
    result = subprocess.check_output(
             ^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python311\Lib\subprocess.py", line 466, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python311\Lib\subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['C:\\Users\\wilso\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe', '-s', 'emulator-5554', 'shell', 'getprop', 'ro.serialno']' returned non-zero exit status 1.
[ERROR] 03/Oct/2023 18:02:52 - MobSFying Android instance failed
Traceback (most recent call last):
  File "C:\Users\wilso\Mobile-Security-Framework-MobSF\mobsf\DynamicAnalyzer\views\android\operations.py", line 98, in mobsfy
    if not create_env.connect_n_mount():
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\wilso\Mobile-Security-Framework-MobSF\mobsf\DynamicAnalyzer\views\android\environment.py", line 107, in connect_n_mount
    runtime = self.get_environment()
              ^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\wilso\Mobile-Security-Framework-MobSF\mobsf\DynamicAnalyzer\views\android\environment.py", line 376, in get_environment
    out += self.adb_command(['getprop',
TypeError: unsupported operand type(s) for +=: 'NoneType' and 'NoneType'
[INFO] 03/Oct/2023 18:03:16 - 
  __  __       _    ____  _____       _____ _____ 
 |  \/  | ___ | |__/ ___||  ___|_   _|___ /|___  |
 | |\/| |/ _ \| '_ \___ \| |_  \ \ / / |_ \   / / 
 | |  | | (_) | |_) |__) |  _|  \ V / ___) | / /  
 |_|  |_|\___/|_.__/____/|_|     \_/ |____(_)_/   

[INFO] 03/Oct/2023 18:03:16 - Mobile Security Framework v3.7.6 Beta
[INFO] 03/Oct/2023 18:03:16 - OS: Windows
[INFO] 03/Oct/2023 18:03:16 - Platform: Windows-10-10.0.22621-SP0
[INFO] 03/Oct/2023 18:03:16 - MobSF Basic Environment Check
[INFO] 03/Oct/2023 18:03:17 - Connecting to Android emulator-5554
[INFO] 03/Oct/2023 18:03:17 - Checking for Update.
[INFO] 03/Oct/2023 18:03:17 - No updates available.
[INFO] 03/Oct/2023 18:03:20 - Waiting for 2 seconds...
[INFO] 03/Oct/2023 18:03:27 - MobSFying Android instance
[INFO] 03/Oct/2023 18:03:29 - ADB Restarted
[INFO] 03/Oct/2023 18:03:29 - Waiting for 2 seconds...
[INFO] 03/Oct/2023 18:03:31 - Connecting to Android emulator-5554
[INFO] 03/Oct/2023 18:03:35 - Waiting for 2 seconds...
[INFO] 03/Oct/2023 18:03:37 - Restarting ADB Daemon as root
[INFO] 03/Oct/2023 18:03:37 - Waiting for 2 seconds...
[INFO] 03/Oct/2023 18:03:39 - Reconnecting to Android Device
[INFO] 03/Oct/2023 18:03:42 - Waiting for 2 seconds...
[INFO] 03/Oct/2023 18:03:44 - Found Android Studio Emulator
[INFO] 03/Oct/2023 18:03:44 - Remounting
[INFO] 03/Oct/2023 18:03:44 - Performing System check
[INFO] 03/Oct/2023 18:03:44 - Android API Level identified as 28
[ERROR] 03/Oct/2023 18:03:44 - VM's /system is not writable. This VM cannot be used for Dynamic Analysis.
[ERROR] 03/Oct/2023 18:03:44 - Please start the AVD as per MobSF documentation!
[INFO] 03/Oct/2023 18:06:57 - Connecting to Android emulator-5554
[INFO] 03/Oct/2023 18:06:59 - Waiting for 2 seconds...
[INFO] 03/Oct/2023 18:07:05 - MobSFying Android instance
[INFO] 03/Oct/2023 18:07:08 - ADB Restarted
[INFO] 03/Oct/2023 18:07:08 - Waiting for 2 seconds...
[INFO] 03/Oct/2023 18:07:10 - Connecting to Android emulator-5554
[INFO] 03/Oct/2023 18:07:13 - Waiting for 2 seconds...
[INFO] 03/Oct/2023 18:07:15 - Restarting ADB Daemon as root
[INFO] 03/Oct/2023 18:07:15 - Waiting for 2 seconds...
[INFO] 03/Oct/2023 18:07:17 - Reconnecting to Android Device
[INFO] 03/Oct/2023 18:07:20 - Waiting for 2 seconds...
[ERROR] 03/Oct/2023 18:07:22 - Error Running ADB Command
Traceback (most recent call last):
  File "C:\Users\wilso\Mobile-Security-Framework-MobSF\mobsf\DynamicAnalyzer\views\android\environment.py", line 167, in adb_command
    result = subprocess.check_output(
             ^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python311\Lib\subprocess.py", line 466, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python311\Lib\subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['C:\\Users\\wilso\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe', '-s', 'emulator-5554', 'shell', 'getprop', 'ro.boot.serialno']' returned non-zero exit status 1.
[ERROR] 03/Oct/2023 18:07:22 - Error Running ADB Command
Traceback (most recent call last):
  File "C:\Users\wilso\Mobile-Security-Framework-MobSF\mobsf\DynamicAnalyzer\views\android\environment.py", line 167, in adb_command
    result = subprocess.check_output(
             ^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python311\Lib\subprocess.py", line 466, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python311\Lib\subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['C:\\Users\\wilso\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe', '-s', 'emulator-5554', 'shell', 'getprop', 'ro.serialno']' returned non-zero exit status 1.
[ERROR] 03/Oct/2023 18:07:22 - MobSFying Android instance failed
Traceback (most recent call last):
  File "C:\Users\wilso\Mobile-Security-Framework-MobSF\mobsf\DynamicAnalyzer\views\android\operations.py", line 98, in mobsfy
    if not create_env.connect_n_mount():
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\wilso\Mobile-Security-Framework-MobSF\mobsf\DynamicAnalyzer\views\android\environment.py", line 107, in connect_n_mount
    runtime = self.get_environment()
              ^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\wilso\Mobile-Security-Framework-MobSF\mobsf\DynamicAnalyzer\views\android\environment.py", line 376, in get_environment
    out += self.adb_command(['getprop',
TypeError: unsupported operand type(s) for +=: 'NoneType' and 'NoneType'
[ERROR] 03/Oct/2023 18:07:38 - Is your Android VM/emulator running? MobSF cannot find the android device identifier. Please run an android instance and refresh this page. If this error persists, set ANALYZER_IDENTIFIER in C:\Users\wilso\.MobSF\config.py or via environment variable MOBSF_ANALYZER_IDENTIFIER
[INFO] 03/Oct/2023 18:07:43 - Connecting to Android emulator-5554
[INFO] 03/Oct/2023 18:07:46 - Waiting for 2 seconds...
[INFO] 03/Oct/2023 18:07:51 - MobSFying Android instance
[INFO] 03/Oct/2023 18:07:54 - ADB Restarted
[INFO] 03/Oct/2023 18:07:54 - Waiting for 2 seconds...
[INFO] 03/Oct/2023 18:07:56 - Connecting to Android emulator-5554
[INFO] 03/Oct/2023 18:07:59 - Waiting for 2 seconds...
[INFO] 03/Oct/2023 18:08:01 - Restarting ADB Daemon as root
[INFO] 03/Oct/2023 18:08:01 - Waiting for 2 seconds...
[INFO] 03/Oct/2023 18:08:03 - Reconnecting to Android Device
[INFO] 03/Oct/2023 18:08:06 - Waiting for 2 seconds...
[INFO] 03/Oct/2023 18:08:08 - Found Android Studio Emulator
[INFO] 03/Oct/2023 18:08:08 - Remounting
[INFO] 03/Oct/2023 18:08:08 - Performing System check
[INFO] 03/Oct/2023 18:08:08 - Android API Level identified as 28
[INFO] 03/Oct/2023 18:08:08 - Android Version identified as 9.0
[INFO] 03/Oct/2023 18:08:08 - Android OS architecture identified as x86_64
[INFO] 03/Oct/2023 18:08:09 - Downloading binary frida-server-15.2.2-android-x86_64
[INFO] 03/Oct/2023 18:08:17 - Copying frida server for x86_64
[WARNING] 03/Oct/2023 18:08:29 - mitmproxy root CA is not generated yet.
[INFO] 03/Oct/2023 18:08:29 - Installing MobSF Clipboard Dumper
[INFO] 03/Oct/2023 18:08:37 - MobSFying Completed!
[INFO] 03/Oct/2023 18:08:47 - Creating Dynamic Analysis Environment for com.talkingparents.tpandroid
[INFO] 03/Oct/2023 18:08:49 - ADB Restarted
[INFO] 03/Oct/2023 18:08:49 - Waiting for 2 seconds...
[INFO] 03/Oct/2023 18:08:51 - Connecting to Android emulator-5554
[INFO] 03/Oct/2023 18:08:55 - Waiting for 2 seconds...
[INFO] 03/Oct/2023 18:08:57 - Restarting ADB Daemon as root
[INFO] 03/Oct/2023 18:08:57 - Waiting for 2 seconds...
[INFO] 03/Oct/2023 18:08:59 - Reconnecting to Android Device
[INFO] 03/Oct/2023 18:09:01 - Waiting for 2 seconds...
[INFO] 03/Oct/2023 18:09:04 - Found Android Studio Emulator
[INFO] 03/Oct/2023 18:09:04 - Remounting
[INFO] 03/Oct/2023 18:09:04 - Performing System check
[INFO] 03/Oct/2023 18:09:04 - Android API Level identified as 28
[INFO] 03/Oct/2023 18:09:04 - Android Version identified as 9.0
[INFO] 03/Oct/2023 18:09:04 - Environment MobSFyed Check
[INFO] 03/Oct/2023 18:09:04 - Installing MobSF RootCA
[INFO] 03/Oct/2023 18:09:04 - Starting HTTPs Proxy on 1337
[INFO] 03/Oct/2023 18:09:06 - Killing httptools UI
[INFO] 03/Oct/2023 18:09:08 - Killing httptools Proxy
[INFO] 03/Oct/2023 18:09:08 - Enabling ADB Reverse TCP on 1337
[INFO] 03/Oct/2023 18:09:08 - Setting Global Proxy for Android VM
[INFO] 03/Oct/2023 18:09:08 - Starting Clipboard Monitor
[INFO] 03/Oct/2023 18:09:08 - Getting screen resolution
[INFO] 03/Oct/2023 18:09:08 - Installing APK - com.talkingparents.tpandroid
[INFO] 03/Oct/2023 18:09:29 - Testing Environment is Ready!
[INFO] 03/Oct/2023 18:09:54 - Starting Instrumentation
[INFO] 03/Oct/2023 18:09:54 - Starting Frida Server
[INFO] 03/Oct/2023 18:09:54 - Waiting for 2 seconds...
[INFO] 03/Oct/2023 18:09:55 - Starting Instrumentation
[INFO] 03/Oct/2023 18:09:56 - Frida Server is already running
[INFO] 03/Oct/2023 18:09:57 - Spawning com.talkingparents.tpandroid
[DEBUG] 03/Oct/2023 18:10:00 - [Frida] Loaded Frida Script - api_monitor
[DEBUG] 03/Oct/2023 18:10:00 - [Frida] Loaded Frida Script - debugger_check_bypass
[DEBUG] 03/Oct/2023 18:10:00 - [Frida] Loaded Frida Script - root_bypass
[DEBUG] 03/Oct/2023 18:10:00 - [Frida] Loaded Frida Script - ssl_pinning_bypass
[DEBUG] 03/Oct/2023 18:10:00 - [Frida] [API Monitor] Cannot find com.android.okhttp.internal.http.HttpURLConnectionImpl.getInputStream
[DEBUG] 03/Oct/2023 18:10:00 - [Frida] [SSL Pinning Bypass] okhttp CertificatePinner not found
[DEBUG] 03/Oct/2023 18:10:00 - [Frida] [SSL Pinning Bypass] DataTheorem trustkit not found
[DEBUG] 03/Oct/2023 18:10:00 - [Frida] [SSL Pinning Bypass] Appcelerator PinningTrustManager not found
[DEBUG] 03/Oct/2023 18:10:00 - [Frida] [SSL Pinning Bypass] Apache Cordova SSLCertificateChecker not found
[DEBUG] 03/Oct/2023 18:10:00 - [Frida] [SSL Pinning Bypass] Wultra CertStore.validateFingerprint not found
[DEBUG] 03/Oct/2023 18:10:01 - [Frida] [SSL Pinning Bypass] Xutils not found
[DEBUG] 03/Oct/2023 18:10:01 - [Frida] [SSL Pinning Bypass] httpclientandroidlib not found
[DEBUG] 03/Oct/2023 18:10:01 - [Frida] [SSL Pinning Bypass] Cronet not found
[DEBUG] 03/Oct/2023 18:10:01 - [Frida] [SSL Pinning Bypass] certificatetransparency.CTInterceptorBuilder not found
[INFO] 04/Oct/2023 14:17:54 - 
  __  __       _    ____  _____       _____ _____ 
 |  \/  | ___ | |__/ ___||  ___|_   _|___ /|___  |
 | |\/| |/ _ \| '_ \___ \| |_  \ \ / / |_ \   / / 
 | |  | | (_) | |_) |__) |  _|  \ V / ___) | / /  
 |_|  |_|\___/|_.__/____/|_|     \_/ |____(_)_/   

[INFO] 04/Oct/2023 14:17:54 - Mobile Security Framework v3.7.6 Beta
[INFO] 04/Oct/2023 14:17:54 - OS: Windows
[INFO] 04/Oct/2023 14:17:54 - Platform: Windows-10-10.0.22621-SP0
[INFO] 04/Oct/2023 14:17:54 - MobSF Basic Environment Check
[INFO] 04/Oct/2023 14:17:55 - Checking for Update.
[INFO] 04/Oct/2023 14:17:55 - No updates available.
[INFO] 04/Oct/2023 14:19:21 - Scan Hash: 141db596f43e04be93b449a792bab7a2
[INFO] 04/Oct/2023 14:19:21 - Starting Analysis on: com.talkingparents.tpandroid.581.apk
[INFO] 04/Oct/2023 14:19:22 - Analysis is already Done. Fetching data from the DB...
[INFO] 04/Oct/2023 14:21:34 - View Java Source File
[INFO] 04/Oct/2023 14:22:00 - View Java Source File
[INFO] 04/Oct/2023 14:22:38 - View Java Source File
[INFO] 04/Oct/2023 14:24:20 - View Java Source File
[INFO] 04/Oct/2023 14:25:55 - View Java Source File
[INFO] 04/Oct/2023 14:36:11 - Fetching data from DB for PDF Report Generation (Android)
[INFO] 04/Oct/2023 14:36:11 - Analysis is already Done. Fetching data from the DB...
[INFO] 04/Oct/2023 14:36:14 - Analysis is already Done. Fetching data from the DB...
[INFO] 04/Oct/2023 14:36:17 - Generating PDF report for android apk
[WARNING] 04/Oct/2023 14:36:20 - Not Found: /favicon.ico
[INFO] 17/Oct/2023 17:26:47 - 
  __  __       _    ____  _____       _____ _____ 
 |  \/  | ___ | |__/ ___||  ___|_   _|___ /|___  |
 | |\/| |/ _ \| '_ \___ \| |_  \ \ / / |_ \   / / 
 | |  | | (_) | |_) |__) |  _|  \ V / ___) | / /  
 |_|  |_|\___/|_.__/____/|_|     \_/ |____(_)_/   

[INFO] 17/Oct/2023 17:26:47 - Mobile Security Framework v3.7.6 Beta
[INFO] 17/Oct/2023 17:26:47 - OS: Windows
[INFO] 17/Oct/2023 17:26:47 - Platform: Windows-10-10.0.22621-SP0
[INFO] 17/Oct/2023 17:26:47 - MobSF Basic Environment Check
[WARNING] 17/Oct/2023 17:26:48 - Dynamic Analysis related functions will not work. 
Make sure a Genymotion Android VM/Android Studio Emulator is running before performing Dynamic Analysis.
[INFO] 17/Oct/2023 17:26:48 - Checking for Update.
[INFO] 17/Oct/2023 17:26:48 - No updates available.
[INFO] 17/Oct/2023 17:26:53 - Scan Hash: 141db596f43e04be93b449a792bab7a2
[INFO] 17/Oct/2023 17:26:53 - Starting Analysis on: com.talkingparents.tpandroid.581.apk
[INFO] 17/Oct/2023 17:26:53 - Analysis is already Done. Fetching data from the DB...
[INFO] 29/Nov/2023 16:30:46 - 
  __  __       _    ____  _____       _____ _____ 
 |  \/  | ___ | |__/ ___||  ___|_   _|___ /|___  |
 | |\/| |/ _ \| '_ \___ \| |_  \ \ / / |_ \   / / 
 | |  | | (_) | |_) |__) |  _|  \ V / ___) | / /  
 |_|  |_|\___/|_.__/____/|_|     \_/ |____(_)_/   

[INFO] 29/Nov/2023 16:30:46 - Mobile Security Framework v3.7.6 Beta
[INFO] 29/Nov/2023 16:30:46 - OS: Windows
[INFO] 29/Nov/2023 16:30:46 - Platform: Windows-10-10.0.22621-SP0
[INFO] 29/Nov/2023 16:30:46 - MobSF Basic Environment Check
[INFO] 29/Nov/2023 16:30:47 - Checking for Update.
[INFO] 29/Nov/2023 16:30:47 - No updates available.
[INFO] 29/Nov/2023 16:31:05 - MIME Type: application/vnd.android.package-archive FILE: base.apk
[INFO] 29/Nov/2023 16:31:06 - Performing Static Analysis of Android APK
[INFO] 29/Nov/2023 16:31:06 - Scan Hash: 5125cb256e8e7590003103b56d00eb03
[INFO] 29/Nov/2023 16:31:06 - Starting Analysis on: base.apk
[INFO] 29/Nov/2023 16:31:06 - Generating Hashes
[INFO] 29/Nov/2023 16:31:06 - Unzipping
[INFO] 29/Nov/2023 16:31:08 - APK Extracted
[INFO] 29/Nov/2023 16:31:08 - Getting Hardcoded Certificates/Keystores
[INFO] 29/Nov/2023 16:31:08 - Getting AndroidManifest.xml from APK
[INFO] 29/Nov/2023 16:31:08 - Converting AXML to XML
[INFO] 29/Nov/2023 16:31:12 - Parsing AndroidManifest.xml
[INFO] 29/Nov/2023 16:31:12 - Parsing APK with androguard
[INFO] 29/Nov/2023 16:31:12 - Fetching icon path
[INFO] 29/Nov/2023 16:31:12 - Extracting Manifest Data
[INFO] 29/Nov/2023 16:31:12 - Fetching Details from Play Store: com.drivepeasy.peasy
[INFO] 29/Nov/2023 16:31:13 - Manifest Analysis Started
[INFO] 29/Nov/2023 16:31:13 - Reading Network Security Config
[INFO] 29/Nov/2023 16:31:13 - Parsing Network Security Config
[INFO] 29/Nov/2023 16:31:13 - Library Binary Analysis Started
[INFO] 29/Nov/2023 16:31:13 - Analyzing lib/arm64-v8a/libcardioDecider.so
[INFO] 29/Nov/2023 16:31:13 - Analyzing lib/arm64-v8a/libcardioRecognizer.so
[INFO] 29/Nov/2023 16:31:13 - Analyzing lib/arm64-v8a/libcardioRecognizer_tegra2.so
[INFO] 29/Nov/2023 16:31:13 - Analyzing lib/arm64-v8a/libmono-btls-shared.so
[INFO] 29/Nov/2023 16:31:21 - Analyzing lib/arm64-v8a/libmono-native.so
[INFO] 29/Nov/2023 16:31:21 - Analyzing lib/arm64-v8a/libmonodroid.so
[INFO] 29/Nov/2023 16:31:23 - Analyzing lib/arm64-v8a/libmonodroid_bundle_app.so
[INFO] 29/Nov/2023 16:31:24 - Analyzing lib/arm64-v8a/libmonosgen-2.0.so
[INFO] 29/Nov/2023 16:31:34 - Analyzing lib/arm64-v8a/libopencv_core.so
[INFO] 29/Nov/2023 16:31:37 - Analyzing lib/arm64-v8a/libopencv_imgproc.so
[INFO] 29/Nov/2023 16:31:39 - Analyzing lib/arm64-v8a/libSkiaSharp.so
[INFO] 29/Nov/2023 16:31:41 - Analyzing lib/arm64-v8a/libxa-internal-api.so
[INFO] 29/Nov/2023 16:31:42 - Analyzing lib/arm64-v8a/libxamarin-app.so
[INFO] 29/Nov/2023 16:31:42 - Analyzing lib/armeabi-v7a/libcardioDecider.so
[INFO] 29/Nov/2023 16:31:42 - Analyzing lib/armeabi-v7a/libcardioRecognizer.so
[INFO] 29/Nov/2023 16:31:42 - Analyzing lib/armeabi-v7a/libcardioRecognizer_tegra2.so
[INFO] 29/Nov/2023 16:31:43 - Analyzing lib/armeabi-v7a/libmono-btls-shared.so
[INFO] 29/Nov/2023 16:31:52 - Analyzing lib/armeabi-v7a/libmono-native.so
[INFO] 29/Nov/2023 16:31:52 - Analyzing lib/armeabi-v7a/libmonodroid.so
[INFO] 29/Nov/2023 16:31:54 - Analyzing lib/armeabi-v7a/libmonodroid_bundle_app.so
[INFO] 29/Nov/2023 16:31:55 - Analyzing lib/armeabi-v7a/libmonosgen-2.0.so
[INFO] 29/Nov/2023 16:32:12 - Analyzing lib/armeabi-v7a/libopencv_core.so
[INFO] 29/Nov/2023 16:32:14 - Analyzing lib/armeabi-v7a/libopencv_imgproc.so
[INFO] 29/Nov/2023 16:32:16 - Analyzing lib/armeabi-v7a/libSkiaSharp.so
[INFO] 29/Nov/2023 16:32:18 - Analyzing lib/armeabi-v7a/libxa-internal-api.so
[INFO] 29/Nov/2023 16:32:19 - Analyzing lib/armeabi-v7a/libxamarin-app.so
[INFO] 29/Nov/2023 16:32:19 - Analyzing lib/arm64-v8a/libcardioDecider.so
[INFO] 29/Nov/2023 16:32:19 - Analyzing lib/arm64-v8a/libcardioRecognizer.so
[INFO] 29/Nov/2023 16:32:19 - Analyzing lib/arm64-v8a/libcardioRecognizer_tegra2.so
[INFO] 29/Nov/2023 16:32:20 - Analyzing lib/arm64-v8a/libmono-btls-shared.so
[INFO] 29/Nov/2023 16:32:26 - Analyzing lib/arm64-v8a/libmono-native.so
[INFO] 29/Nov/2023 16:32:27 - Analyzing lib/arm64-v8a/libmonodroid.so
[INFO] 29/Nov/2023 16:32:28 - Analyzing lib/arm64-v8a/libmonodroid_bundle_app.so
[INFO] 29/Nov/2023 16:32:29 - Analyzing lib/arm64-v8a/libmonosgen-2.0.so
[INFO] 29/Nov/2023 16:32:37 - Analyzing lib/arm64-v8a/libopencv_core.so
[INFO] 29/Nov/2023 16:32:39 - Analyzing lib/arm64-v8a/libopencv_imgproc.so
[INFO] 29/Nov/2023 16:32:41 - Analyzing lib/arm64-v8a/libSkiaSharp.so
[INFO] 29/Nov/2023 16:32:43 - Analyzing lib/arm64-v8a/libxa-internal-api.so
[INFO] 29/Nov/2023 16:32:43 - Analyzing lib/arm64-v8a/libxamarin-app.so
[INFO] 29/Nov/2023 16:32:44 - Analyzing lib/armeabi-v7a/libcardioDecider.so
[INFO] 29/Nov/2023 16:32:44 - Analyzing lib/armeabi-v7a/libcardioRecognizer.so
[INFO] 29/Nov/2023 16:32:44 - Analyzing lib/armeabi-v7a/libcardioRecognizer_tegra2.so
[INFO] 29/Nov/2023 16:32:45 - Analyzing lib/armeabi-v7a/libmono-btls-shared.so
[INFO] 29/Nov/2023 16:32:52 - Analyzing lib/armeabi-v7a/libmono-native.so
[INFO] 29/Nov/2023 16:32:53 - Analyzing lib/armeabi-v7a/libmonodroid.so
[INFO] 29/Nov/2023 16:32:54 - Analyzing lib/armeabi-v7a/libmonodroid_bundle_app.so
[INFO] 29/Nov/2023 16:32:55 - Analyzing lib/armeabi-v7a/libmonosgen-2.0.so
[INFO] 29/Nov/2023 16:33:13 - Analyzing lib/armeabi-v7a/libopencv_core.so
[INFO] 29/Nov/2023 16:33:15 - Analyzing lib/armeabi-v7a/libopencv_imgproc.so
[INFO] 29/Nov/2023 16:33:17 - Analyzing lib/armeabi-v7a/libSkiaSharp.so
[INFO] 29/Nov/2023 16:33:19 - Analyzing lib/armeabi-v7a/libxa-internal-api.so
[INFO] 29/Nov/2023 16:33:19 - Analyzing lib/armeabi-v7a/libxamarin-app.so
[INFO] 29/Nov/2023 16:33:20 - Reading Code Signing Certificate
[INFO] 29/Nov/2023 16:33:20 - Running APKiD 2.1.5
[INFO] 29/Nov/2023 16:33:26 - Trackers Database is up-to-date
[INFO] 29/Nov/2023 16:33:26 - Detecting Trackers
[INFO] 29/Nov/2023 16:33:28 - APK -> JAVA
[INFO] 29/Nov/2023 16:33:28 - Decompiling to Java with jadx
[INFO] 29/Nov/2023 16:34:15 - DEX -> SMALI
[INFO] 29/Nov/2023 16:34:15 - Converting classes.dex to Smali Code
[INFO] 29/Nov/2023 16:34:15 - Code Analysis Started on - java_source
[INFO] 29/Nov/2023 16:34:38 - Running NIAP Analyzer
[INFO] 29/Nov/2023 16:34:52 - Finished Code Analysis, Email and URL Extraction
[INFO] 29/Nov/2023 16:34:52 - Extracting Data from APK
[INFO] 29/Nov/2023 16:34:53 - Extracting Data from Source Code
[INFO] 29/Nov/2023 16:34:56 - Detecting Firebase URL(s)
[INFO] 29/Nov/2023 16:34:56 - Performing Malware Check on extracted Domains
[INFO] 29/Nov/2023 16:34:56 - Maltrail Database is outdated!
[INFO] 29/Nov/2023 16:34:56 - Updating Maltrail Database
[INFO] 29/Nov/2023 16:34:59 - Saving to Database
[INFO] 29/Nov/2023 16:35:00 - Scan Hash: 5125cb256e8e7590003103b56d00eb03
[INFO] 29/Nov/2023 16:35:00 - Starting Analysis on: base.apk
[INFO] 29/Nov/2023 16:35:00 - Analysis is already Done. Fetching data from the DB...
[INFO] 29/Nov/2023 17:09:52 - Fetching data from DB for PDF Report Generation (Android)
[INFO] 29/Nov/2023 17:09:52 - Analysis is already Done. Fetching data from the DB...
[INFO] 29/Nov/2023 17:09:54 - Analysis is already Done. Fetching data from the DB...
[INFO] 29/Nov/2023 17:09:56 - Generating PDF report for android apk
[WARNING] 29/Nov/2023 17:09:58 - Not Found: /favicon.ico
[INFO] 04/Mar/2024 13:26:09 - 
  __  __       _    ____  _____       _____ _____ 
 |  \/  | ___ | |__/ ___||  ___|_   _|___ /|___  |
 | |\/| |/ _ \| '_ \___ \| |_  \ \ / / |_ \   / / 
 | |  | | (_) | |_) |__) |  _|  \ V / ___) | / /  
 |_|  |_|\___/|_.__/____/|_|     \_/ |____(_)_/   

[INFO] 04/Mar/2024 13:26:09 - Mobile Security Framework v3.7.6 Beta
[INFO] 04/Mar/2024 13:26:09 - OS: Windows
[INFO] 04/Mar/2024 13:26:09 - Platform: Windows-10-10.0.22621-SP0
[INFO] 04/Mar/2024 13:26:09 - MobSF Basic Environment Check
[INFO] 04/Mar/2024 13:26:10 - Checking for Update.
[INFO] 04/Mar/2024 13:26:10 - No updates available.
[INFO] 04/Mar/2024 13:26:23 - MIME Type: application/vnd.android.package-archive FILE: base.apk
[INFO] 04/Mar/2024 13:26:23 - Performing Static Analysis of Android APK
[INFO] 04/Mar/2024 13:26:23 - Scan Hash: 8b80f40935a1f60a0ee6061cab32fe5b
[INFO] 04/Mar/2024 13:26:23 - Starting Analysis on: base.apk
[INFO] 04/Mar/2024 13:26:23 - Generating Hashes
[INFO] 04/Mar/2024 13:26:23 - Unzipping
[INFO] 04/Mar/2024 13:26:26 - APK Extracted
[INFO] 04/Mar/2024 13:26:26 - Getting Hardcoded Certificates/Keystores
[INFO] 04/Mar/2024 13:26:26 - Getting AndroidManifest.xml from APK
[INFO] 04/Mar/2024 13:26:26 - Converting AXML to XML
[INFO] 04/Mar/2024 13:26:32 - Parsing AndroidManifest.xml
[INFO] 04/Mar/2024 13:26:32 - Parsing APK with androguard
[INFO] 04/Mar/2024 13:26:32 - Fetching icon path
[INFO] 04/Mar/2024 13:26:32 - Extracting Manifest Data
[INFO] 04/Mar/2024 13:26:32 - Fetching Details from Play Store: com.mercury.bank
[INFO] 04/Mar/2024 13:26:32 - Manifest Analysis Started
[INFO] 04/Mar/2024 13:26:32 - Reading Network Security Config
[INFO] 04/Mar/2024 13:26:32 - Parsing Network Security Config
[INFO] 04/Mar/2024 13:26:32 - Library Binary Analysis Started
[INFO] 04/Mar/2024 13:26:32 - Reading Code Signing Certificate
[INFO] 04/Mar/2024 13:26:32 - Running APKiD 2.1.5
[INFO] 04/Mar/2024 13:26:36 - Trackers Database is outdated!
[INFO] 04/Mar/2024 13:26:36 - Updating Trackers Database....
[INFO] 04/Mar/2024 13:26:36 - Detecting Trackers
[INFO] 04/Mar/2024 13:26:40 - APK -> JAVA
[INFO] 04/Mar/2024 13:26:40 - Decompiling to Java with jadx
[INFO] 04/Mar/2024 13:27:11 - DEX -> SMALI
[INFO] 04/Mar/2024 13:27:11 - Converting classes.dex to Smali Code
[INFO] 04/Mar/2024 13:27:11 - Converting classes2.dex to Smali Code
[INFO] 04/Mar/2024 13:27:11 - Converting classes3.dex to Smali Code
[INFO] 04/Mar/2024 13:27:11 - Converting classes4.dex to Smali Code
[INFO] 04/Mar/2024 13:27:11 - Code Analysis Started on - java_source
[INFO] 04/Mar/2024 13:30:29 - Running NIAP Analyzer
[INFO] 04/Mar/2024 13:31:26 - Finished Code Analysis, Email and URL Extraction
[INFO] 04/Mar/2024 13:31:26 - Extracting Data from APK
[INFO] 04/Mar/2024 13:31:26 - Extracting Data from Source Code
[INFO] 04/Mar/2024 13:31:31 - Detecting Firebase URL(s)
[INFO] 04/Mar/2024 13:31:31 - Performing Malware Check on extracted Domains
[INFO] 04/Mar/2024 13:31:31 - Maltrail Database is outdated!
[INFO] 04/Mar/2024 13:31:32 - Updating Maltrail Database
[INFO] 04/Mar/2024 13:31:34 - Saving to Database
[INFO] 04/Mar/2024 13:31:34 - Scan Hash: 8b80f40935a1f60a0ee6061cab32fe5b
[INFO] 04/Mar/2024 13:31:34 - Starting Analysis on: base.apk
[INFO] 04/Mar/2024 13:31:34 - Analysis is already Done. Fetching data from the DB...
[INFO] 04/Mar/2024 14:02:23 - View Java Source File
[INFO] 04/Mar/2024 14:04:26 - View Java Source File
[INFO] 04/Mar/2024 14:09:17 - View Java Source File
[INFO] 05/Mar/2024 09:02:27 - 
  __  __       _    ____  _____       _____ _____ 
 |  \/  | ___ | |__/ ___||  ___|_   _|___ /|___  |
 | |\/| |/ _ \| '_ \___ \| |_  \ \ / / |_ \   / / 
 | |  | | (_) | |_) |__) |  _|  \ V / ___) | / /  
 |_|  |_|\___/|_.__/____/|_|     \_/ |____(_)_/   

[INFO] 05/Mar/2024 09:02:27 - Mobile Security Framework v3.7.6 Beta
[INFO] 05/Mar/2024 09:02:27 - OS: Windows
[INFO] 05/Mar/2024 09:02:27 - Platform: Windows-10-10.0.22621-SP0
[INFO] 05/Mar/2024 09:02:27 - MobSF Basic Environment Check
[WARNING] 05/Mar/2024 09:02:28 - Dynamic Analysis related functions will not work. 
Make sure a Genymotion Android VM/Android Studio Emulator is running before performing Dynamic Analysis.
[INFO] 05/Mar/2024 09:02:28 - Checking for Update.
[INFO] 05/Mar/2024 09:02:28 - No updates available.
[INFO] 05/Mar/2024 09:05:44 - Scan Hash: 8b80f40935a1f60a0ee6061cab32fe5b
[INFO] 05/Mar/2024 09:05:44 - Starting Analysis on: base.apk
[INFO] 05/Mar/2024 09:05:44 - Analysis is already Done. Fetching data from the DB...
[INFO] 05/Mar/2024 09:06:36 - View Java Source File
[WARNING] 05/Mar/2024 10:37:21 - Multiple ADB locations found. Set adb path, ADB_BINARY in C:\Users\wilso\.MobSF\config.py with same adb binary used by Genymotion VM/Emulator AVD.
[WARNING] 05/Mar/2024 10:37:21 - {'C:\\Users\\wilso\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe', 'C:\\platform-tools\\adb.exe'}
[INFO] 05/Mar/2024 10:37:21 - Connecting to Android emulator-5554
[INFO] 05/Mar/2024 10:37:22 - Waiting for 2 seconds...
[INFO] 05/Mar/2024 10:37:25 - Scan Hash: 8b80f40935a1f60a0ee6061cab32fe5b
[INFO] 05/Mar/2024 10:37:25 - Starting Analysis on: base.apk
[INFO] 05/Mar/2024 10:37:25 - Analysis is already Done. Fetching data from the DB...
[INFO] 05/Mar/2024 10:41:56 - View Java Source File
[INFO] 05/Mar/2024 10:42:04 - View Java Source File
github-actions[bot] commented 3 months ago

👋 @wilsonator Issues is only for reporting a bug/feature request. For limited support, questions, and discussions, please join MobSF Slack channel Please include all the requested and relevant information when opening a bug report. Improper reports will be closed without any response.

psyray commented 2 months ago

Port seems open inside the docker docker exec -it mobsf /usr/bin/bash (replace the name by yours if different image

So the problem is that the port is not exposed from external

psyray commented 2 months ago

docker run -it --rm -p 8000:8000 -p 1338:1338 -e MOBSF_ANALYZER_IDENTIFIER=emulator-5554 opensecurity/mobile-security-framework-mobsf:latest

Your command is not good, left side is for port externally exposed that point to right side internal port. So in your case it's 1338:1337

The good one is : docker run -it --rm -p 8000:8000 -p 1338:1337 -e MOBSF_ANALYZER_IDENTIFIER=emulator-5554 opensecurity/mobile-security-framework-mobsf:latest

wilsonator commented 2 months ago

Thank you, this seems to have fixed my issues!