Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacyΒ© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Android-Security-Masterclass β€” OWASP hands-on Android security training lab with 78 MASVS/MASTG modules pairing vulnerable, secure, and attacker apps to demonstrate mobile weaknesses and their fixes. | Kitploit
Tools/GitHubGitHub/owasp/android-security-masterclass
Android SecurityVulnerability AnalysisMobile App PentestingCryptographyPenetration TestingMobile SecurityLearning & EducationLearning Paths & CoursesLabs & Practice

Most Popular

View all β†’

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools β†’
Share
GitHubowasp/android-security-masterclass

Android-Security-Masterclass

OWASP hands-on Android security training lab with 78 MASVS/MASTG modules pairing vulnerable, secure, and attacker apps to demonstrate mobile weaknesses and their fixes.

View Repository
110121 days agoNot yet reviewed

Android Security Masterclass πŸ›‘οΈπŸ“±

Official OWASP Project β€” A Hands-on OWASP MASVS/MASTG Security Training Lab for Android Developers & Pentesters β€” Mirror Architecture: Vulnerable ↔ Secure ↔ Attacker

OWASP Project Kotlin Jetpack Compose OWASP MASVS Platform License PRs Welcome

πŸ“– Overview

The Android Security Masterclass is an official OWASP project designed with a Mirror Architecture to teach Android developers and security researchers exactly what vulnerabilities look like and exactly how to fix them using modern Android development practices.

Instead of hunting for bugs in outdated Java codebases, this project uses a state-of-the-art tech stack (Kotlin, Jetpack Compose, MVVM, Material 3) and is structured around a massively scalable "Package-by-Feature" system.

🌐 OWASP Project Portal & Documentation:

  • OWASP Project Page: https://owasp.org/projects/android-security-masterclass
  • Documentation Portal: https://owasp.github.io/Android-Security-Masterclass/
  • Whitepaper & 78-Module Mapping Matrix: Available in the documentation portal.

πŸ—οΈ The 78-Module Hyper-Modular Architecture

graph TD
    COMMON("🧱 :common<br/>Shared Data · Theme<br/>Dashboard Metadata")
    
    subgraph FEATURES ["πŸ“¦ Package-by-Feature (78 Isolated MASWE Modules)"]
        direction LR
        M1(":features:maswe0001<br/>Private Storage")
        M2(":features:maswe0002<br/>External Storage")
        M5(":features:maswe0005<br/>Logging Leaks")
        MDOT("...<br/>... ")
        M78(":features:maswe0078<br/>Privacy")
    end
    
    VULN("❌ :app-vulnerable<br/>Thin Shell Orchestrator")
    SEC("βœ… :app-secure<br/>Thin Shell Orchestrator")
    ATK("😈 :app-attacker<br/>Simulated Malware")

    COMMON --> FEATURES
    FEATURES -- "Insecure Implementation" --> VULN
    FEATURES -- "Hardened Implementation" --> SEC
    VULN -. "Active Exploit<br/>IPC / Logcat" .-> ATK

    classDef common fill:#4A90D9,stroke:#2C5F8A,color:#fff,stroke-width:2px,font-weight:bold
    classDef feat fill:#F39C12,stroke:#D35400,color:#fff,stroke-width:2px,font-weight:bold
    classDef vuln fill:#E74C3C,stroke:#C0392B,color:#fff,stroke-width:2px,font-weight:bold
    classDef secure fill:#27AE60,stroke:#1E8449,color:#fff,stroke-width:2px,font-weight:bold
    classDef attacker fill:#8E44AD,stroke:#6C3483,color:#fff,stroke-width:2px,font-weight:bold

    class COMMON common
    class M1,M2,M5,MDOT,M78 feat
    class VULN vuln
    class SEC secure
    class ATK attacker

The project utilizes a Hyper-Modular architecture spanning over 80 total modules:

