File size: 2,057 Bytes
98cdced
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Android Application Security Track

## Local MobSF service

Start the static-analysis container:

```bash
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](https://github.com/MobSF/docs/blob/master/running_mobsf_docker.md), [persistent volumes and queues](https://github.com/MobSF/docs/blob/master/docker_options.md).

## Safe training target

The [OWASP MAS Crackmes](https://github.com/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:

```text
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.