| (root) |
Learning path |
13 |
|
README.md:94 |
| (root) |
6. Diagram conventions |
5 |
yes |
STYLE-GUIDE.md:227 |
| 00-Introduction |
2.1 The map of the whole field |
29 |
|
README.md:181 |
| 00-Introduction |
2.2 Where the attacker sits relative to the app |
22 |
yes |
README.md:234 |
| 00-Introduction |
3.2 The career ladder |
10 |
|
README.md:423 |
| 00-Introduction |
Magisk: the systemless approach |
6 |
|
README.md:1280 |
| 00-Introduction |
Decision flow |
11 |
yes |
README.md:1550 |
| 00-Introduction |
5.5 How to actually study this repository |
9 |
|
README.md:2097 |
| 00-Introduction |
8.1 The order of operations |
10 |
|
README.md:2434 |
| 01-Computer-Science-Basics |
2.1 The stack from transistor to app |
24 |
yes |
README.md:196 |
| 01-Computer-Science-Basics |
2.5 Trust boundaries |
14 |
yes |
README.md:412 |
| 01-Computer-Science-Basics |
3.11 Kernel space, user space, privilege rings and exception levels |
10 |
yes |
README.md:1266 |
| 01-Computer-Science-Basics |
3.12 Processes: address space, PID, and the process control block |
11 |
|
README.md:1380 |
| 01-Computer-Science-Basics |
3.17 The heap, in full |
15 |
yes |
README.md:1960 |
| 01-Computer-Science-Basics |
3.18.1 Pages and page tables |
8 |
yes |
README.md:2151 |
| 01-Computer-Science-Basics |
3.24 The compilation pipeline |
8 |
yes |
README.md:2858 |
| 01-Computer-Science-Basics |
7. Dynamic Analysis |
12 |
|
README.md:3659 |
| 02-Linux-Basics |
2.1 The layers between your keystroke and the hardware |
21 |
yes |
README.md:145 |
| 02-Linux-Basics |
2.3 The Android filesystem at a glance |
22 |
yes |
README.md:228 |
| 02-Linux-Basics |
2.4 Trust boundaries expressed as UIDs |
23 |
yes |
README.md:265 |
| 02-Linux-Basics |
The problem the inode solves |
10 |
|
README.md:528 |
| 02-Linux-Basics |
The complete access decision on Android |
13 |
yes |
README.md:983 |
| 02-Linux-Basics |
Pipes |
6 |
|
README.md:1500 |
| 02-Linux-Basics |
How Android replaces most of this with Binder |
19 |
yes |
README.md:1606 |
| 02-Linux-Basics |
The dynamic linker, and why LD_PRELOAD is a hooking primitive |
12 |
yes |
README.md:2013 |
| 02-Linux-Basics |
How Magisk uses all of this |
17 |
yes |
README.md:2263 |
| 02-Linux-Basics |
The permission decision, as a flowchart |
16 |
yes |
labs/lab-01-filesystem-and-permissions.md:1269 |
| 03-Programming-Fundamentals |
2.1 The abstraction ladder |
6 |
|
README.md:194 |
| 03-Programming-Fundamentals |
2.2 The four translation strategies |
14 |
|
README.md:234 |
| 03-Programming-Fundamentals |
2.4 Anatomy of the pipeline that turns C into a running Android library |
16 |
|
README.md:406 |
| 03-Programming-Fundamentals |
2.5 The Android version of the same pipeline |
12 |
|
README.md:460 |
| 03-Programming-Fundamentals |
3.4.2 The worked example — an allocation size overflow |
8 |
yes |
README.md:852 |
| 03-Programming-Fundamentals |
3.6.2 What the CPU actually has |
5 |
|
README.md:1156 |
| 03-Programming-Fundamentals |
3.8.3 The call stack, drawn |
10 |
yes |
README.md:1486 |
| 03-Programming-Fundamentals |
3.9.2 The linked list — flexible, scattered, pointer-chasing |
5 |
|
README.md:1680 |
| 03-Programming-Fundamentals |
3.9.3 The stack — last in, first out |
5 |
|
README.md:1737 |
| 03-Programming-Fundamentals |
3.9.4 The queue — first in, first out |
5 |
|
README.md:1782 |
| 03-Programming-Fundamentals |
3.10.2 The idea |
9 |
|
README.md:1855 |
| 03-Programming-Fundamentals |
3.10.4 Collision resolution — the two real strategies |
5 |
yes |
README.md:1911 |
| 03-Programming-Fundamentals |
3.10.7 Why this matters for DEX internals |
10 |
|
README.md:2045 |
| 03-Programming-Fundamentals |
3.11.1 Trees |
7 |
|
README.md:2086 |
| 03-Programming-Fundamentals |
3.11.2 Graphs |
7 |
|
README.md:2131 |
| 03-Programming-Fundamentals |
3.14.1 The problem |
7 |
yes |
README.md:2434 |
| 03-Programming-Fundamentals |
3.14.3 Garbage collection |
10 |
yes |
README.md:2483 |
| 03-Programming-Fundamentals |
3.17.3 Exceptions |
11 |
yes |
README.md:2793 |
| 03-Programming-Fundamentals |
3.18.2 Ahead-of-time compilation to native code |
4 |
|
README.md:2923 |
| 03-Programming-Fundamentals |
3.18.5 Android's actual pipeline, end to end |
16 |
|
README.md:3013 |
| 03-Programming-Fundamentals |
3.19.2 The mental model: a DAG of snapshots |
9 |
|
README.md:3121 |
| 03-Programming-Fundamentals |
3.19.3 The three areas |
4 |
|
README.md:3164 |
| 03-Programming-Fundamentals |
8.1 The single most important pentester skill: reading code you did not write |
8 |
yes |
README.md:4079 |
| 03-Programming-Fundamentals |
8.1.3 Move 3 — follow the state |
7 |
yes |
README.md:4160 |
| 04-Java |
2.1 From source text to a running method |
10 |
|
README.md:219 |
| 04-Java |
HashMap internals — buckets, hashing, and collisions |
12 |
|
README.md:844 |
| 04-Java |
3.10 Exceptions |
12 |
|
README.md:922 |
| 05-Kotlin |
2.1 The compilation pipeline, and where Kotlin inserts itself |
12 |
|
README.md:190 |
| 05-Kotlin |
2.3 Where Kotlin's guarantees live at runtime |
15 |
yes |
README.md:276 |
| 06-Android-Architecture |
2.1 The complete stack |
42 |
yes |
README.md:169 |
| 06-Android-Architecture |
2.2 Trust boundaries |
22 |
yes |
README.md:278 |
| 06-Android-Architecture |
2.3 The process view — what is actually running |
24 |
|
README.md:343 |
| 06-Android-Architecture |
3.2.3 Project Treble and the system/vendor split |
10 |
yes |
README.md:620 |
| 06-Android-Architecture |
3.5 The Java API framework — what "the framework" actually is |
13 |
yes |
README.md:827 |
| 06-Android-Architecture |
3.7.14 What a "soft reboot" actually is |
10 |
|
README.md:1458 |
| 06-Android-Architecture |
3.9.2 Why Zygote breaks that assumption |
8 |
yes |
README.md:1646 |
| 06-Android-Architecture |
3.10.1 What it is and why it exists |
14 |
|
README.md:1736 |
| 06-Android-Architecture |
5.1 The layered trust model, stated precisely |
8 |
yes |
README.md:2287 |
| 07-AOSP |
1.5 What is not in AOSP, and why it dominates security testing |
24 |
yes |
README.md:143 |
| 07-AOSP |
2.1 AOSP as a set of layers, mapped to directories |
31 |
yes |
README.md:237 |
| 07-AOSP |
2.2 How the ~1000 repositories become one tree |
19 |
|
README.md:300 |
| 07-AOSP |
2.3 The trust boundaries visible in the source tree |
25 |
yes |
README.md:354 |
| 07-AOSP |
2.4 Where a released device diverges from AOSP |
8 |
yes |
README.md:419 |
| 07-AOSP |
The procedure |
18 |
|
README.md:631 |
| 07-AOSP |
How enforcement works |
11 |
yes |
README.md:939 |
| 07-AOSP |
4.2 Trace B — SharedPreferences.edit().putString().apply() to bytes on disk |
35 |
|
README.md:1592 |
| 07-AOSP |
4.3 Trace C — a permission check, from checkSelfPermission to the enforcement point |
20 |
yes |
README.md:1789 |
| 07-AOSP |
Step 5 — where enforcement actually happens |
11 |
yes |
README.md:1944 |
| 07-AOSP |
5.3.4 Patch gapping — the bulletin as a vulnerability feed |
8 |
yes |
README.md:2385 |
| 08-Build-System |
2.1 The two systems side by side |
15 |
yes |
README.md:180 |
| 08-Build-System |
2.2 The platform build graph |
14 |
|
README.md:224 |
| 08-Build-System |
2.3 The app build pipeline — the big diagram |
46 |
yes |
README.md:276 |
| 08-Build-System |
2.4 The trust boundaries of a build |
15 |
yes |
README.md:416 |
| 08-Build-System |
3.4 How SELinux policy is built |
18 |
|
README.md:752 |
| 08-Build-System |
3.9 Build variants: types, flavours, and source sets |
18 |
|
README.md:1064 |
| 08-Build-System |
The priority order |
6 |
yes |
README.md:1146 |
| 08-Build-System |
3.15 Shrinking, obfuscation, and resource shrinking |
16 |
|
README.md:1543 |
| 08-Build-System |
3.16 Resources: aapt2 compile and link |
13 |
|
README.md:1596 |
| 08-Build-System |
3.19 AAB, bundletool, splits and dynamic feature modules |
8 |
|
README.md:1746 |
| 08-Build-System |
5.4 Supply-chain risk, in depth |
18 |
yes |
README.md:2689 |
| 09-Android-App-Internals |
2.1 The three axes: identity, storage, execution |
17 |
yes |
README.md:183 |
| 09-Android-App-Internals |
2.2 Who does what: the component map |
25 |
yes |
README.md:251 |
| 09-Android-App-Internals |
3.15 The main thread: Looper, MessageQueue, Handler |
16 |
|
README.md:1400 |
| 10-APK-Internals |
2.2 Parsing order — why it runs backwards |
13 |
yes |
README.md:302 |
| 10-APK-Internals |
2.3 The full picture |
26 |
yes |
README.md:334 |
| 10-APK-Internals |
3.4 resources.arsc |
13 |
|
README.md:621 |
| 10-APK-Internals |
3.5 Signing — the heart of the chapter |
21 |
yes |
README.md:682 |
| 10-APK-Internals |
The honest hierarchy |
8 |
yes |
README.md:1370 |
| 11-Android-Runtime |
1.5 Register machines versus stack machines, from first principles |
9 |
|
README.md:345 |
| 11-Android-Runtime |
2.1 Where the runtime sits in the Android stack |
19 |
yes |
README.md:486 |
| 11-Android-Runtime |
2.2 The complete lifecycle of code, source to silicon |
15 |
yes |
README.md:552 |
| 11-Android-Runtime |
2.3 The per-app process model |
10 |
yes |
README.md:660 |
| 11-Android-Runtime |
2.6 The trust boundary map |
12 |
yes |
README.md:858 |
| 11-Android-Runtime |
Mode 1 — Interpretation |
9 |
|
README.md:922 |
| 11-Android-Runtime |
The comparison, side by side |
11 |
|
README.md:1014 |
| 11-Android-Runtime |
3.10 Dynamic class loading as an attack technique |
17 |
yes |
README.md:1543 |
| 12-DEX-Internals |
2.2 The index-and-data split |
16 |
|
README.md:338 |
| 12-DEX-Internals |
2.3 From .java to classes.dex |
9 |
|
README.md:396 |
| 12-DEX-Internals |
3.8 string_id_item and string_data_item |
7 |
|
README.md:1174 |
| 12-DEX-Internals |
3.13 class_def_item |
13 |
|
README.md:1356 |
| 12-DEX-Internals |
The signed size convention |
10 |
yes |
README.md:1833 |
| 12-DEX-Internals |
5.1 Why the format is a security topic at all |
5 |
yes |
README.md:2755 |
| 13-ART |
2.1 Where ART sits in the system |
14 |
yes |
README.md:193 |
| 13-ART |
2.2 The compilation and execution pipeline |
12 |
yes |
README.md:242 |
| 13-ART |
2.5 Trust boundaries around ART |
6 |
yes |
README.md:348 |
| 13-ART |
3.16 Entry points and the trampolines they point at |
10 |
yes |
README.md:1086 |
| 13-ART |
odrefresh and odsign |
9 |
|
README.md:1450 |
| 14-Dalvik |
2.1 The Dalvik pipeline, end to end |
14 |
yes |
README.md:306 |
| 14-Dalvik |
2.2 Stack machine versus register machine |
9 |
|
README.md:353 |
| 14-Dalvik |
2.6 Where Smali sits in the modern toolchain |
14 |
yes |
README.md:623 |
| 14-Dalvik |
2.7 Trust boundaries when you rewrite Smali |
11 |
yes |
README.md:665 |
| 15-Native-Code |
2.1 From APK entry to mapped page |
19 |
yes |
README.md:213 |
| 15-Native-Code |
2.4 Trust boundaries at the native layer |
15 |
yes |
README.md:358 |
| 15-Native-Code |
3.8 PLT and GOT: the indirection that makes hooking possible |
7 |
yes |
README.md:979 |
| 16-JNI |
2.1 The bridge, drawn |
12 |
yes |
README.md:289 |
| 16-JNI |
2.3 The JNIEnv double indirection |
9 |
|
README.md:405 |
| 16-JNI |
2.4 Trust boundaries at the bridge |
15 |
yes |
README.md:440 |
| 16-JNI |
6.6 The decision tree |
11 |
|
README.md:3059 |
| 17-Libraries |
The library stack, from app code to kernel |
26 |
yes |
README.md:173 |
| 17-Libraries |
The three rings, as a decision tree |
8 |
yes |
README.md:367 |
| 17-Libraries |
8.1 The methodology — "enumerate every library in this APK and rate each" |
20 |
yes |
README.md:1786 |
| 17-Libraries |
The one-page decision flow |
15 |
yes |
mindmap.md:287 |
| 18-ARM |
2.1 What is actually on the chip |
24 |
|
README.md:174 |
| 18-ARM |
2.3 From C to silicon |
11 |
|
README.md:285 |
| 19-Memory |
2.2 What happens when you call malloc(32) |
13 |
yes |
README.md:216 |
| 19-Memory |
2.4 The detection landscape |
16 |
|
README.md:308 |
| 19-Memory |
3.13.1 The shared idea: tagged memory |
11 |
yes |
README.md:1089 |
| 20-Security-Architecture |
2.1 Defence in depth, drawn once |
30 |
yes |
README.md:103 |
| 20-Security-Architecture |
2.2 Trust boundaries, named explicitly |
20 |
yes |
README.md:171 |
| 20-Security-Architecture |
The mechanism: a Merkle tree |
15 |
yes |
README.md:382 |
| 20-Security-Architecture |
Why dm-verity forced Magisk to be "systemless" |
7 |
yes |
README.md:458 |
| 20-Security-Architecture |
3.9 Synthesis — what is actually attackable in a typical engagement |
12 |
yes |
README.md:800 |
| 21-App-Sandbox |
2.1 The sandbox as nested enforcement layers |
23 |
yes |
README.md:114 |
| 21-App-Sandbox |
2.2 The trust boundaries, named |
15 |
yes |
README.md:171 |
| 21-App-Sandbox |
3.4 SELinux as the second layer — the short version |
8 |
yes |
README.md:547 |
| 21-App-Sandbox |
What isolatedProcess gives you |
7 |
yes |
README.md:709 |
| 21-App-Sandbox |
What the SDK Runtime does |
9 |
yes |
README.md:786 |
| 21-App-Sandbox |
What scoped storage changes |
6 |
yes |
README.md:958 |
| 21-App-Sandbox |
3.14 What the sandbox does NOT protect against |
14 |
yes |
README.md:1094 |
| 21-App-Sandbox |
3.15 Sandbox escape — the six classes |
13 |
yes |
README.md:1325 |
| 22-SELinux |
2.1 Where SELinux sits in a system call |
21 |
yes |
README.md:127 |
| 22-SELinux |
2.2 The three layers of enforcement, drawn |
13 |
yes |
README.md:184 |
| 22-SELinux |
2.4 The trust boundaries SELinux draws |
19 |
yes |
README.md:264 |
| 22-SELinux |
Diagram: the two apps |
14 |
yes |
README.md:908 |
| 23-Permissions |
2.1 The life of one permission, end to end |
15 |
yes |
README.md:204 |
| 23-Permissions |
2.2 The three lists, and why conflating them produces wrong findings |
9 |
yes |
README.md:258 |
| 23-Permissions |
2.4 The trust boundary drawn properly |
10 |
yes |
README.md:345 |
| 23-Permissions |
Where the framework check physically lives |
11 |
yes |
README.md:1507 |
| 23-Permissions |
The idea |
8 |
yes |
README.md:1557 |
| 24-IPC |
2.1 The whole IPC landscape in one picture |
20 |
yes |
README.md:184 |
| 24-IPC |
2.2 The two shapes of IPC: mediated and direct |
9 |
yes |
README.md:267 |
| 24-IPC |
2.4 Trust boundaries drawn explicitly |
13 |
yes |
README.md:339 |
| 24-IPC |
3.3 Binder — the substrate everything else sits on |
11 |
yes |
README.md:468 |
| 24-IPC |
3.4 Intents — the framework's message envelope |
9 |
yes |
README.md:515 |
| 24-IPC |
3.22 A full methodology for enumerating an app's IPC surface |
8 |
|
README.md:2089 |
| 25-Binder |
2.1 The whole stack in one picture |
22 |
yes |
README.md:169 |
| 25-Binder |
2.3 The trust boundaries, drawn explicitly |
16 |
yes |
README.md:277 |
| 25-Binder |
2.4 Four device nodes, four separate worlds |
12 |
yes |
README.md:329 |
| 25-Binder |
5.1 The one-sentence threat model |
16 |
yes |
README.md:2008 |
| 26-Intent |
2.3 The trust boundary |
12 |
yes |
README.md:252 |
| 26-Intent |
2.4 Where resolution happens |
13 |
yes |
README.md:304 |
| 26-Intent |
3.4 The resolution algorithm — the part readers get wrong |
13 |
yes |
README.md:462 |
| 26-Intent |
Test 3 — data |
8 |
|
README.md:536 |
| 26-Intent |
4.3 From startActivity to the resolver |
33 |
yes |
README.md:1395 |
| 26-Intent |
The two apps, at a glance |
10 |
yes |
examples/README.md:80 |
| 27-ContentProviders |
The call path from a client app to a provider |
19 |
yes |
README.md:137 |
| 27-ContentProviders |
Anatomy of a content URI |
10 |
yes |
README.md:208 |
| 27-ContentProviders |
Where providers sit among the four component types |
8 |
|
README.md:231 |
| 27-ContentProviders |
The exploit |
7 |
yes |
README.md:1812 |
| 27-ContentProviders |
7.7 A complete testing workflow |
15 |
yes |
README.md:2734 |
| 28-Services |
1.4 The three shapes, in one paragraph each |
9 |
|
README.md:133 |
| 28-Services |
2.1 Who is involved |
18 |
yes |
README.md:191 |
| 28-Services |
2.4 The trust boundaries, named |
12 |
yes |
README.md:326 |
| 28-Services |
2.5 Where the three IBinder shapes sit |
9 |
yes |
README.md:367 |
| 29-BroadcastReceivers |
2.1 The whole path, in one picture |
26 |
yes |
README.md:199 |
| 29-BroadcastReceivers |
2.2 The two registration paths — the visibility gap |
15 |
yes |
README.md:277 |
| 29-BroadcastReceivers |
2.3 The trust boundary, drawn explicitly |
16 |
yes |
README.md:346 |
| 29-BroadcastReceivers |
3.8 The two permission checks, and their asymmetry |
8 |
yes |
README.md:1028 |
| 30-Activities |
2.1 The four nouns, and how they nest |
10 |
yes |
README.md:155 |
| 30-Activities |
2.3 The trust boundary |
12 |
yes |
README.md:248 |
| 30-Activities |
2.4 Where the two signature attacks sit |
11 |
yes |
README.md:296 |
| 31-Fragments |
2.1 Where a Fragment actually sits |
14 |
yes |
README.md:166 |
| 31-Fragments |
2.3 The trust boundary |
14 |
yes |
README.md:272 |
| 31-Fragments |
5.1 The taxonomy |
12 |
yes |
README.md:1149 |
| 32-Manifest |
Where the manifest sits in the APK |
9 |
yes |
README.md:139 |
| 32-Manifest |
The lifecycle of a manifest, from source to enforcement |
16 |
yes |
README.md:169 |
| 32-Manifest |
The trust boundary the manifest defines |
11 |
yes |
README.md:222 |
| 32-Manifest |
The two parsers you must reconcile |
9 |
yes |
README.md:263 |
| 32-Manifest |
Reading the backup attributes together |
10 |
yes |
README.md:643 |
| 32-Manifest |
The provider audit flow |
18 |
yes |
README.md:1008 |
| 32-Manifest |
3.17 Manifest merging — how components you never wrote appear in your APK |
8 |
yes |
README.md:1394 |
| 32-Manifest |
4.4 The runtime check: exported and permission for an Activity |
13 |
yes |
README.md:1628 |
| 33-Storage |
2.2 The two trust boundaries |
14 |
yes |
README.md:232 |
| 34-Cryptography |
2.1 The map of cryptography |
17 |
|
README.md:192 |
| 34-Cryptography |
2.2 Where crypto lives in the Android stack |
19 |
yes |
README.md:241 |
| 34-Cryptography |
2.4 The shape of a correct encryption operation |
12 |
yes |
README.md:355 |
| 34-Cryptography |
3.3.1 ECB — Electronic Codebook |
9 |
yes |
README.md:505 |
| 34-Cryptography |
3.3.2 CBC — Cipher Block Chaining |
13 |
|
README.md:549 |
| 34-Cryptography |
3.3.4 CTR — Counter mode |
15 |
|
README.md:676 |
| 34-Cryptography |
3.3.5 GCM — Galois/Counter Mode, and the catastrophe of nonce reuse |
22 |
yes |
README.md:710 |
| 34-Cryptography |
3.6.1 The problem it solves |
5 |
yes |
README.md:959 |
| 34-Cryptography |
3.7.1 Length extension, and why HMAC exists |
8 |
yes |
README.md:1209 |
| 34-Cryptography |
3.8.2 Encrypt-then-MAC versus MAC-then-encrypt |
17 |
yes |
README.md:1264 |
| 34-Cryptography |
3.8.3 Key derivation functions |
11 |
|
README.md:1344 |
| 34-Cryptography |
3.10 Digital signatures and PKI in one page |
7 |
|
README.md:1462 |
| 35-SSL |
2.1 Where TLS sits |
14 |
yes |
README.md:185 |
| 35-SSL |
2.3 The two questions, drawn separately |
7 |
yes |
README.md:284 |
| 35-SSL |
The shape of the exercise |
10 |
yes |
labs/lab-01-end-to-end-interception.md:79 |
| 35-SSL |
Stage 5 — Route 2: promote the CA to the system store |
6 |
yes |
labs/lab-01-end-to-end-interception.md:366 |
| 35-SSL |
Why one bad certificate is not enough |
9 |
yes |
labs/lab-02-deliberate-bad-certificate.md:39 |
| 35-SSL |
Part 0 — The six checks, named precisely |
14 |
yes |
labs/lab-03-dissecting-validation.md:83 |
| 35-SSL |
The field: what stands between you and the flag |
8 |
yes |
labs/lab-04-ctf-the-trusted-impostor.md:316 |
| 36-CertificatePinning |
2.1 The layers |
15 |
yes |
README.md:199 |
| 36-CertificatePinning |
2.3 Where the code physically lives |
11 |
yes |
README.md:303 |
| 36-CertificatePinning |
7.1 The workflow, in the order that works |
11 |
yes |
README.md:1767 |
| 36-CertificatePinning |
1. The failure this lab is designed to give you |
9 |
yes |
labs/lab-02-defeat-a-two-layer-pin.md:28 |
| 36-CertificatePinning |
4.1 The topology |
10 |
yes |
labs/lab-04-ctf-the-pin-that-moved.md:102 |
| 37-RootDetection |
2.1 What is on the device after rooting |
18 |
yes |
README.md:174 |
| 37-RootDetection |
2.2 The detection surface map |
16 |
yes |
README.md:233 |
| 37-RootDetection |
2.3 Where a check runs, and why that decides your approach |
11 |
yes |
README.md:274 |
| 37-RootDetection |
2.4 The trust boundary, drawn honestly |
9 |
yes |
README.md:301 |
| 37-RootDetection |
How it works |
12 |
yes |
README.md:1635 |
| 37-RootDetection |
7.1 The methodology, before any tool |
13 |
yes |
README.md:2459 |
| 37-RootDetection |
9.4 Real application — a banking app's layered posture |
9 |
yes |
README.md:2871 |
| 38-TamperDetection |
2.1 The life of a tampered app |
17 |
yes |
README.md:261 |
| 38-TamperDetection |
2.2 The five tiers — when each check runs |
14 |
|
README.md:308 |
| 38-TamperDetection |
2.4 The detection surface, drawn honestly |
16 |
yes |
README.md:399 |
| 38-TamperDetection |
2.5 A decision tree for the first ten minutes |
15 |
yes |
README.md:445 |
| 38-TamperDetection |
Cross-chapter map |
16 |
|
mindmap.md:222 |
| 39-EmulatorDetection |
2.1 Where the signals come from |
16 |
yes |
README.md:200 |
| 39-EmulatorDetection |
2.2 The detection surface, by cost to defeat |
15 |
yes |
README.md:268 |
| 39-EmulatorDetection |
2.3 The trust boundary, drawn honestly |
11 |
yes |
README.md:323 |
| 39-EmulatorDetection |
Related chapters |
12 |
yes |
mindmap.md:176 |
| 40-Obfuscation |
Where obfuscation happens in the build |
23 |
yes |
README.md:156 |
| 40-Obfuscation |
The attacker's decision tree |
12 |
yes |
README.md:234 |
| 40-Obfuscation |
3.3.2 Control-flow flattening — the important one |
10 |
|
README.md:797 |
| 40-Obfuscation |
3.3.2 Control-flow flattening — the important one |
11 |
yes |
README.md:813 |
| 40-Obfuscation |
3.7.3 The general unpacking methodology |
12 |
yes |
README.md:1200 |
| 40-Obfuscation |
3.7.4 Commercial protector families, descriptively |
7 |
|
README.md:1333 |
| 40-Obfuscation |
6.1 THE DEOBFUSCATION METHODOLOGY |
12 |
yes |
README.md:1798 |
| 40-Obfuscation |
Phase 2 — Decide static or dynamic |
7 |
yes |
README.md:1852 |
| 41-ProGuard |
2.1 Where the rules file enters the build |
19 |
yes |
README.md:214 |
| 41-ProGuard |
2.3 The reachability model — what "keep" actually means |
15 |
yes |
README.md:325 |
| 41-ProGuard |
2.4 Trust boundaries, and where the interesting artefacts land |
11 |
yes |
README.md:401 |
| 41-ProGuard |
2.5 Where a rules file physically lives |
13 |
|
README.md:450 |
| 41-ProGuard |
The same material as a decision path |
22 |
yes |
mindmap.md:154 |
| 42-R8 |
2.1 Where R8 sits in the build |
17 |
yes |
README.md:137 |
| 42-R8 |
2.3 What comes out, and who is allowed to see it |
10 |
yes |
README.md:218 |
| 43-WebView |
2.1 Where everything actually runs |
15 |
yes |
README.md:212 |
| 43-WebView |
2.3 The class stack, from the API you type to the code that runs |
15 |
|
README.md:330 |
| 43-WebView |
2.4 The certificate-error path, drawn on its own |
15 |
yes |
README.md:388 |
| 43-WebView |
2.5 The two network stacks in one app |
11 |
yes |
README.md:434 |
| 44-NetworkSecurityConfig |
2.1 From a manifest attribute to a TLS decision |
23 |
|
README.md:221 |
| 44-NetworkSecurityConfig |
2.3 Which configuration applies to which host |
11 |
yes |
README.md:328 |
| 45-OAuth |
The four roles |
4 |
yes |
README.md:111 |
| 45-OAuth |
2.1 The complete Android OAuth topology |
13 |
yes |
README.md:192 |
| 45-OAuth |
2.2 The trust boundaries, drawn explicitly |
16 |
yes |
README.md:250 |
| 45-OAuth |
2.4 Grant-type decision tree |
9 |
yes |
README.md:324 |
| 45-OAuth |
3.9 Custom Tabs versus WebView |
8 |
yes |
README.md:834 |
| 45-OAuth |
id_token versus access_token — the distinction that breaks systems |
15 |
yes |
README.md:1193 |
| 45-OAuth |
5.5 How pentesters test it — the methodology in one place |
9 |
|
README.md:1825 |
| 46-Tokens |
2.1 The life of a token, end to end |
12 |
yes |
README.md:267 |
| 46-Tokens |
2.2 The trust boundaries |
16 |
yes |
README.md:332 |
| 46-Tokens |
2.3 The two token shapes, side by side |
10 |
|
README.md:381 |
| 46-Tokens |
3.3 Opaque tokens, and why the distinction changes everything |
10 |
yes |
README.md:650 |
| 46-Tokens |
7.1 The method, in order |
10 |
|
README.md:2349 |
| 47-Authentication |
2.1 The whole picture, and where trust stops |
20 |
yes |
README.md:252 |
| 47-Authentication |
3.3 Password handling — where a password comes from, before it reaches a KDF |
9 |
yes |
README.md:554 |
| 47-Authentication |
7.1 The order of operations, and why traffic comes first |
6 |
yes |
README.md:2562 |
| 48-Biometrics |
2.1 The whole system, once |
18 |
yes |
README.md:188 |
| 48-Biometrics |
2.3 Where each authenticator class can and cannot reach |
12 |
yes |
README.md:324 |
| 48-Biometrics |
3.8 What actually reaches the TEE — enrolment, matching, and the token |
10 |
yes |
README.md:846 |
| 48-Biometrics |
7.1 The three-pass method |
12 |
yes |
README.md:1786 |
| 48-Biometrics |
9.4 Real application — a password manager |
6 |
|
README.md:2388 |
| 48-Biometrics |
0. The shape of the work |
7 |
|
labs/lab-03-audit-a-real-app.md:32 |
| 49-KeyStore |
2.1 The full stack, from your Cipher call to the silicon |
23 |
yes |
README.md:113 |
| 49-KeyStore |
2.4 Trust boundaries, drawn explicitly |
11 |
yes |
README.md:268 |
| 49-KeyStore |
3.7.3 The chain |
5 |
|
README.md:534 |
| 49-KeyStore |
3.7.5 How a server verifies, step by step |
20 |
yes |
README.md:625 |
| 49-KeyStore |
7.1 The methodology, as a process |
9 |
|
README.md:1298 |
| 50-HardwareBackedSecurity |
2.1 The trust hierarchy, drawn once |
18 |
yes |
README.md:141 |
| 50-HardwareBackedSecurity |
2.5 Where the boundaries are, and what crossing each one buys an attacker |
12 |
yes |
README.md:329 |
| 50-HardwareBackedSecurity |
3.7.2 How KeyMint checks it |
14 |
yes |
README.md:706 |
| 51-DynamicAnalysis |
2.1 The pipeline |
20 |
yes |
README.md:208 |
| 51-DynamicAnalysis |
2.2 The nine observation channels, and what each can and cannot see |
12 |
|
README.md:271 |
| 51-DynamicAnalysis |
2.5 The trust boundary you are standing on |
11 |
yes |
README.md:441 |
| 51-DynamicAnalysis |
3.5.1 The four altitudes |
10 |
yes |
README.md:1025 |
| 51-DynamicAnalysis |
7.4 Instrumenting: the decision, not the mechanism |
11 |
yes |
README.md:2783 |
| 52-StaticAnalysis |
2.1 The pipeline |
22 |
yes |
README.md:157 |
| 52-StaticAnalysis |
2.2 What each view can and cannot see |
16 |
yes |
README.md:216 |
| 52-StaticAnalysis |
2.4 The trust boundary you are standing on |
8 |
yes |
README.md:297 |
| 52-StaticAnalysis |
7.5 Which tool answers this question? |
12 |
yes |
README.md:1895 |
| 53-Frida |
2.1 The whole system, one picture |
25 |
yes |
README.md:139 |
| 53-Frida |
2.3 Spawn versus attach |
16 |
yes |
README.md:275 |
| 53-Frida |
2.5 The no-root path: frida-gadget |
14 |
yes |
README.md:367 |
| 53-Frida |
3.6.1 Interceptor — attach versus replace |
18 |
|
README.md:793 |
| 53-Frida |
3.7 Stalker — instruction-level tracing |
13 |
yes |
README.md:1321 |
| 53-Frida |
3.9.2 How a Java hook is installed, at the ART level |
11 |
|
README.md:1538 |
| 53-Frida |
7.2 The engagement workflow |
10 |
|
README.md:3096 |
| 53-Frida |
7.4 The four failure modes, exhaustively |
12 |
yes |
README.md:3439 |
| 53-Frida |
7.4.2 Failure 2 — ClassNotFoundException and the ClassLoader problem |
5 |
yes |
README.md:3598 |
| 53-Frida |
7.10 The no-root path: frida-gadget |
11 |
yes |
README.md:4600 |
| 54-Objection |
2.1 The whole system in one picture |
11 |
yes |
README.md:180 |
| 54-Objection |
2.3 One agent, not one script per command |
9 |
|
README.md:289 |
| 54-Objection |
3.11 Version skew — the commonest real-world blocker |
5 |
yes |
README.md:1194 |
| 54-Objection |
4.1 One command, end to end |
16 |
yes |
README.md:1254 |
| 54-Objection |
7.3 The four failure modes, and how to tell them apart |
10 |
yes |
README.md:1800 |
| 55-MobSF |
2.1 What happens when you upload an APK |
19 |
yes |
README.md:339 |
| 55-MobSF |
2.2 Where MobSF sits inside 52's pipeline |
12 |
yes |
README.md:402 |
| 55-MobSF |
2.5 Static and dynamic, as two different machines |
12 |
|
README.md:565 |
| 55-MobSF |
2.6 The trust boundary you are standing on |
13 |
yes |
README.md:597 |
| 56-JADX |
1.4 The three ways jadx fails |
7 |
yes |
README.md:255 |
| 56-JADX |
2.1 Where jadx sits between the build and you |
11 |
yes |
README.md:324 |
| 56-JADX |
2.3 The jadx internal pipeline |
16 |
yes |
README.md:405 |
| 56-JADX |
2.4 GUI or CLI: a decision, not a preference |
4 |
|
README.md:444 |
| 56-JADX |
2.5 Trust boundary: jadx runs attacker-supplied input |
9 |
yes |
README.md:474 |
| 57-Ghidra |
The decompilation pipeline |
13 |
|
README.md:158 |
| 57-Ghidra |
Ghidra's process architecture |
8 |
|
README.md:198 |
| 57-Ghidra |
Where Ghidra sits in the Android RE workflow |
9 |
yes |
README.md:242 |
| 57-Ghidra |
3.8 The JNIEnv problem, and how to solve it |
8 |
|
README.md:662 |
| 57-Ghidra |
3.9 Finding JNI entry points |
9 |
yes |
README.md:765 |
| 57-Ghidra |
7.1 The address arithmetic that connects the two worlds |
4 |
|
README.md:1825 |
| 58-IDA |
2.1 The pipeline |
11 |
|
README.md:241 |
| 58-IDA |
2.2 The database, and what is actually in it |
8 |
yes |
README.md:282 |
| 58-IDA |
2.3 Where IDA sits in an Android workflow |
12 |
yes |
README.md:334 |
| 58-IDA |
3.4 Hex-Rays: microcode, and why it is not P-Code |
13 |
|
README.md:546 |
| 58-IDA |
3.7 FLIRT — measured, not described |
9 |
yes |
README.md:837 |
| 59-radare2 |
The library stack |
17 |
|
README.md:185 |
| 59-radare2 |
The separation that matters: parse versus analyse |
5 |
|
README.md:256 |
| 59-radare2 |
Where radare2 sits in the Android workflow |
10 |
yes |
README.md:359 |
| 59-radare2 |
3.2 The command language, taught as a grammar |
10 |
|
README.md:466 |
| 59-radare2 |
3.6 Analysis levels — aaa and what it actually costs |
8 |
|
README.md:882 |
| 59-radare2 |
3.14 radare2 versus rizin versus Cutter |
6 |
|
README.md:1327 |
| 59-radare2 |
7.1 The address arithmetic that connects static to dynamic |
7 |
|
README.md:2001 |
| 59-radare2 |
How the pieces connect |
11 |
yes |
mindmap.md:166 |
| 59-radare2 |
The two failure modes, side by side |
15 |
yes |
mindmap.md:195 |
| 60-ADB |
2.1 Three programs, not one |
15 |
yes |
README.md:133 |
| 60-ADB |
2.4 Where the trust boundaries actually are |
11 |
yes |
README.md:284 |
| 61-Fastboot |
2.1 Where fastboot sits relative to everything else |
15 |
yes |
README.md:199 |
| 61-Fastboot |
2.4 Two implementations of one protocol |
12 |
|
README.md:381 |
| 61-Fastboot |
3.7 Dynamic partitions and the super partition |
4 |
|
README.md:889 |
| 61-Fastboot |
9.5 Enterprise — a fleet device-posture pipeline |
11 |
yes |
README.md:2602 |
| 62-Magisk |
2.1 Where Magisk sits in the boot chain |
21 |
yes |
README.md:160 |
| 62-Magisk |
2.2 The overlay illusion |
13 |
yes |
README.md:223 |
| 62-Magisk |
2.4 Zygisk — injection into every app |
16 |
yes |
README.md:312 |
| 63-LSPosed |
2.1 The injection chain, end to end |
20 |
yes |
README.md:249 |
| 63-LSPosed |
2.3 Four processes, four privilege levels |
10 |
yes |
README.md:353 |
| 63-LSPosed |
2.5 Classic Xposed and LSPosed, side by side |
10 |
yes |
README.md:421 |
| 63-LSPosed |
3.5 Getting a module's DEX into a foreign process — and the class-loader problem |
4 |
yes |
README.md:606 |
| 63-LSPosed |
3.10 The backup method — the trampoline of the managed world |
7 |
yes |
README.md:873 |
| 63-LSPosed |
3.13 Timing: the three entry points and what exists at each |
12 |
|
README.md:986 |
| 63-LSPosed |
Decision: which instrument? |
15 |
|
mindmap.md:165 |
| 63-LSPosed |
Diagnostic: the hook did not fire |
18 |
yes |
mindmap.md:196 |
| 63-LSPosed |
The four privilege levels, at a glance |
5 |
yes |
mindmap.md:229 |
| 64-Xposed |
2.1 The boot chain classic Xposed inserted itself into |
20 |
yes |
README.md:313 |
| 64-Xposed |
2.5 The four things Xposed needed, and when each became impossible |
10 |
yes |
README.md:490 |
| 65-Hooking |
2.1 The five places a call can be intercepted |
20 |
yes |
README.md:167 |
| 65-Hooking |
2.2 What each hook physically overwrites |
11 |
|
README.md:211 |
| 65-Hooking |
2.5 Blast radius: the property that should drive your choice |
6 |
yes |
README.md:318 |
| 65-Hooking |
The one-diagram version |
13 |
yes |
mindmap.md:163 |
| 66-Instrumentation |
2.1 The command path |
17 |
yes |
README.md:180 |
| 67-BypassingProtections |
2.1 The five seams |
20 |
yes |
README.md:190 |
| 67-BypassingProtections |
2.5 Where the responses live |
11 |
yes |
README.md:350 |
| 67-BypassingProtections |
The same thing as a decision tree |
26 |
yes |
mindmap.md:215 |
| 68-ReverseEngineering |
2.1 The investigation loop |
10 |
|
README.md:335 |
| 68-ReverseEngineering |
2.2 The triage funnel, across both halves |
12 |
yes |
README.md:386 |
| 68-ReverseEngineering |
2.3 The evidence ladder |
6 |
yes |
README.md:436 |
| 68-ReverseEngineering |
2.4 Where the tools sit on the loop |
13 |
|
README.md:486 |
| 68-ReverseEngineering |
3.3 Stage 2 — triage in twenty minutes |
5 |
yes |
README.md:702 |
| 68-ReverseEngineering |
3.8 Crossing the managed/native boundary as one question |
8 |
|
README.md:992 |
| 69-MalwareAnalysis |
2.1 The triage pipeline |
22 |
yes |
README.md:313 |
| 69-MalwareAnalysis |
2.4 The analysis environment — what "isolation" means concretely |
10 |
yes |
README.md:502 |
| 69-MalwareAnalysis |
2.5 The trust boundary you are standing on |
9 |
yes |
README.md:548 |
| 69-MalwareAnalysis |
How the chapters connect |
17 |
yes |
mindmap.md:211 |
| 69-MalwareAnalysis |
The one-page decision tree |
12 |
yes |
mindmap.md:264 |
| 70-VulnerabilityResearch |
1.3 A crash is not a bug, and a bug is not a vulnerability |
6 |
yes |
README.md:147 |
| 70-VulnerabilityResearch |
2.1 The pipeline |
8 |
|
README.md:305 |
| 70-VulnerabilityResearch |
2.2 The Android attack surface, drawn by who can reach what |
13 |
yes |
README.md:343 |
| 70-VulnerabilityResearch |
2.3 The funnel, with real numbers |
8 |
|
README.md:412 |
| 70-VulnerabilityResearch |
The same thing as a decision flow |
20 |
yes |
mindmap.md:187 |
| 71-OWASP-Mobile |
How the three documents relate |
20 |
|
README.md:105 |
| 71-OWASP-Mobile |
The verification levels |
6 |
yes |
README.md:160 |
| 71-OWASP-Mobile |
Where each control area maps in this repository |
28 |
|
README.md:192 |
| 71-OWASP-Mobile |
Scoping an engagement against the standard |
10 |
|
README.md:389 |
| 71-OWASP-Mobile |
Step 4 — The composition hunt, specifically |
5 |
yes |
labs/lab-03-find-the-gap.md:203 |
| 72-RealWorldFindings |
2.1 The adjudication pipeline |
10 |
yes |
README.md:184 |
| 72-RealWorldFindings |
2.2 Where each finding class comes from |
14 |
yes |
README.md:232 |
| 73-Labs |
2.1 The corpus as a system |
15 |
yes |
README.md:164 |
| 74-CaseStudies |
2.1 The five phases every investigation actually has |
9 |
yes |
README.md:173 |
| 74-CaseStudies |
2.2 What each case is really about — the same shape six times |
16 |
yes |
README.md:205 |
| 74-CaseStudies |
The chapter as a decision procedure |
12 |
yes |
mindmap.md:158 |
| 75-InterviewQuestions |
2.1 The pipeline as a system |
13 |
yes |
README.md:283 |
| 76-CheatSheets |
How the parts fit together |
14 |
yes |
mindmap.md:112 |
| 76-CheatSheets |
The decision the chapter is built on |
6 |
yes |
mindmap.md:163 |
| 77-UsefulCommands |
Where your commands actually land |
28 |
yes |
README.md:89 |
| 77-UsefulCommands |
The privilege ladder |
6 |
|
README.md:166 |
| 78-Diagrams |
4.1 The Android security stack, end to end |
17 |
yes |
README.md:334 |
| 78-Diagrams |
4.3 Where every chapter sits in the platform |
22 |
|
README.md:444 |
| 78-Diagrams |
4.4 The complete trust-boundary map |
16 |
yes |
README.md:505 |
| 78-Diagrams |
5.2 Flowchart arrows and node shapes |
6 |
|
README.md:707 |
| 78-Diagrams |
6.1 Show the boundary, do not imply it |
6 |
yes |
README.md:847 |
| 78-Diagrams |
6.4 Draw the actual flow, not the intended one |
8 |
yes |
README.md:919 |
| 78-Diagrams |
Version A — the diagram most people draw |
5 |
|
examples/01-one-system-three-diagrams.md:30 |
| 78-Diagrams |
Version B — the same system with the boundaries drawn |
10 |
yes |
examples/01-one-system-three-diagrams.md:106 |
| 78-Diagrams |
3 — A backslash-escaped quote inside a quoted label |
3 |
|
examples/02-broken-diagrams-and-their-fixes.md:128 |
| 78-Diagrams |
3 — A backslash-escaped quote inside a quoted label |
2 |
|
examples/02-broken-diagrams-and-their-fixes.md:135 |
| 78-Diagrams |
6 — Unquoted parentheses in flowchart node text |
3 |
|
examples/02-broken-diagrams-and-their-fixes.md:254 |
| 78-Diagrams |
Part 5 — Draw it |
15 |
yes |
labs/lab-01-boundaries-from-evidence.md:287 |
| 78-Diagrams |
Part 5 — Redraw the diagram with the omission in it |
10 |
yes |
labs/lab-02-what-the-diagram-omits.md:282 |
| 78-Diagrams |
Part 3 — Draw the actual flow |
11 |
yes |
labs/lab-03-intended-versus-actual.md:294 |
| 78-Diagrams |
The topology you were given |
5 |
|
labs/lab-04-ctf-the-cartographers-error.md:178 |
| 78-Diagrams |
Stage 5 — Redraw it |
12 |
yes |
labs/lab-04-ctf-the-cartographers-error.md:403 |