Commit Graph
1931 Commits
Author SHA1 Message Date
Ajin Abraham 43bb71d115 [HOTFIX][SECURITY] Fixes an SSRF vulnerability report from positive technologies (#2373)
Address: https://github.com/MobSF/Mobile-Security-Framework-MobSF/security/advisories/GHSA-wpff-wm84-x5cx
2024-04-03 21:47:14 -07:00
ohyeah521andAjin Abraham 6bce5a25b4 Resolve the situation where the function name is bytes (#2367)
fix error:
 if function.name.endswith('_chk'):
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: endswith first arg must be bytes or a tuple of bytes, not str

Co-authored-by: Ajin Abraham <[email protected]>
v3.9.7
2024-03-24 14:56:26 -07:00
Ajin Abraham ccfedc0e45 HOTFIX: Possible SSRF 2024-03-23 19:15:30 -07:00
Ajin.Abraham 8a59d6833d HOTFIX: Build and push docker arm64 and amd64 together 2024-03-22 18:19:17 -07:00
Ajin Abraham 482bda913f Update SECURITY.md 2024-03-22 17:11:10 -07:00
Ajin Abraham 356895c611 Update SECURITY.md (#2365) 2024-03-22 17:10:34 -07:00
Ajin Abraham 3a7d12488c Update SECURITY.md (#2364) 2024-03-22 17:03:04 -07:00
Ajin.Abraham f22c584aa7 Fixes GHSA-m435-9v6r-v5f6 2024-03-22 16:43:43 -07:00
JPSxzy8 7645cee99e Optimize rendering of big lists (#2351)
* Optimize rendering of big lists
* Dynamic rendering in browser to improve ux
Co-authored-by: Ajin Abraham <[email protected]>
2024-03-22 16:37:55 -07:00
Ajin Abraham 5056a7d660 HOTFIX: Remove Androguard dependency use only features required by MobSF (#2363)
This PR strips out androguard and it's dependencies from MobSF.
Extract androguard related functions used by MobSF.
Some dependencies such as pyQt5 from apkinspector is breaking the ARM64 docker image.
This should address that issue.
In future, we will have to copy over any fixes to axml, apk, public, types from androguard and ZipEntry from apkinspector. 
We won't be adding linting to these files. The extracted functions will be considered as an external tool.
2024-03-22 15:30:05 -07:00
Ajin Abraham 4417da03ba poetry pyqt5 fixes (#2362)
* poetry pyqt5 fixes

* QA

* fix

* Cert analysis qa

* QA

* pin pyqt5
2024-03-22 13:52:04 -07:00
Ajin.Abraham 5a8eeee73c HOTFIX:[SECURITY] Fix GHSA-wfgj-wrgh-h3r3, dep bump, docker build qa 2024-03-22 11:49:27 -07:00
Ajin Abraham 34473d3dac HOTFIX: Individual image publish 2024-03-19 17:31:05 -07:00
Ajin Abraham d4e67866e4 Fix #2349 2024-03-18 18:28:11 -07:00
Ajin.Abraham 18931bc799 HOTFIX: androguard bump 2024-03-14 17:36:20 -07:00
Ajin.Abraham a5338ee682 HOTFIX: Bump androguard + remove quark 2024-03-13 00:57:54 -07:00
Ajin.Abraham 641f4430bc HOTFIX: target sdk bug 2024-03-09 13:19:05 -08:00
Ajin.Abraham 5c351b2314 Fix #2343 2024-03-09 12:55:07 -08:00
Ajin.Abraham 1e932050fc HOTFIX: Bump deps + expose Corellium stop app api 2024-03-06 18:55:42 -08:00
Ajin.Abraham bfd8bc2df5 HOTFIX: Frida Logs API response code + Dependency bump 2024-03-05 17:09:17 -08:00
Ajin.Abraham f20ee08a68 Add name support in ui 2024-02-29 12:43:53 -08:00
Ajin.Abraham f62f1d0fd1 Add name parameter to create vm 2024-02-29 12:32:38 -08:00
JJandAjin Abraham 6ac8685977 MOBSF_CORELLIUM_API_DOMAIN Update (#2347)
* MOBSF_CORELLIUM_API_DOMAIN Update

Set the default of `MOBSF_CORELLIUM_API_DOMAIN` to `https://app.corellium.com` was it was not being picked up properly in `dynamic_analyzer.py` for iOS

* Update corellium_apis.py

* Update settings.py

---------

Co-authored-by: Ajin Abraham <[email protected]>
2024-02-27 14:01:08 -08:00
Ajin.Abraham e8eacc26ec HOTFIX: Bump deps + ELF strings check fix 2024-02-24 11:15:20 -08:00
Ajin.Abraham 887a12c27f HOTFIX: Injected code overwrite revert 2024-02-09 19:19:37 -08:00
Ajin.Abraham 435274fd02 HOTFIX: Dependency bump 2024-02-09 18:47:23 -08:00
Ajin Abraham 29df4f2f03 Runtime Exec Tampering Detection, iOS Dynamic REST APIs, Datatables Export (#2339)
* Runtime Executable Tampering Detection

* Add security.py

* Code QA Performance

* Code QA Runtime EXEC tampering detection

* Corellium API QA + Domain support

* REST API Docs + Datatables export
2024-02-09 18:42:00 -08:00
superpoussin22 0a69464576 Fix Arbitrary file writes on Windows (#2328) 2024-01-24 09:00:04 -08:00
ohyeah521andAjin Abraham 36d6880030 Filter out invalid links (#2322)
* Filter out invalid links

[ERROR] 2024-01-10 10:28:29 - Well Known Assetlinks Check for URL: http://*/.well-known/assetlinks.json
Traceback (most recent call last):
 
requests.exceptions.InvalidURL: URL has an invalid label.

* Update manifest_analysis.py

---------

Co-authored-by: Ajin Abraham <[email protected]>
2024-01-13 20:11:15 -08:00
Ajin Abraham da7d1eec09 [HOTFIX][SECURITY] Fix an LFI, DSA Pub Key parsing bug and dependencies (#2326)
* [SECURITY] Fixes an LFI reported by @0x33c0unt - A crafted APK resource with icon name containing arbitrary path will get copied by MobSF as the icon file to the download directory which is available under `/download/` route. Fixed by https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/a58f8a8c0aa49e1581d97e19e8e2255ca96cd838
* Fixes #2324 , Bug in parsing DSA Public Key parameters for fingerprint calculation.
* Update dependencies
2024-01-13 20:00:46 -08:00
Ajin Abraham e67ceeba82 Update SECURITY.md (#2323)
updated security policy
2024-01-10 22:36:51 -08:00
Ajin Abraham b6287be97a GPT Goodness (#2318)
* QA
* Version Bump
2024-01-10 22:07:21 -08:00
ohyeah521andAjin Abraham 6439ecdea5 Using multithreading to improve code efficiency (#2319)
* Using multithreading to improve code efficiency
* Update manifest_analysis.py
* QA
* Handle asterik in host names.

---------

Co-authored-by: Ajin Abraham <[email protected]>
2024-01-09 16:28:36 -08:00
Ajin Abraham efb779461e Update submodule 2024-01-06 23:17:06 -08:00
Ajin Abraham 19c1b55c2c HOTFIX: update apktool, fixes a security issue GHSA-2hqv-2xv4-5h5w 2024-01-06 20:12:47 -08:00
Ajin Abraham 9f0467c370 Bug Fix and QA (#2315)
* Bug Fix
* QA
* Version bumps
2023-12-28 01:36:41 -08:00
Ajin Abraham 334231140f [HOTFIX] Malware Permission Check for Android, API Rules + Version Bump (#2313)
* Malware Permission Check for Android
* New Android API rule to support Passkeys
* Updated Readme
* Version Bump
2023-12-22 17:17:10 -08:00
Ajin Abraham b48276a5b6 Multiple Features Improved or Added (#2310)
* Android added App Link assetlinks.json check
* Added more new permission mappings
* Updated Permission database
* Improved Source code view content search
* Added upstream proxy support for Corellium API calls
* Updated Readme
2023-12-19 17:29:50 -08:00
ohyeah521 f465abd872 Windows Python tempfile permission error fix (#2309)
* Fix PermissionError: [Errno 13] Permission denied
Windows Python tempfile permission error fix
2023-12-19 00:28:24 -08:00
Ajin Abraham 1f8c6099bb [HOTFIX] ChatGPT Permission Mapping + Improved Description (#2308)
* Android Permission Mapping, generated with ChatGPT + axplorer. Addressed #1772 
* Android Permission description enhancement generated with ChatGPT
* Added new permissions to permission analyzer
2023-12-18 00:23:12 -08:00
Ajin Abraham c6f037103d Bug Fixes + Improvements (#2307)
* Replace Android test APK
* Added tests for Library analysis from binary (scan_library route)
* iOS merge findings from swift and objective c rules with same rule identifier. Fixes #2287 
* iOS Binary analysis, sort regex matches. Fixes #2252
* Framework dylibs with no extensions to skip PIE checks. Fixes #2307
* Select correct network_security config. Fixes #2049
* Android Manifest Analysis added support for detecting task hijacking (StrandHogg 1.0 and StrandHogg 2.0) . Fixes #2124
* Added new manifest analysis rule to warn on apps targeting older Android OS
* Updated severity of findings
* UI improvement for AppSec dashboard to show a loader
* UI changes in Static Analysis to collapse large no of files in API and Code Analysis for better real estate
* Improved certificate file analysis for android, jar, aar, and ios
* MobSF version Bump
2023-12-16 22:19:09 -08:00
Ajin Abraham 78e9563f90 [EFR][HOTFIX] QA Request (#2306)
* Scan independent library file (.so, .dylib, Framework dylib) from APK/IPA Static Analysis Report
* Library analysis refactored relative path helper for Django template.
* Re-introduced RELRO checks for Android, added Dart binary check to avoid Flutter false positives.
* Improved stripped debug symbol check for ELF and MachO using native OS tools such as nm and objdump when available.
* Merge iOS Framework and Dylib Analysis.
2023-12-16 13:37:34 -08:00
superpoussin22 4d81e09ee7 update pktool to 2.9.1 (#2304) 2023-12-11 00:09:44 -08:00
Ajin.Abraham 045fa6a1be version bump 2023-12-09 19:16:42 -08:00
Ajin.Abraham dc4c6eda6e HOTFIX: Add missing RPC script, Frida Logs font size 2023-12-09 19:15:41 -08:00
Ajin Abraham d3b02143fe [HOTFIX] RPC hook suggestions + Bug Fix (#2301)
* String compare script improvements
* Fix iOS Frida script bugs
* Added RPC helpers for hook suggestion (TODO:Expose to UI)
* Code QA
2023-12-06 18:14:45 -08:00
cpuu b668ee89c0 Enhancements to ARC and Stack Canary Checks in Mach-O Parsing (#2284)
* Extend 'has_arc' check to include '_swift_release'

Updated the has_arc method to detect the usage of ARC not only by the presence of the _objc_release symbol but also by the _swift_release symbol. This change broadens the scope of ARC detection to cover both Objective-C and Swift implementations.

* Optimize has_canary function without using a set

Refactored the has_canary method to directly check the presence of ___stack_chk_fail and ___stack_chk_guard symbols in imported_functions. Removed the unnecessary conversion to a set, streamlining the function and enhancing readability. Now, has_canary uses any() for efficient symbol existence checks.
2023-12-05 21:38:34 -08:00
Ajin Abraham 361e76a390 [HOTFIX] Android script loading, frida injected code view, paramiko SSH issues (#2300)
* Android script loading bug fix
* Frida injected code view
* Paramiko SSH reactor to address some host key issues, revert from warning to autoadd.
* Frida Injection refactoring
2023-12-05 21:22:26 -08:00
Ajin Abraham 87c054b79d [HOTFIX] More Android & iOS Frida Scripts (#2299)
Improved existing frida scripts
More Android & iOS frida Scripts
Code QA
2023-12-05 15:45:17 -08:00
Ajin Abraham ae929dc92d Hotfix QA (#2297)
* REST API update for android frida instrument
* Code QA
2023-12-04 14:06:44 -08:00