cyber-range / docs /ANDROID.md
philippefunk's picture
Publish lab runbooks
98cdced verified
|
Raw History Blame
2.06 kB

Android Application Security Track

Local MobSF service

Start the static-analysis container:

python lab.py up mobile

Open http://127.0.0.1:8000. The official image documents default local credentials mobsf / mobsf; keep the service on localhost and change them before any other exposure.

Upload an APK you own or a dedicated training APK. Review permissions, exported components, network security configuration, hardcoded secrets, certificates, and third-party libraries. Save the report before a destructive reset.

Official MobSF references: running with Docker, persistent volumes and queues.

Safe training target

The OWASP MAS Crackmes are purpose-built mobile reverse-engineering challenges. Start with Android UnCrackable Level 1 and use the corresponding OWASP MAS Testing Guide material. Avoid reading the challenge source first if you do not want spoilers.

A historical APK location referenced by the MAS material is:

https://raw.githubusercontent.com/OWASP/owasp-mastg/master/Crackmes/Android/Level_01/UnCrackable-Level1.apk

Prefer the current official crackmes repository and verify that the target is intended for training before installation.

Static versus dynamic analysis

The container configuration provides static analysis. A web upload does not create an Android emulator. Dynamic analysis requires a separate, snapshot-protected Android emulator/VM or test device and the current MobSF dynamic-analysis setup.

For dynamic work:

  1. Keep the emulator on an isolated virtual network.
  2. Install only the training APK.
  3. Take a clean snapshot before instrumentation.
  4. Use ADB and the official MobSF dynamic-analysis instructions.
  5. Do not test banking, work, personal, or third-party applications.

Do not upload proprietary APKs to hosted scanners. The local MobSF service avoids that exposure by default.