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
18.64k stars 3.36k forks source link

It just doesn't work #2513

Closed arxhive closed 1 month ago

arxhive commented 1 month ago

Docker run of the latest image returns an error:

docker run -it --rm -p 8000:8000 opensecurity/mobile-security-framework-mobsf:latest

 [INFO] 18/Apr/2025 16:29:29 - JADX is already installed at /home/mobsf/.MobSF/tools/jadx/jadx-1.5.0
 [INFO] 18/Apr/2025 16:29:29 - Loading User config from: /home/mobsf/.MobSF/[config.py](https://config.py/)
 rosetta error: Unimplemented syscall number 284
  /home/mobsf/Mobile-Security-Framework-MobSF/scripts/[entrypoint.sh](https://entrypoint.sh/): line 6:     7 Trace/breakpoint trap   python3 [manage.py](https://manage.py/) makemigrations
 [INFO] 18/Apr/2025 16:29:30 - Loading User config from: /home/mobsf/.MobSF/[config.py](https://config.py/)
 rosetta error: Unimplemented syscall number 284
  /home/mobsf/Mobile-Security-Framework-MobSF/scripts/[entrypoint.sh](https://entrypoint.sh/): line 8:     9 Trace/breakpoint trap   python3 [manage.py](https://manage.py/) createsuperuser --noinput --email ""
 [INFO] 18/Apr/2025 16:29:32 - Loading User config from: /home/mobsf/.MobSF/[config.py](https://config.py/)
 rosetta error: Unimplemented syscall number 284
  /home/mobsf/Mobile-Security-Framework-MobSF/scripts/[entrypoint.sh](https://entrypoint.sh/): line 10:    10 Trace/breakpoint trap   python3 [manage.py](https://manage.py/) create_roles

ENVIRONMENT

OS and Version: MacOS Sonoma 14.7.1
Python Version: Dockerfile: python:3.12-slim-bookworm
MobSF Version: v4.3.2
github-actions[bot] commented 1 month ago

👋 @arxhive 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.

ajinabraham commented 1 month ago

Please use slack for support, you are using the wrong linux image on Mac.

arxhive commented 1 month ago

👋 @arxhive 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.

Looks exactly like a bug

Please use slack for support, you are using the wrong linux image on Mac.

You could just kindly add docs for macOS or post a solution in this thread. I couldn't find any other images available on dockerhub and github.

ajinabraham commented 1 month ago

The images are published for both Linux and ARM64 variants https://hub.docker.com/r/opensecurity/mobile-security-framework-mobsf/tags

This should be picked up by docker automatically based on the host architecture. If that is not happening, then there is something wrong at your end.

arxhive commented 1 month ago

Thanks for the guidance, but it seems my image is correct. I also tried to clean and pull with --platform=linux/arm64 but still see the same error.