Commit Graph
1918 Commits
Author SHA1 Message Date
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
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 88904e8b32 Relaxed bundleid regex 2023-12-03 02:22:29 -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
dependabot[bot] 231709fa2b Build(deps): Bump django from 4.1.12 to 4.1.13 (#2282)
Bumps [django](https://github.com/django/django) from 4.1.12 to 4.1.13.
- [Commits](https://github.com/django/django/compare/4.1.12...4.1.13)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-03 13:32:39 -07:00
superpoussin22andAjin Abraham 15e0f6c974 update apktool to 2.9.0 (#2278)
Co-authored-by: Ajin Abraham <[email protected]>
2023-11-03 13:31:50 -07:00
Ajin.Abraham 9d9be71809 Hotfix: Bump deps 2023-10-31 11:23:03 -07: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
ohyeah521 9e92980f6a [HOTFIX] Fixed that the icon cannot be found (#2265)
fixed that the icon cannot be found when the suffix name is uppercase
2023-09-13 00:06:21 -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