Module LayerRoleStatus
:commonThe foundation. Contains the MasterclassData high-fidelity payload generator, Dashboard metadata, core UI theme, and generic navigation components.Foundation βœ…
:features:masweXXXX78 fully isolated Gradle modules (0001 to 0078). Each module contains both the vulnerable and secure logic for a single specific weakness, completely preventing cross-module code leakage.78 Modules Generated βœ…
:app-vulnerableA "Thin Shell" orchestrator app. It wires together the insecure UI components from all 78 feature modules to demonstrate the exact consequence of OWASP violations.Active βœ…
:app-secureA "Thin Shell" orchestrator app. Wires together the secure implementations utilizing modern standards (Jetpack Security, Tink, SQLCipher, ProGuard).Active βœ…
:app-attackerA simulated malicious third-party app. Demonstrates live IPC exploits via a secondary process running concurrently on the device.Active βœ…

πŸ“¦ The MasterclassData High-Fidelity Model

Unlike other educational projects that use trivial data ("admin:password"), our leak simulations use regulation-grade payloads:

  • GDPR (Article 4 & 9): National Identity Numbers (TCKN), Direct Identifiers.
  • HIPAA (Β§164.514): ICD-10 diagnosis codes, Medical Record Numbers (MRN).
  • PCI-DSS (Req 3.2): Processing Track 2 data, CVV, and PIN blocks.

πŸ’‘ Tip: You can view all of this simulated data live on your device by clicking the "Data Vault" button on the Dashboard of either the vulnerable or secure app.


πŸš€ Scenario Index (MASVS Integration)

We have mapped the entire OWASP MASVS standard into 78 distinct modules across 8 domains:

  • πŸ—„οΈ Storage: MASWE 0001 - 0006
  • πŸ” Cryptography: MASWE 0007 - 0017
  • πŸ”‘ Authentication: MASWE 0018 - 0025
  • 🌐 Network: MASWE 0026 - 0028
  • πŸ“± Platform: MASWE 0029 - 0040
  • πŸ’» Code Quality: MASWE 0041 - 0050
  • πŸ›‘οΈ Resilience: MASWE 0051 - 0065
  • πŸ•΅οΈ Privacy: MASWE 0066 - 0078

βœ… Implemented Security Weakness Lab Modules

The following modules have their business logic, MVI architecture, unit tests, and attack/defense simulations fully implemented:

  1. MASWE-0001 (Private Storage - MASVS-STORAGE-1): Simulates plaintext leaks into SharedPreferences, DataStore, SQLite Databases, and FileProviders. Hardened via Jetpack Security (EncryptedSharedPreferences), Google Tink (AEAD), and SQLCipher.
  2. MASWE-0002 (External Storage - MASVS-STORAGE-1): Demonstrates the risks of exporting PII to world-readable external volumes and filesystem encryption keys. Hardened via Keystore hardware-backed keys, Scoped Storage, and Storage Access Framework.
  3. MASWE-0003 (Insecure Key Storage - MASVS-STORAGE-1): Demonstrates plaintext key storage in SharedPreferences, app-private files, and hardcoded assets. Hardened via Android KeyStore (TEE / StrongBox Keymaster), hardware non-exportable keys, and biometric authentication gating.
  4. MASWE-0004 (Hardcoded Secrets - MASVS-STORAGE-2): Demonstrates embedding API keys, cloud tokens, and staging credentials in source code, build configs, and XML assets. Hardened via Backend-For-Frontend (BFF) proxy, ephemeral tokens, and Google Cloud package-restricted keys.
  5. MASWE-0005 (Logging Leaks - MASVS-STORAGE-1): Demonstrates data bleeding into system logcat, network interceptors, and 3rd party SDK telemetry. Hardened via ProGuard / R8 bytecode stripping (-assumenosideeffects) and SecureLog wrappers.
  6. MASWE-0006 (Sensitive Data in Backups - MASVS-STORAGE-1): Demonstrates sensitive data extraction via adb backup or Google Drive cloud backup. Hardened via android:allowBackup="false", dataExtractionRules, and fullBackupContent.
  7. MASWE-0007 (Improper Encryption - MASVS-CRYPTO-1): Demonstrates 7 critical cryptographic anti-patterns: DES 56-bit broken cipher, AES-CBC static zero IV reuse, PKCS5Padding oracle risks, ECB mode penguin leakage, low key length (56/64-bit), key reuse across encryption and signing, and pseudo-encryption (XOR/Base64 obfuscation). Hardened via AES-256-GCM authenticated encryption and post-quantum cryptography (ML-KEM / ML-DSA ready).
Download Tool