Commit Graph
100 Commits
Author SHA1 Message Date
Ajin Abraham 7e0355c51d June 22nd 2025 updates (#2530)
* Breaking change: Frida 17+ support and script updates
* Breaking change: Corellium iOS device must install frida >=17
* Updated Frida scripts for logging, ssl/cert pinning bypass
* Added bridges support to frida
* Poetry dependency updates
* Fix Frida Code Editor code alignment issues
* Fix Google Play Scrapper timeout issues behind proxy
* Apply MobSF proxy settings to standalone tools_download.py
2025-06-23 00:57:33 -07:00
Ajin Abraham 6987a94648 v4.3.3 Security Updates (#2518)
* Fix GHSA-mwfg-948f-2cc5

* stricter email case validation

* Fix GHSA-c5vg-26p8-q8cr

* Bump deps

* Lint QA
2025-05-04 16:33:07 -07:00
Ajin Abraham cecec6e96d update postgres to 14 2025-04-25 14:05:53 -07:00
Ajin Abraham 702e9b2100 Lint fixing: 2025-04-25 11:23:09 -07:00
Ajin Abraham caa223d94a pin lxml version as well 2025-04-25 11:16:33 -07:00
Ajin Abraham 4b8bab5a98 [SECURITY] Improve SSRF checks, strict path check for well_known_path (#2510)
* Improved SSRF checks (credential checks, length check, port check, path, query, and params check, ipv6, ipv4 coverage, handle possible decimal or hex IP bypasses)
* Add additional strict path check for Applink well known path
* Moved `valid_host` to `security.py`
* Update `security.md`
* Bump dependencies
* Fix docker build
2025-03-28 17:38:23 -07:00
Ajin Abraham 506434670a March 25 QA (#2504)
* Dependency bump
* Strict firebaseio domain check
* Fix frida server download proxy SSL verify config
* Fix CI build on mac
2025-03-23 12:27:01 -07:00
Ajin Abraham 05206e72ca [SECURITY] Security update to fix vulnerabilities reported by Positive Technologies researchers (#2488)
* Fix Stored XSS in iOS Dynamic Analysis, GHSA-cxqq-w3x5-7ph3
* Fix DOS by loose re_path check and strict check inside function, GHSA-jrm8-xgf3-fwqr
* Fix API Key leakage, replace REST API with authenticated endpoint, GHSA-79f6-p65j-3m2m
* Update SECURITY.md
2025-02-04 21:00:57 -08:00
Ajin AbrahamandNick Lupien d1d3b7a9ae Dep bump + Support HTTPS upgrade for Assetlinks check (#2484)
* Fix false positives caused in Android manifest analysis
* Dep bumps + Support HTTPS upgrade for Assetlinks check
* MobSF version bump to 4.3.0

---------

Co-authored-by: Nick Lupien <[email protected]>
2025-01-22 23:15:32 -08:00
Ajin AbrahamandByteSnipers GmbH 79b2d28c3b Byte snipers patch 2 (#2477)
* Fix for missing 'packaging.metadata module

Changed the packaging version to 24.2

Co-authored-by: ByteSnipers GmbH <[email protected]>
2024-12-18 18:35:11 -08:00
Ajin Abraham 8310104ba9 Update README.md 2024-12-02 22:38:47 -08:00
Ajin Abraham 5ce7e237af [4.2.8] Multiple APK Analysis improvements, general Code QA & bug fixes (#2470)
* Dockerfile QA
* Add sdk-build-tools to Docker image
* Replace biplist with plistlib std lib
* Fixed a bug in iOS pbxproj parsing
* Added support for APK parsing with aapt2/aapt
* Use aapt/aapt2 as a fallback for APK parsing, files listing and string extraction
* Added "started at" to Scan task queue model #2463
* Tasks List API to return string status #2464
* Replaced all minidom calls with defusedxml.minidom
* Code QA on android manifest data extraction and parsing
* Improved android file analysis
* Improved android manifest data extraction
* Improved android icon file extraction
* Improved android app name extraction
* Improved android appstore package details extraction
* Android string extraction to fallback on aapt2 strings
* APK analysis arguments refactor
* Handle packed APKs, refactor unzip to handle malformed APK files
* Handle reserved filename conflict during ZIP extraction
* Explicit Zipslip handling during ZIP extraction
* Graceful files extraction on unzip failure
* Removed bail out and continue analysis
* Moved androguard parsing to the start of static analysis
* AndroidManifest.xml fallback from apktool to androguard during extraction and parsing
* Updated Tasks UI to show started at
2024-11-28 17:26:50 -08:00
Ajin Abraham a015df5871 [4.2.7] Updates (#2462)
Bump to google fork of baksmali 3.0.8
IPA: Graceful handling of plist dump exception
2024-11-25 00:04:40 -08:00
Ajin Abraham af49985dd1 [4.2.7] Androguard & ApkInspector Bump + Patch AXMLParsing (#2461)
* Androguard 293ab2d89ab9ce011c7dbbc5df3c876172875a1c update
* AXML Parser warn "reserved must be zero!" instead of raise
* Fallback on get app name when androguard returns empty string
2024-11-24 22:53:21 -08:00
Ajin Abraham 8cd9838369 4.2.6 (#2459)
* Updated permissions
* Added and updated permission mapping rules
* Handle errors gracefully from get_app_name and icon_analysis
* Add new scans in tasks view without needing and explicit refresh
* Optimizing downloads, adding downloads for source code types and windows appx
2024-11-24 14:20:35 -08:00
Ajin Abraham b4cf9b70ac 4.2.5 (#2457)
* Unified async scan timeout
* Allow incomplete scan delete after async scan timeout duration
* Added support for Android SBOM analysis
* Make dependencies unpinned (Address #2458)
2024-11-23 13:48:12 -08:00
Ajin Abraham 4b394a2b8a [4.2.4] Async analysis REST API support, fix timeout handle function, Qa (#2456)
* Async analysis REST API support & Docs
* Fix timeout handle function
* Code QA untar permissions
2024-11-20 22:56:46 -08:00
Ajin Abraham a7fa82798f Update status on task timeout (#2454) 2024-11-20 14:05:59 -08:00
Ajin Abraham 523abbaff1 4.2.2 (#2452)
* QA
* Verbose
2024-11-19 13:34:16 -08:00
Ajin Abraham 003ee16519 4.2.1 (#2451)
* Improvements in scan queue
* Fix TOCTOU in delete scans view
2024-11-18 20:56:18 -08:00
Ajin Abraham b5da756615 4.2.0 (#2450)
- Added malware lookup using SHA2 with VirusTotal, Triage, Hybrid Analysis, and MetaDefender.
- Fixed permissions of extracted files to counter anti-analysis techniques.
- Resolved APK parsing errors in `androguard`.
- Handled exceptions in `string_on_binary`.
- Optimized APK ZIP analysis for improved performance.
- Fixed untar permission errors in dynamic analysis.
- Added bypass for SSL pinning in Boye's `AbstractVerifier`.
- Updated bypass for SSL pinning in Appmattus's `CertificateTransparencyInterceptor`.
- Introduced SSL pinning detector script.
- Improved Frida intent dumper script.
- Added Frida intent tracer script.
- Introduced timeouts for all HTTP calls.
- Added `django-q2`-based asynchronous scans for Android and iOS binaries and source code.
- Fixed bug in certificate analysis.
- Enabled asynchronous scans in Docker Compose setup.
- Performed QA for Android and iOS SAST modules.
- Added Frida script for `audit-webview`.
- Introduced Frida script for `trace-javascript-interface`.
- Upgraded `libsast` for improved file reading, multiprocessing, and multithreading.
- Fixed PNG crush issues on Darwin systems.
- Performed QA on the home screen UI.
- Updated `httptools` and `libsast` dependencies.
2024-11-17 22:26:06 -08:00
Ajin Abraham 3cf21cec16 4.1.9 (#2449)
* Anti-analysis bypass
   - JADX fallback to DEX files on APK decompilation failure
   - apktool fallback to androguard for AndroidManifest.xml extraction
   - apksigner.jar fallback to apksigtool/androguard for signature version extraction
   - Graceful erorrs for failures instead of exceptions
2024-11-11 15:44:03 -08:00
Ajin Abraham 70e243d661 4.1.8 (#2448)
* APKID QA.
* Bash and Batch file script QA.
* Android Report template optimizations on how exported components are displayed.
* Clickable Android Activities, Services, Providers and Recievers.
* Updated Android version support to 11.0 for Android Studio AVD.
* Created helper scripts for AVDs `scripts/start_avd.sh` and `scripts/start_avd.ps1`.
2024-11-10 00:44:20 -08:00
Ajin Abraham 76596e33ed docker compose QA, explict requests timeout (#2447)
* Dependency update
* Explicit timeout for all requests
* Support proxy for all http(s) calls
* Optimize jadx download, support system proxy
2024-11-08 17:05:49 -08:00
Ajin Abraham ee2cb73824 Add support for pulling split apks, Fixes #2271 (#2446)
* Add support for pulling split apks from device, Fixes #2271
* Replace Quark with Behaviour analysis using quark rules
2024-11-07 19:34:37 -08:00
Ajin Abraham e5af3a8219 4.1.5 (#2445)
* Support custom home from environment variables
* Reduce iOS binary findings severity to warning from high
* Code QA and dependency updates
* docker-compose QA, added example nginx config
* Added docker-compose_swarm.yml by @antonkap add support for docker secrets
* IPA PNG Uncrush support for Windows and Linux #2397
2024-11-06 22:59:01 -08:00
Ajin Abraham e4406e9479 [HOTFIX] + Features (#2444)
Add support for sample download in recent scans.
Bug fix in firebase analysis (dict mutation errors)
2024-11-05 18:14:56 -08:00
Ajin Abraham 17f3f028ff HOTFIX: Libsast bump (#2443)
* Libsast bump
* Bump libsast to address match case
2024-11-04 13:06:11 -08:00
Ajin Abraham 6947649b18 Multiple Features (Scan timeout, Firebase Remote Config, Search Scans) (#2441)
Support time out for SAST and Binary scans
Search by MD5, package name, file name and app name.
Search REST API + docs + tests
Firebase remote config check [FEATURE] Add support for Firebase Remote Config information  #2429
autopep8
2024-10-29 00:51:13 -07:00
Ajin Abraham 9b2a3c8552 [HOTFIX] Dockerfile and dependency upgrade, Bug Fixes (#2439)
* Dockerfile: migrate from Ubuntu to Debian Bookworm
* Update and MachO and ELF Analysis
* Update docker compose with postgres
* JDK bump to 22.0.2
* Python bump to 3.12
* Bump jadx, apktool, vd2svg, bundletool
* Remove jadx from repo and download it dynamically during setup
* Install jadx during docker build
* Replace deprecated dependencies
* Bump httptools
* Postgres Support by default
* Bump LIEF to latest, reintroduce PIE checks for ELF
* Fixes #2430 #2432 #2395
* Bug Fixes
2024-10-28 02:36:51 -07:00
Ajin Abraham fec37069f3 [HOTFIX] dep bups + Fix #2424 2024-10-08 16:45:20 -07:00
Ajin Abraham 8ebe4982d9 Bump deps (#2426) 2024-09-20 08:57:30 -07:00
Ajin Abraham cc625fe843 [SECURITY][HOTFIX] Fixes GHSA-4hh3-vj32-gr6j (#2421)
* Fixes GHSA-4hh3-vj32-gr6j
* update SECURITY.md
* update dependencies
2024-08-18 02:07:14 -07:00
Ajin Abraham 5b7c5c0075 [EFR][HOTFIX] Realtime Scan status and logs (#2416)
* Realtime Scan Status in UI and PDF reports
* Scan Status REST API & tests
* Fixes #2414
* Address #2413
* Code QA
* Dependency and version bump
2024-08-04 12:07:38 -07:00
Ajin Abraham 1fdc718b07 Update SECURITY.md (#2418) 2024-07-31 11:57:39 -07:00
Ajin Abraham a9de0335d4 [HOTFIX] AppSec PNW 2024, Deeplink Trigger Support for Android Dynamic Analyzer (#2402)
* iOS  Dynamic Analyzer String Compare Frida script improvement
* Android Dynamic Analyzer Deeplink UI trigger support 
* Android & iOS Dynamic Analyzer UI Improvements
* Android & iOS Dynamic Analyzer Bug fixes
2024-07-25 21:30:09 -07:00
Ajin Abraham 39ba3e64be [HOTFIX] Code QA (#2393)
* QA
* Add new android rule setAllow*FromFileURLs
* android root bypass and debugger bypass scripts improvements
* Dockerfile qa
* prevent entrypoint exit if username already exists
2024-06-02 16:37:00 -07:00
Ajin Abraham 680ca5d302 [HOTFIX] Support AAB with MobSF, Convert AAB to APK, Fixes #2387 (#2391)
* AAB to APK conversion
* relative urls fix for recent scan
2024-05-24 20:46:23 -07:00
Ajin Abraham cf390e2863 Merge branch 'master' into master 2024-05-24 12:34:44 -07:00
Ajin Abraham aeba044014 [HOTFIX] SSO Support hosts behind proxy (#2390)
* Added support for proxy setup and custom SP host
2024-05-23 13:05:27 -07:00
Ajin Abraham b46c0037ac [EFR][HOTFIX] SSO Support + Okta SSO Documentation (#2389)
* Add support for SSO with SAML2.0
* Bump Deps
* Docs Updated
* Bump MobSF version
2024-05-22 21:27:49 -07:00
Ajin Abraham 76187b805f [EFR] AuthZ and AuthN for MobSF + Bug Fixes (#2366)
Authentication and Authorization (`Maintainer` , Viewer`) support in MobSF
* Basic User Management
* Bug Fixes in Runtime Executable Tampering
* Ratelimiting support for login endpoint
* Disable AuthZ/AuthN for REST API and also via ENV VAR `MOBSF_DISABLE_AUTHENTICATION=1`
* Bug Fix #2285 
* Bug Fix Icon Analysis Nonetype
* Update SSRF Filter
* Dependency Bump
* Beta to Stable release from V4
* Runs with DEBUG=False
* New home screen UI
2024-05-21 10:08:01 -07:00
Ajin Abraham 4549ebd9d7 Update home.py 2024-05-20 10:30:07 -07:00
Ajin Abraham 7ee126639e Lint fixes 2024-05-20 10:20:53 -07:00
Ajin Abraham 31026cbacd Update auto-comment.yml 2024-05-03 20:08:42 -07:00
Ajin Abraham 126eb78c3a Update CONTRIBUTING.md 2024-05-03 20:08:06 -07:00
Ajin Abraham 84d52a999a Update SUPPORT.md (#2384) 2024-05-03 20:07:25 -07:00
Ajin Abraham fb853e8865 Update bug_report.md 2024-05-03 20:06:20 -07:00
Ajin Abraham 485d31f1ac Update README.md (#2383) 2024-05-03 20:02:09 -07:00
Ajin Abraham 99977da400 Update SECURITY.md 2024-04-03 21:50:07 -07:00
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
Ajin Abraham ccfedc0e45 HOTFIX: Possible SSRF 2024-03-23 19:15:30 -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 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 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 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
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
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
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
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
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
Ajin Abraham 2e6c6c59d7 HOTFIX: Dynamic Analysis Improvements Android & iOS (#2295)
iOS Screencast, better swipe
Android Screencast to support touch, swipe and text input events
Android Frida Logs update
Android Improved Screencast
Android Frida spawn, inject and attach support
Added new Android Frida scripts
Replaced Clipdump with Frida script for clipboard monitoring
2023-12-04 01:53:50 -08:00
Ajin Abraham 2aecb905b3 iOS Dynamic Analysis with Corellium (#2194)
* iOS Dynamic Analysis Support with Corellium Jailbroken iOS devices
* Corellium API layer for complete device and project management
* Frida instrumentation (attach, spawn and inject) over SSH local port forward
* Shell access over SSH
* MobSF httptools proxy integration over SSH remote port forward
* Device File upload and download over SSH
* Frida scripts for core defense bypass, monitoring, and tracing
* Helper iOS Frida scripts for pentesting and malware analysis
* Screen cast with touch, swipe and text input support from web UI
* Dynamic Analysis device data dump and  report Generation
* Android Certificate analysis, replaced oscrypto with cryptography for public key parsing
* Python minimum support is 3.10
* Bumped httptools to latest, fixes httptools repeat bug
* Added unzip to docker to fix a bug
2023-12-03 02:01:10 -08:00
Ajin Abraham 4685d8e73d Hotfix: Support viewing kotlin files #2283 2023-11-13 21:33:07 -08:00
Ajin Abraham 98296f5c39 [HOTFIX][EFR] Priority Bug Fixes (#2275)
* P1.1 AAR Permissions not properly listed 
* P1.2 Local variable table not listed in proper section
* P1.3 static library strings are not listed
* P1.5 Stripping of dynamic and static libraries are not correctly reported
* Dependency bump
* MobSF version bump
2023-10-06 23:34:59 -07:00
Ajin Abraham abb47659a1 [HOTFIX] Fix jadx and apktool failure due to JDK changes (#2269)
* Fix jadx and apktool failure due to JDK zip64 changes
2023-09-16 23:18:15 -07:00
Ajin Abraham 9a7182fdec Allow jpeg icons (#2268) 2023-09-13 23:39:41 -07:00
Ajin Abraham 80639f42f4 [HOTFIX] Support webp for icon (#2267) 2023-09-13 00:05:18 -07:00
Ajin Abraham 941f7c5dd4 [HOTFIX] iOS Framework Analysis + Multiple Feature QA (#2260)
* iOS Framework Analysis
* Static Analysis URL simplification
* Replace hardcoded urls in template with `{% url %}`
* Code QA
* Remove unwanted template file
* Remove `rescan` query param from url
* Android icon SVG guessing improvements
* Icon analysis refactoring, change icon storage location
* Remove SVG to PNG converter. Support PNG and SVG icon.
* Github docker release action update
2023-09-06 23:55:06 -07:00
Ajin Abraham 3c2a2f1ee6 [HOTFIX] simplify scan api (#2259)
* Simplify Scan API
* Need only scan hash to trigger a scan
* Updated API Docs
2023-09-04 15:12:36 -07:00
Ajin AbrahamandMark Sowell c5967615f1 [HOTFIX] Bump Frida to address crash on M1 Mac (#2258)
* Update frida to 16.1.4 to resolve segmentation faults on Docker arm image
---------

Co-authored-by: Mark Sowell <[email protected]>
2023-09-04 13:11:11 -07:00
Ajin Abraham cc4a59ee76 [HOTFIX] add jar (#2255)
* Add apksigner jar
2023-08-31 21:59:09 -07:00
Ajin Abraham bba141d2fd [HOTFIX] add apksigner.jar for reading signatures (#2254)
* Add `apksigner.jar`
* Use apksigner to extract signature versions (v1, v2, v3, v4)
* Fix: #2120
2023-08-31 21:52:48 -07:00
Ajin Abraham e6cee553d6 Performance Improvements on SAST (#2251)
* Performance improvements in SAST scans (Code Analysis, API Analysis, NIAP etc.) with libsast bump
* Android API rule QA
* Manifest analysis continuation on apktool failure
* Linux setup script fix
* Disable NIAP by default
2023-08-30 00:03:07 -07:00
Ajin Abraham bb700fa071 [HOTFIX] Migrate from setup.py to poetry, tox QA (#2249)
* Migrate from setup.py to use poetry build and publish
* Tox QA
* Version is now configured only at pyproject.toml
* Added poetry build test
* Updated mobsf PyPI publishing workflow 
* Update local DBs
2023-08-27 21:08:29 -07:00
Ajin Abraham 6e329c0d3f [HOTFIX] bs4 malformed xml parsing + xml namespace detection (#2248)
* Use BeautifulSoup4 to prettify malformed XML
* Detect non standard XML namespace in AndroidManifest.xml (Fixes : https://github.com/MobSF/Mobile-Security-Framework-MobSF/issues/2198) 
* Updated android permissions list
* Updated android permission update check script
2023-08-26 18:32:07 -07:00
Ajin Abraham 74f100de90 [HOTFIX] Docker Buildx test (#2247)
* Docker image build test for PRs
2023-08-26 11:45:39 -07:00
Ajin Abraham 8e29cb06a6 Pip to Poetry, Ubuntu Base image Bump, Dockerfile QA, Python 3.11 support (#2244)
* Docker base image update
* Docker file QA
* Github Actions version update
* Removed unwanted pinned repository
* Pip to Poetry migration
* Bump httptools
* Jump yara-python-dex
* Python 3.11 support
2023-08-25 21:15:28 -07:00
Ajin Abraham f965183a0e [HOTFIX][EFR10] Independent Static Library(.a) ELF/MachO Analysis + Graceful Analysis (#2242)
* Independent Static Library(.a) ELF/MachO Analysis
   * Mac FAT binary only supported on Mac
* Static and Dynamic Binary Analysis QA
* Refactor Dex permissions
* Fallback certificate analysis using apksigtool
* Refactor Androguard `apk.APK()` usage
2023-08-24 18:39:56 -07:00
Ajin Abraham c2993d1944 [HOTFIX][EFR09] AAR/JAR obfuscation and debug check + Exception Handed strings and symbols extraction (#2240)
* AAR/JAR obfuscation and debug check
* Exception handling symbols and strings from so/dylib
2023-08-19 00:19:55 -07:00
Ajin Abraham e08524fe81 [HOTFIX][EFR-08] Dylib + Symbols + Other Features (#2239)
* Dylib analysis support + PDF for iOS Binary
* Dylib string extraction
* Improved iOS Plist secret extraction
* iOS/Android Form Validation QA
* Independent Dylib scan
* Symbols view for dylib and so
* Trackers support for so
2023-08-18 17:53:45 -07:00
Ajin Abraham 19e0963162 HOTFIX: Improve code string extraction 2023-08-14 17:10:15 -07:00
Ajin Abraham 2854114b28 [HOTFIX][EFR06] Independent Shared Object (.so) Scan and Improved String search (#2228)
* String extraction from APK, Source, AAR, JAR, SO
* Strings sections to show source of strings extracted
* Strings Refactor
* Support for independent .SO scan
* Android SCA rules update
* Entropies scan support for strings
* URLs/Email extraction refactor
* Bug Fixes
  * iOS Source Report Fix
  * Frida APK Patcher (WIP)
  * Dynamic Analyzer identifier not available
  * Settings env var not working fix for enabled by default features
  * AppSec Score fix
  * Recent `scan not completed` fix for iOS zip
2023-08-14 11:47:55 -07:00
Ajin Abraham 28b7fdeca5 [HOTFIX] Regex + Rule Update (#2232)
* IOS Swift Rules updates
  *  Updated or added rules `ios_biometric_bool`, `ios_biometric_acl`, `ios_keychain_weak_acl_device_passcode`, `ios_keychain_weak_accessibility_value`, `ios_insecure_random_no_generator`, `ios_biometry_hardened`
 * Regex Hardening: Fixes possible Regex DoS in rules and MobSF code base
2023-08-10 01:16:12 -07:00
Ajin Abraham 9e57c5767d Dynamic Analysis support alert (#2227) 2023-08-02 00:46:01 -07:00
Ajin Abraham 9ae65e682a HOTFIX: translate upstream proxy ip for docker 2023-08-01 16:46:51 -07:00