SECURITY PROJECT · MOBILE APPSEC

Android SecurityAssessment

ANDROIDFRIDAJADXOWASP MASVSDYNAMIC ANALYSIS

A hands-on assessment of DIVA, a deliberately vulnerable Android app. Twelve exercises were validated through source review, ADB testing, component abuse, SQL injection, native analysis, and runtime instrumentation.

VIEW ASSESSMENT ↓
ASSESSMENT AT A GLANCE

Proof overclaims

12

Exercises confirmed

5

Security areas

2

Analysis modes

1

Isolated lab

METHODOLOGY
01 · Static

Inspect the implementation

Reviewed decompiled Java, Android resources, component declarations, and native-library strings to locate trust boundaries and sensitive operations.

02 · Hypothesis

Predict the security failure

Converted each code observation into a concrete test: data recovery, crafted input, external component invocation, or runtime observation.

03 · Dynamic

Confirm on the device

Used a rooted Genymotion Android 11 emulator, ADB, Android shell tools, and Frida to validate the behavior live.

04 · Report

Preserve proof and remediation

Captured sanitized evidence, mapped each issue to an OWASP MASVS area, and documented a practical fix.

CONFIRMED FINDINGS

Twelve exercisesvalidated

01

Sensitive Logging

A submitted payment-card value appeared in Logcat.

STORAGE
02

Java Hardcoded Secret

A plaintext vendor key was extracted from decompiled client code.

CRYPTO
03–06

Insecure Data Storage

Plaintext credentials were recovered from SharedPreferences, SQLite, a private file, and external storage.

STORAGE
07

SQL Injection

A crafted search returned every seeded user record and its sensitive fields.

CODE
08

Unsafe URI Handling

The WebView rendered attacker-controlled HTML from an untrusted URI scheme.

PLATFORM
09–11

Broken Component Access Control

Exported activities and a ContentProvider disclosed protected credentials and private notes.

PLATFORM
12

Native Hardcoded Secret

An ELF string exposed the secret; Frida observed the plaintext JNI argument and successful return value.

CRYPTO
RUNTIME INSTRUMENTATION

Frida linker issuediagnosed & fixed

Frida 17.7.3 enumerated processes but aborted during injection on the Android 11 x86_64 image. A matching Frida 16.6.6 client/server pair restored attach, Java bridge, and JNI observation.

[+] Hook loaded
[+] DivaJni.access candidate: [REDACTED TRAINING VALUE]
[+] DivaJni.access return value: 1