Commit Graph
39 Commits
Author SHA1 Message Date
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 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 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 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 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 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 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
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 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 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 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 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 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 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 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 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 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 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 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 db3e516b4d Remove RELRO (#1978) 2022-06-15 08:52:52 -07: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 62765766a3 QA 2021-07-17 20:11:55 -07:00
Ajin Abraham 644b6b016e Merge branch 'master' into quark-integration 2021-07-09 12:05:24 -07:00
pulorsok d77cc6ee4f Add Quark source code overview 2021-07-03 21:40:38 +08:00
pulorsok 188e6bc763 Add Quark analysis 2021-07-03 21:02:27 +08:00
Ajin Abraham babe6618a4 Hotfix: #1756: Update worldmap js library 2021-07-02 17:29:08 -07:00
Ajin Abraham 6c68150676 Multiple Features Static Analyzer & Dynamic Analyzer (#1730)
* Improved Split APK support now supports .apks file.
* Ability to look up and download APK from apktada/apkpure/apkplz.
* Dynamic Analyzer: Get Runtime Application Third party dependencies.
* Static Analysis Rule QA and Typo Fix.
* Persist Frida Code change in session storage.
* Show Base64 strings decoded at runtime and the called class.
* Detect Trackers from Runtime Dependencies and Network Traffic
* Windows Binskim version pinning
2021-05-06 20:20:04 -07:00
Ajin Abraham 44998d532c TLS/SSL Security Tester (#1726)
* TLS/SSL Security Tester
* Frida Hooking Code QA
* Fix typos in permission mapping
* Xposed improvements
* Dynamic Analyzer QA
* Logcat app only logs refactoring
* Updated and exposed new REST APIs
* LGTM Findings Review and override
* Python and JavaScript code QA and lib update
2021-04-24 23:21:03 -07:00
Ajin Abraham 366b4b1ae9 Fix PIE error #1676, Modify Frida Resume logic 2021-03-11 12:40:38 -08:00
LongCat 37f8c9157d fix typo in APK analysis (MANIFIEST > MANIFEST) (#1673)
fix typo MANIFIEST > MANIFEST. This typo shows in the APK security reports.
Correct word is "MANIFEST" (https://developer.android.com/guide/topics/manifest/manifest-intro).
2021-02-13 13:37:50 -08:00
Ajin Abraham e5107dc591 OWASP MSTG Mapping to all rules (#1650)
* Rule to OWASP MSTG mapping
2021-01-19 00:20:37 -08:00
Ajin Abraham cf59941081 HOTFIX: setup.py and directory refactoring
Python setup.py #1585
directory refactoring
2021-01-17 01:47:49 -05:00