Comments (4)
This is fixed in latest master branch, but not available in the docker image yet. The docker builds are failing due to pyQT dependency issue for ARM arch. You could build an image locally or use the code from latest master to fix this.
from mobile-security-framework-mobsf.
👋 @RubenPauwelsUniWeb
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.
from mobile-security-framework-mobsf.
This looks like an issue in a third party, androguard
. You might want to report it upstream.
from mobile-security-framework-mobsf.
Test carried out on 03/18/2024
Version: v3.9.5 Beta
Error persists, follow log.
[ERROR] 18/Mar/2024 12:20:48 - res1 must be zero!
[ERROR] 18/Mar/2024 12:20:48 - Internal Server Error: /static_analyzer/9181a2f943285c469eb07916da7f962d/
[INFO] 18/Mar/2024 12:20:48 - Scan Hash: 9181a2f943285c469eb07916da7f962d
[INFO] 18/Mar/2024 12:20:48 - Starting Analysis on: Aplicativo.apk
[INFO] 18/Mar/2024 12:20:48 - Generating Hashes
[INFO] 18/Mar/2024 12:20:48 - Unzipping
[INFO] 18/Mar/2024 12:20:49 - APK Extracted
[INFO] 18/Mar/2024 12:20:49 - Getting Hardcoded Certificates/Keystores
[INFO] 18/Mar/2024 12:20:49 - Getting AndroidManifest.xml from APK
[INFO] 18/Mar/2024 12:20:49 - Parsing AndroidManifest.xml
[INFO] 18/Mar/2024 12:20:49 - Parsing APK with androguard
[ERROR] 18/Mar/2024 12:20:49 - Error Performing Static Analysis
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/androguard/core/bytecodes/apk.py", line 1556, in get_android_resources
return self.arsc["resources.arsc"]
KeyError: 'resources.arsc'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/mobsf/Mobile-Security-Framework-MobSF/mobsf/StaticAnalyzer/views/android/static_analyzer.py", line 199, in static_analyzer
app_dic['real_name'] = get_app_name(
File "/home/mobsf/Mobile-Security-Framework-MobSF/mobsf/StaticAnalyzer/views/android/app.py", line 28, in get_app_name
return a.get_app_name()
File "/usr/local/lib/python3.10/dist-packages/androguard/core/bytecodes/apk.py", line 476, in get_app_name
res_parser = self.get_android_resources()
File "/usr/local/lib/python3.10/dist-packages/androguard/core/bytecodes/apk.py", line 1562, in get_android_resources
self.arsc["resources.arsc"] = ARSCParser(self.zip.read("resources.arsc"))
File "/usr/local/lib/python3.10/dist-packages/androguard/core/bytecodes/axml/init.py", line 1321, in init
self.packages[package_name].append(ARSCResTypeSpec(self.buff, pc))
File "/usr/local/lib/python3.10/dist-packages/androguard/core/bytecodes/axml/init.py", line 2181, in init
raise ResParserError("res1 must be zero!")
androguard.core.bytecodes.axml.ResParserError: res1 must be zero!
[ERROR] 18/Mar/2024 12:20:49 - res1 must be zero!
from mobile-security-framework-mobsf.
Related Issues (20)
- [FEATURE] SHA256 hash after a POST request HOT 5
- Unable to start Dynamic Analysis HOT 5
- [FEATURE]Can support ignoring some detected problems HOT 5
- Dynamic Analysis Failed on MacBook Pro m1 HOT 4
- Recent Scan Bug HOT 3
- Unable to start Dynamic Analysis HOT 1
- ANDROID STATIC ANALYSIS : Preference flagged as world-writable inspite of being package-private HOT 2
- Our Application always shows "App Keeps Stopping" error in Android emulator. HOT 2
- [FEATURE] Integrate apkleaks HOT 2
- Run MobSF through command [FEATURE] HOT 4
- [FEATURE] Support android aab conversion HOT 1
- Login screen in v4.0 MobSF HOT 3
- I've installed but its showing login page. HOT 1
- Missing Python library HOT 1
- How do I reuse the same volume after it is created ? HOT 2
- [BUG] app_icon is missing for iOS-ipa Static scans HOT 2
- V4.0.3 Login Page HOT 2
- Dymanic Analysis Issue MobSF Docker HOT 1
- 请问在哪里注册账号 HOT 1
- Why static code files are not matching with the actual files that I have under .apk file that I am scanning HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mobile-security-framework-mobsf.