Commit Graph
100 Commits
Author SHA1 Message Date
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
Ajin Abraham 218954d3e7 Hotfix: Handle Docker <-> ADB connectivity internally (#2219)
* host.docker.internal transilation for localhost

* Replace urlparse with re

* version bump

* update ascii art
2023-07-25 13:19:06 -07:00
Ajin Abraham 1fde1cfa6d Update dynamic_analysis.html (#2218) 2023-07-24 23:49:41 -07:00
Ajin Abraham b1d4abcab4 Hotfix: Broken donate link fix 2023-07-24 18:32:37 -07:00
Ajin Abraham 8c25cb21aa Hotfix: Add Corellium support message 2023-07-24 18:02:19 -07:00
Ajin Abraham a54faf8dec Hotfix: Docker error fixes 2023-07-24 17:52:54 -07:00
Ajin Abraham 3c7c9afecd Update setup.py 2023-07-23 12:48:17 -07:00
Ajin Abraham d021da6eab HOTFIX: MobSF Android Dynamic Analysis Docker Support (#2214)
* MobSF Android Docker Support

* Pin pip version

* Update mobsf-test.yml
2023-07-21 23:41:45 -07:00
Ajin Abraham dc0dc273e5 HOTFIX: Feature updates and Bug Fixes (#2197)
* OFAC, jquery bump, tox fix
* AAR handle multiple application tags
2023-06-22 15:13:01 -07:00
Ajin Abraham b608ce46dc Revert Hotfix 2023-06-21 15:59:50 -07:00
Ajin Abraham 89efdeebcc HOTFIX: update lief 2023-06-21 15:55:07 -07:00
Ajin Abraham c7578b8735 Update requirements.txt
0.13.1 not available.
2023-06-14 14:12:51 -07:00
Ajin Abraham b1922d8a0d Enable binary analysis for aar/jar 2023-05-20 11:23:44 -07:00
Ajin Abraham b43b561a65 [EFR05] Enterprise Feature Request: AAR and JAR support (#2163)
* AAR and JAR support
2023-04-17 12:02:02 -07:00
Ajin Abraham 0cd255cb90 [Enterprise Feature Request EFR02] Support summary of severity in each section. (#2160)
* Summary for Android and iOS SCA
2023-04-10 14:57:02 -07:00
Ajin Abraham a13bf58c55 HOTFIX: Android min SDK check on janus vulnerability detection (#2159)
* Android min SDK  check on janus check

* Update README.md
2023-04-07 20:02:43 -07:00
Ajin Abraham be23758bc6 [HOTFIX] Add support for environment variable for MobSF config (#2150)
* add support for environment variable config
* Fixes #2109
* update lief
2023-03-30 12:20:35 -07:00
Ajin Abraham 6bc642813c HOTIX: Update Dockerfile to install jq (#2149)
* Update Dockerfile

* Update tox.ini
2023-03-28 00:23:02 -07:00
Ajin Abraham 7ad41a454e HOTFIX: Fix docker build (#2135) 2023-02-17 15:40:43 -08:00
Ajin Abraham aeaa9b122a New Android Manifest Rule: App support vulnerable android versions (#2114)
* add a new rule: dangerous os version

* qa

* lint checks

* run lint test on one os
2023-01-11 09:49:20 -08:00
Ajin Abraham 76cd47d851 HOTFIX: Setup improvement (#2078)
* Improve setup scripts.
* Python support to 3.8 - 3.10
* Delete MobSF data directory on running setup.
* Bump applicable dependencies.
2022-11-22 16:01:34 -08:00
Ajin Abraham 2e234ec543 Android APK support extracting icon SVG from XML (#2060)
* Added support for SVG icon extraction
* Add jar binaries
* code refactoring
* Update settings.py
2022-11-07 09:22:40 -08:00
Ajin Abraham 9b49285e1c HOTFIX: jadx update to 1.4.5 (#2064)
* jadx update to 1.4.5
* MobSF version bump
* Fixes CVE-2022-42889 in third party dependency
2022-10-27 14:00:49 -07:00
Ajin Abraham c03edc1524 Hotfix: UI icon 2022-10-16 10:08:16 -07:00
Ajin Abraham 43ea3c0f43 HOTFIX: Split certificate analysis out, suppression list fixes (#2052) 2022-10-14 14:47:21 -07:00
Ajin Abraham 2387cd7cb6 HOTFIX: UI changes and warning on mobsf.live (#2051)
* UI changes and warning on mobsf.live

* Update home.html
2022-10-14 14:40:21 -07:00
Ajin Abraham 7fcec120fc HOTFIX: revert frida to 15.X 2022-10-14 10:08:57 -07:00
Ajin Abraham 277e74d485 [EFR-02]Enterprise Feature Request - False Positive Triaging (#2000)
* Suppression logic

* Android code analysis suppression

* Fixes #1981

* iOS source support bundle id extraction

* iOS Source Code - Suppression support

* Remove check in CFBundleURLName

* iOS Binary code analysis suppression support

* Add Code QL

* Suppression support for Manifest analysis

* Fixes #2014

* REST API + Docs

* Address review comments

* update suppression wordings

* Fixes #2043

* Icon analysis code QA
2022-10-03 19:25:29 -07:00
Ajin Abraham c630a9011d HOTFIX: libsast, iOS Rule, M1 Mac support 2022-07-16 18:03:45 -07:00
Ajin Abraham c2d1127a9e Revert "Add the checking of the parent element of the permission-related elements to manifest analysis (#1905)" (#1984)
HOTFIX: Revert #1905
2022-06-24 17:00:05 -07:00
Ajin Abraham db3e516b4d Remove RELRO (#1978) 2022-06-15 08:52:52 -07:00
Ajin Abraham 7b4991281c Feature Parity Allow iOS IPA download (#1977)
* Allow iOS IPA download

* Code QA
2022-06-12 23:06:27 -07:00
Ajin Abraham 49bf0eed95 Hotfix: Windows setup script 2022-06-12 22:32:34 -07:00
Ajin Abraham 1a5f9a7356 Hotfix: Broken slack channel link fix 2022-06-12 15:57:22 -07:00
Ajin Abraham e9cb1af33f HOTFIX: openSSL link and readme update 2022-06-12 00:14:23 -07:00
Ajin Abraham e83cefcc41 HOTFIX: Update Readme with Rewards Banner 2022-06-07 09:10:35 -07:00
Ajin Abraham dba910de1c Hotfix:Slack link 2022-03-10 07:02:57 -08:00
Ajin Abraham c1afb4f63e Hotfix:Slack link 2022-03-10 07:00:37 -08:00
Ajin Abraham 05e17d3829 Hotfix: Slack link 2022-03-10 06:58:33 -08:00
Ajin Abraham 4ad0b5ccd9 Hotfix: update slack link 2022-03-10 06:57:15 -08:00
Ajin Abraham 7e9dea0eae Hotfix: Update slack link 2022-03-10 06:53:56 -08:00
Ajin Abraham e00991caa7 HOTFIX: EFR01 Enterprise feature request (#1908)
* Replace Warning with Medium and added Hotspot
* Add file analysis to hotspot
* Enterprise Feature Request Flag
* EFR01 changes
* version bump
2022-02-19 10:55:28 -08:00
Ajin Abraham 996a57cfe8 HOTFIX: libsast upgrade and rule upgrade 2022-01-30 18:36:15 -08:00
Ajin Abraham 863762e9fe HOTFIX: Reduce possible secrets false positives 2022-01-26 21:31:29 -08:00
Ajin Abraham 763df542d5 Hotfix: iOS URL view 2022-01-24 22:01:43 -08:00
Ajin Abraham c07b5fcc32 Add handle to Readme 2022-01-24 17:26:03 -08:00
Ajin Abraham 3c6bf4e683 HOTFIX: Publish Tagged Release to DockerHub 2022-01-23 14:49:59 -08:00
Ajin Abraham afc5c49e44 HOTFIX: Publish to DockerHub on Release 2022-01-23 14:45:41 -08:00
Ajin Abraham 8c10db74e1 Multiple Features on v3.5.0 (#1881)
* MobSF Application Security Score Card
* Scorecard API
* Improved App Security Scoring Mechanism
* Improved PDF Report
* Disable CVSSv2 by default. 
* For application security use case, use severity levels High, Warning, Low and Secure across all components applicable.
* Non blocking upload flow.
* Fixes #1885
2022-01-23 14:02:12 -08:00
Ajin Abraham 33abc69b54 Hotfix: Revert to latest 2022-01-11 22:25:44 -08:00
Ajin Abraham dd7fdd9629 HOTFIX:Temp docker update 2022-01-11 22:22:22 -08:00
Ajin Abraham 0e7984166f Update README.md 2022-01-08 14:36:21 -08:00
Ajin Abraham 8a7cb0a065 Version bump 2022-01-08 14:00:51 -08:00
Ajin AbrahamandAjin Abraham 1b1d3da168 New Frida Scripts from FSecureLabs (#1875)
Co-authored-by: Ajin Abraham <[email protected]>
2021-12-17 19:24:22 -08:00
Ajin Abraham e835f59739 Activity launcher, REST API, QA (#1868)
* Initial commit - Activity launcher
* Fixed broken OpenSSL link
* Various fixes to activity launcher
* disable dynamic report button when does not exist
* Small fixes after CR
* QA
* the setting ACTIVITY_TESTER_SLEEP is not available for old users
* QA + REST API
Co-authored-by: matan.dobr <[email protected]>
2021-12-17 11:55:46 -08:00
Ajin Abraham d3df61e324 HOTFIX: Check ELF and MachO before getting details 2021-12-08 08:52:24 -08:00
Ajin AbrahamandTh30 9463b74525 Janus Description updates (#1857)
* Modify cert_analysis - Janus

Updated the Janus Vulnerability to reflect the difference cases.

Co-authored-by: Th30 <[email protected]>
2021-12-01 11:42:20 -08:00
Ajin Abraham d5ae46bf44 Python Dependency update and QA (#1852)
* Py deps update and QA
* lint fix
2021-11-28 09:26:26 -08:00
Ajin Abraham 393b3c53e9 Disabling Quark by default 2021-10-29 01:37:43 -07:00