Skip to content

Diagram index — by chapter

Built mechanically by scripts/diagram-census.py.

This index deliberately does not reproduce the diagrams. A diagram copied out of its chapter loses the prose that STYLE-GUIDE.md requires to sit beside it, and goes stale the moment the original is edited. What you get here is the location, the shape, and the size — enough to decide whether to open it.

Columns: Type is the Mermaid diagram family. Nodes is a crude count of distinct node, participant or class identifiers — a size signal, not an analysis. Boundaries counts subgraph blocks, which is how this repository draws a trust boundary. Atk marks a diagram that colours attacker-controlled input #f9d0d0, the convention in STYLE-GUIDE.md section 6.

818 diagrams across 182 files in 82 chapters.

(root) (2)

# Depicts Type Nodes Boundaries Atk Location
1 Learning path flowchart 13 0 README.md:94
2 6. Diagram conventions flowchart 5 2 yes STYLE-GUIDE.md:227

00-Introduction (11)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The map of the whole field flowchart 29 6 README.md:181
2 2.2 Where the attacker sits relative to the app flowchart 22 8 yes README.md:234
3 2.3 What a typical engagement looks like as a sequence sequence 5 0 README.md:320
4 2.4 The learning state machine state 0 0 README.md:356
5 3.2 The career ladder flowchart 10 0 README.md:423
6 Magisk: the systemless approach flowchart 6 0 README.md:1280
7 Decision flow flowchart 11 0 yes README.md:1550
8 5.5 How to actually study this repository flowchart 9 0 README.md:2097
9 8.1 The order of operations flowchart 10 0 README.md:2434
10 13.2 Chapter mind map mindmap 1 0 README.md:3054
11 (no heading above it) mindmap 1 0 mindmap.md:7

01-Computer-Science-Basics (25)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The stack from transistor to app flowchart 24 5 yes README.md:196
2 2.2 What one function call actually costs block layout 12 0 README.md:275
3 2.3 A process's address space block layout 13 0 README.md:313
4 2.4 The lifetime of one instruction sequence 8 0 README.md:361
5 2.5 Trust boundaries flowchart 14 5 yes README.md:412
6 3.6 What a CPU does: fetch, decode, execute state 0 0 README.md:903
7 3.11 Kernel space, user space, privilege rings and exception levels flowchart 10 2 yes README.md:1266
8 3.12 Processes: address space, PID, and the process control block flowchart 11 1 README.md:1380
9 3.12 Processes: address space, PID, and the process control block state 6 0 README.md:1405
10 3.13 fork, exec, and why Zygote exists sequence 4 0 README.md:1469
11 3.13.1 Zygote: fork without exec sequence 4 0 README.md:1558
12 3.16 The stack, in full block layout 15 0 README.md:1798
13 3.17 The heap, in full flowchart 15 0 yes README.md:1960
14 3.18.1 Pages and page tables flowchart 8 0 yes README.md:2151
15 3.19 System calls sequence 4 0 README.md:2378
16 3.23 ELF: the container for all native code block layout 15 0 README.md:2763
17 3.24 The compilation pipeline flowchart 8 0 yes README.md:2858
18 3.25 Static versus dynamic linking sequence 5 0 README.md:2967
19 4.2 Trace one: open() in Java reaches the kernel sequence 6 0 README.md:3121
20 4.3 Trace two: an app process is born sequence 6 0 README.md:3161
21 7. Dynamic Analysis flowchart 12 0 README.md:3659
22 13.2 Chapter mind map mindmap 1 0 README.md:4774
23 (no heading above it) mindmap 1 0 mindmap.md:13
24 Part C — Reading /proc/<pid>/maps block layout 13 0 labs/lab-02-processes-memory-maps.md:355
25 Part B — Read the prologue and epilogue block layout 10 0 labs/lab-03-stack-frames-and-overflow.md:299

02-Linux-Basics (18)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The layers between your keystroke and the hardware flowchart 21 3 yes README.md:145
2 2.2 Process creation: what actually happens when you type ls sequence 5 0 README.md:190
3 2.3 The Android filesystem at a glance flowchart 22 0 yes README.md:228
4 2.4 Trust boundaries expressed as UIDs flowchart 23 6 yes README.md:265
5 The problem the inode solves flowchart 10 2 README.md:528
6 How an app gets its UID: the install flow sequence 5 0 README.md:730
7 The complete access decision on Android flowchart 13 0 yes README.md:983
8 fork(), execve(), wait(), exit() — the process lifecycle state 7 0 README.md:1051
9 Android's twist: Zygote instead of fork+exec sequence 5 0 README.md:1075
10 Signals and debugging — the part that matters for Android RE sequence 3 0 README.md:1374
11 Pipes flowchart 6 0 README.md:1500
12 How Android replaces most of this with Binder flowchart 19 3 yes README.md:1606
13 The dynamic linker, and why LD_PRELOAD is a hooking primitive flowchart 12 0 yes README.md:2013
14 How Magisk uses all of this flowchart 17 3 yes README.md:2263
15 4.4 Tracing one complete path: File.exists() down to the kernel sequence 6 0 README.md:2439
16 13.2 Chapter mind map mindmap 2 0 README.md:3440
17 (no heading above it) mindmap 4 0 mindmap.md:5
18 The permission decision, as a flowchart flowchart 16 0 yes labs/lab-01-filesystem-and-permissions.md:1269

03-Programming-Fundamentals (31)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The abstraction ladder flowchart 6 0 README.md:194
2 2.2 The four translation strategies flowchart 14 5 README.md:234
3 2.4 Anatomy of the pipeline that turns C into a running Android library flowchart 16 0 README.md:406
4 2.5 The Android version of the same pipeline flowchart 12 2 README.md:460
5 2.6 Where each concept in this chapter lands in the Android stack mindmap 4 0 README.md:497
6 3.1 Variables and memory — what a variable actually is block layout 13 0 README.md:584
7 3.4.2 The worked example — an allocation size overflow flowchart 8 0 yes README.md:852
8 3.6.2 What the CPU actually has flowchart 5 0 README.md:1156
9 3.8.3 The call stack, drawn flowchart 10 1 yes README.md:1486
10 3.9.2 The linked list — flexible, scattered, pointer-chasing flowchart 5 0 README.md:1680
11 3.9.3 The stack — last in, first out flowchart 5 1 README.md:1737
12 3.9.4 The queue — first in, first out flowchart 5 0 README.md:1782
13 3.10.2 The idea flowchart 9 0 README.md:1855
14 3.10.4 Collision resolution — the two real strategies flowchart 5 0 yes README.md:1911
15 3.10.7 Why this matters for DEX internals flowchart 10 2 README.md:2045
16 3.11.1 Trees flowchart 7 0 README.md:2086
17 3.11.2 Graphs flowchart 7 0 README.md:2131
18 3.14.1 The problem flowchart 7 0 yes README.md:2434
19 3.14.3 Garbage collection flowchart 10 2 yes README.md:2483
20 3.17.3 Exceptions flowchart 11 0 yes README.md:2793
21 3.18.1 Pure interpretation sequence 3 0 README.md:2898
22 3.18.2 Ahead-of-time compilation to native code flowchart 4 0 README.md:2923
23 3.18.4 JIT — compiling at run time state 0 0 README.md:2982
24 3.18.5 Android's actual pipeline, end to end flowchart 16 2 README.md:3013
25 3.19.2 The mental model: a DAG of snapshots flowchart 9 0 README.md:3121
26 3.19.3 The three areas flowchart 4 0 README.md:3164
27 4.3 The intern table — art/runtime/intern_table.cc and intern_table.h sequence 4 0 README.md:3315
28 8.1 The single most important pentester skill: reading code you did not write flowchart 8 0 yes README.md:4079
29 8.1.3 Move 3 — follow the state flowchart 7 0 yes README.md:4160
30 Mind map mindmap 1 0 README.md:5555
31 (no heading above it) mindmap 2 0 mindmap.md:5

04-Java (11)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 From source text to a running method flowchart 10 2 README.md:219
2 2.2 What lives inside a class file class 4 0 README.md:265
3 2.3 The runtime picture: where a Java object actually lives block layout 8 0 README.md:315
4 2.4 The lifecycle of a single method call sequence 4 0 README.md:351
5 3.8 The collections framework class 3 0 README.md:777
6 HashMap internals — buckets, hashing, and collisions flowchart 12 0 README.md:844
7 3.10 Exceptions flowchart 12 0 README.md:922
8 Why attackers love reflection sequence 4 0 yes README.md:1053
9 4.3 What setAccessible(true) actually does sequence 5 0 README.md:1513
10 13.2 The chapter as a map mindmap 1 0 README.md:2864
11 (no heading above it) mindmap 0 0 mindmap.md:8

05-Kotlin (7)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The compilation pipeline, and where Kotlin inserts itself flowchart 12 1 README.md:190
2 2.2 What the compiler adds to a class class 6 0 README.md:235
3 2.3 Where Kotlin's guarantees live at runtime flowchart 15 3 yes README.md:276
4 2.4 The lifecycle of a suspend function call sequence 4 0 README.md:316
5 4.4 Tracing one call end to end sequence 6 0 README.md:1324
6 Mind map mindmap 1 0 README.md:2572
7 (no heading above it) mindmap 1 0 mindmap.md:14

06-Android-Architecture (13)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The complete stack flowchart 42 8 yes README.md:169
2 2.2 Trust boundaries flowchart 22 6 yes README.md:278
3 2.3 The process view — what is actually running flowchart 24 6 README.md:343
4 3.2.3 Project Treble and the system/vendor split flowchart 10 3 yes README.md:620
5 3.5 The Java API framework — what "the framework" actually is flowchart 13 3 yes README.md:827
6 3.7.1 The full sequence sequence 17 0 README.md:984
7 3.7.14 What a "soft reboot" actually is flowchart 10 0 README.md:1458
8 3.8.2 fork() without exec() — what that actually means sequence 5 0 README.md:1540
9 3.9.2 Why Zygote breaks that assumption flowchart 8 1 yes README.md:1646
10 3.10.1 What it is and why it exists flowchart 14 4 README.md:1736
11 5.1 The layered trust model, stated precisely flowchart 8 0 yes README.md:2287
12 Mind map mindmap 1 0 README.md:3013
13 (no heading above it) mindmap 1 0 mindmap.md:12

07-AOSP (15)

# Depicts Type Nodes Boundaries Atk Location
1 1.5 What is not in AOSP, and why it dominates security testing flowchart 24 4 yes README.md:143
2 2.1 AOSP as a set of layers, mapped to directories flowchart 31 6 yes README.md:237
3 2.2 How the ~1000 repositories become one tree flowchart 19 3 README.md:300
4 2.3 The trust boundaries visible in the source tree flowchart 25 5 yes README.md:354
5 2.4 Where a released device diverges from AOSP flowchart 8 0 yes README.md:419
6 The procedure flowchart 18 0 README.md:631
7 3.6 AIDL, and why every trace goes through it sequence 5 0 README.md:827
8 How enforcement works flowchart 11 0 yes README.md:939
9 4.1 Trace A — Context.startActivity(), from your code to the kernel and back sequence 12 0 README.md:1274
10 4.2 Trace B — SharedPreferences.edit().putString().apply() to bytes on disk flowchart 35 0 README.md:1592
11 4.3 Trace C — a permission check, from checkSelfPermission to the enforcement point flowchart 20 4 yes README.md:1789
12 Step 5 — where enforcement actually happens flowchart 11 0 yes README.md:1944
13 5.3.4 Patch gapping — the bulletin as a vulnerability feed flowchart 8 0 yes README.md:2385
14 Mind map mindmap 1 0 README.md:3521
15 (no heading above it) mindmap 1 0 mindmap.md:5

08-Build-System (17)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The two systems side by side flowchart 15 2 yes README.md:180
2 2.2 The platform build graph flowchart 14 4 README.md:224
3 2.3 The app build pipeline — the big diagram flowchart 46 7 yes README.md:276
4 2.4 The trust boundaries of a build flowchart 15 3 yes README.md:416
5 2.5 Where each artefact ends up block layout 16 0 README.md:465
6 3.4 How SELinux policy is built flowchart 18 3 README.md:752
7 3.7 Gradle: the three phases sequence 6 0 README.md:873
8 3.9 Build variants: types, flavours, and source sets flowchart 18 4 README.md:1064
9 The priority order flowchart 6 0 yes README.md:1146
10 Play App Signing sequence 3 0 README.md:1508
11 3.15 Shrinking, obfuscation, and resource shrinking flowchart 16 1 README.md:1543
12 3.16 Resources: aapt2 compile and link flowchart 13 0 README.md:1596
13 3.19 AAB, bundletool, splits and dynamic feature modules flowchart 8 0 README.md:1746
14 4.4 Trace 2 — from certificate: "platform" to a signed APK on the image sequence 7 0 README.md:2048
15 5.4 Supply-chain risk, in depth flowchart 18 3 yes README.md:2689
16 Mind map mindmap 1 0 README.md:4724
17 (no heading above it) mindmap 1 0 mindmap.md:5

09-Android-App-Internals (9)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The three axes: identity, storage, execution flowchart 17 3 yes README.md:183
2 2.2 Who does what: the component map flowchart 25 4 yes README.md:251
3 2.3 The lifetime of an app, end to end state 6 0 README.md:321
4 3.7 The install flow, end to end sequence 9 0 README.md:814
5 3.13 Zygote: how a process comes into existence sequence 5 0 README.md:1239
6 3.14 ActivityThread.main() and the bootstrap order sequence 8 0 README.md:1323
7 3.15 The main thread: Looper, MessageQueue, Handler flowchart 16 2 README.md:1400
8 13.2 The chapter as one picture mindmap 1 0 README.md:4062
9 (no heading above it) mindmap 1 0 mindmap.md:11

10-APK-Internals (9)

# Depicts Type Nodes Boundaries Atk Location
1 2.2 Parsing order — why it runs backwards flowchart 13 0 yes README.md:302
2 2.3 The full picture flowchart 26 3 yes README.md:334
3 3.4 resources.arsc flowchart 13 0 README.md:621
4 3.5 Signing — the heart of the chapter flowchart 21 4 yes README.md:682
5 Janus — CVE-2017-13156 sequence 4 0 README.md:1133
6 Scenario A — repackaging a banking app for a third-party store sequence 4 0 README.md:1310
7 The honest hierarchy flowchart 8 0 yes README.md:1370
8 Mind map mindmap 1 0 README.md:2271
9 (no heading above it) mindmap 1 0 mindmap.md:9

11-Android-Runtime (17)

# Depicts Type Nodes Boundaries Atk Location
1 1.5 Register machines versus stack machines, from first principles flowchart 9 2 README.md:345
2 2.1 Where the runtime sits in the Android stack flowchart 19 4 yes README.md:486
3 2.2 The complete lifecycle of code, source to silicon flowchart 15 0 yes README.md:552
4 2.3 The per-app process model flowchart 10 3 yes README.md:660
5 2.4 Zygote: preload once, fork many sequence 5 0 README.md:723
6 2.5 Copy-on-write and what it costs you as an attacker block layout 8 0 README.md:798
7 2.6 The trust boundary map flowchart 12 3 yes README.md:858
8 Mode 1 — Interpretation flowchart 9 0 README.md:922
9 The comparison, side by side flowchart 11 0 README.md:1014
10 3.2 Profile-guided compilation and Cloud Profiles sequence 6 0 README.md:1065
11 3.7 The ClassLoader hierarchy on Android class 10 0 README.md:1297
12 3.8 Parent delegation and what it protects sequence 6 0 README.md:1400
13 3.10 Dynamic class loading as an attack technique flowchart 17 0 yes README.md:1543
14 3.14 JIT hardening, W^X, and CFI block layout 6 0 README.md:1821
15 3.15 Deoptimization and why hooking frameworks depend on it sequence 4 0 README.md:1890
16 Mind map mindmap 1 0 README.md:2722
17 (no heading above it) mindmap 1 0 mindmap.md:13

12-DEX-Internals (12)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The whole file at a glance block layout 22 0 README.md:251
2 2.2 The index-and-data split flowchart 16 2 README.md:338
3 2.3 From .java to classes.dex flowchart 9 0 README.md:396
4 2.4 Where DEX sits inside an APK block layout 10 0 README.md:435
5 3.2 header_item field by field block layout 23 0 yes README.md:568
6 3.8 string_id_item and string_data_item flowchart 7 0 README.md:1174
7 3.13 class_def_item flowchart 13 0 README.md:1356
8 The signed size convention flowchart 10 0 yes README.md:1833
9 4.1 Trace — how the runtime opens a DEX file sequence 5 0 README.md:2686
10 5.1 Why the format is a security topic at all flowchart 5 0 yes README.md:2755
11 Mind map mindmap 1 0 README.md:3340
12 (no heading above it) mindmap 1 0 mindmap.md:13

13-ART (11)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 Where ART sits in the system flowchart 14 4 yes README.md:193
2 2.2 The compilation and execution pipeline flowchart 12 0 yes README.md:242
3 2.4 The three execution modes, compared state 0 0 README.md:320
4 2.5 Trust boundaries around ART flowchart 6 3 yes README.md:348
5 2.6 The object graph inside libart class 7 0 README.md:386
6 3.8 dex2oat: when it runs and what it does sequence 4 0 README.md:773
7 3.16 Entry points and the trampolines they point at flowchart 10 0 yes README.md:1086
8 3.17 Method entrypoint patching: the mechanism behind ALL Java hooking sequence 4 0 README.md:1119
9 odrefresh and odsign flowchart 9 0 README.md:1450
10 Mind map mindmap 1 0 README.md:2417
11 (no heading above it) mindmap 1 0 mindmap.md:10

14-Dalvik (7)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The Dalvik pipeline, end to end flowchart 14 2 yes README.md:306
2 2.2 Stack machine versus register machine flowchart 9 2 README.md:353
3 2.5 The trace JIT sequence 4 0 README.md:545
4 2.6 Where Smali sits in the modern toolchain flowchart 14 2 yes README.md:623
5 2.7 Trust boundaries when you rewrite Smali flowchart 11 4 yes README.md:665
6 Mind map mindmap 1 0 README.md:3990
7 (no heading above it) mindmap 1 0 mindmap.md:6

15-Native-Code (7)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 From APK entry to mapped page flowchart 19 3 yes README.md:213
2 2.2 The two tables, and who reads which block layout 12 0 README.md:276
3 2.3 What System.loadLibrary sets in motion sequence 6 0 README.md:311
4 2.4 Trust boundaries at the native layer flowchart 15 3 yes README.md:358
5 3.8 PLT and GOT: the indirection that makes hooking possible flowchart 7 3 yes README.md:979
6 13.2 Chapter mind map mindmap 1 0 README.md:3311
7 (no heading above it) mindmap 1 0 mindmap.md:6

16-JNI (9)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The bridge, drawn flowchart 12 3 yes README.md:289
2 2.2 The life of a native call, end to end sequence 6 0 README.md:344
3 2.3 The JNIEnv double indirection flowchart 9 0 README.md:405
4 2.4 Trust boundaries at the bridge flowchart 15 3 yes README.md:440
5 2.5 The reference tables, drawn class 5 0 README.md:488
6 3.22 The managed-to-native transition inside ART sequence 6 0 README.md:2052
7 6.6 The decision tree flowchart 11 0 README.md:3059
8 Mind map mindmap 1 0 README.md:3913
9 (no heading above it) mindmap 1 0 mindmap.md:6

17-Libraries (7)

# Depicts Type Nodes Boundaries Atk Location
1 The library stack, from app code to kernel flowchart 26 5 yes README.md:173
2 How a library gets into a process sequence 5 0 README.md:253
3 The three rings, as a decision tree flowchart 8 0 yes README.md:367
4 8.1 The methodology — "enumerate every library in this APK and rate each" flowchart 20 0 yes README.md:1786
5 Mind map mindmap 4 0 README.md:2995
6 (no heading above it) mindmap 1 0 mindmap.md:5
7 The one-page decision flow flowchart 15 0 yes mindmap.md:287

18-ARM (6)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 What is actually on the chip flowchart 24 5 README.md:174
2 2.2 The execution states, and why a phone has three state 4 0 README.md:239
3 2.3 From C to silicon flowchart 11 2 README.md:285
4 6.1 The path from Java down to the instruction sequence 5 0 README.md:2541
5 13.2 Mind map mindmap 1 0 README.md:3592
6 (no heading above it) mindmap 1 0 mindmap.md:5

19-Memory (6)

# Depicts Type Nodes Boundaries Atk Location
1 2.2 What happens when you call malloc(32) flowchart 13 1 yes README.md:216
2 2.3 The Zygote's consequence for address-space layout sequence 4 0 README.md:255
3 2.4 The detection landscape flowchart 16 3 README.md:308
4 3.13.1 The shared idea: tagged memory flowchart 11 2 yes README.md:1089
5 13.2 Mind map mindmap 1 0 README.md:2968
6 (no heading above it) mindmap 1 0 mindmap.md:6

20-Security-Architecture (12)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 Defence in depth, drawn once flowchart 30 6 yes README.md:103
2 2.2 Trust boundaries, named explicitly flowchart 20 6 yes README.md:171
3 2.3 The boot-time sequence sequence 7 0 README.md:215
4 2.4 Where each control lives in the stack block layout 22 0 README.md:250
5 The mechanism: a Merkle tree flowchart 15 0 yes README.md:382
6 Why dm-verity forced Magisk to be "systemless" flowchart 7 3 yes README.md:458
7 From FDE to FBE state 2 0 README.md:542
8 How the key is actually derived sequence 7 0 README.md:568
9 Where the trust actually sits — the only paragraph that matters sequence 4 0 yes README.md:693
10 3.9 Synthesis — what is actually attackable in a typical engagement flowchart 12 0 yes README.md:800
11 13.2 Mind map mindmap 1 0 README.md:2080
12 (no heading above it) mindmap 1 0 mindmap.md:3

21-App-Sandbox (14)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The sandbox as nested enforcement layers flowchart 23 5 yes README.md:114
2 2.2 The trust boundaries, named flowchart 15 5 yes README.md:171
3 2.3 UID assignment at install time sequence 6 0 README.md:217
4 2.4 Process creation — where the sandbox is actually installed sequence 5 0 README.md:253
5 2.5 The filesystem, drawn block layout 12 0 README.md:293
6 3.4 SELinux as the second layer — the short version flowchart 8 2 yes README.md:547
7 What isolatedProcess gives you flowchart 7 2 yes README.md:709
8 What the SDK Runtime does flowchart 9 2 yes README.md:786
9 What scoped storage changes flowchart 6 0 yes README.md:958
10 How it works, step by step sequence 4 0 README.md:1040
11 3.14 What the sandbox does NOT protect against flowchart 14 0 yes README.md:1094
12 3.15 Sandbox escape — the six classes flowchart 13 0 yes README.md:1325
13 13.2 Mindmap mindmap 1 0 README.md:3515
14 (no heading above it) mindmap 1 0 mindmap.md:15

22-SELinux (9)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 Where SELinux sits in a system call flowchart 21 3 yes README.md:127
2 2.2 The three layers of enforcement, drawn flowchart 13 3 yes README.md:184
3 2.3 Boot: how the policy gets loaded, and why the order matters sequence 6 0 README.md:217
4 2.4 The trust boundaries SELinux draws flowchart 19 5 yes README.md:264
5 The full sequence, with the syscalls named sequence 6 0 README.md:584
6 Diagram: the two apps flowchart 14 2 yes README.md:908
7 3.15 Binder and service_manager: a two-stage MAC decision sequence 4 0 README.md:1607
8 13.2 Mind map mindmap 1 0 README.md:3479
9 (no heading above it) mindmap 1 0 mindmap.md:5

23-Permissions (10)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The life of one permission, end to end flowchart 15 3 yes README.md:204
2 2.2 The three lists, and why conflating them produces wrong findings flowchart 9 4 yes README.md:258
3 2.3 The two enforcement points sequence 5 0 README.md:302
4 2.4 The trust boundary drawn properly flowchart 10 4 yes README.md:345
5 The flow sequence 5 0 README.md:1319
6 Where the framework check physically lives flowchart 11 0 yes README.md:1507
7 The idea flowchart 8 3 yes README.md:1557
8 4.3 From <permission> in XML to a decision at install sequence 6 0 README.md:2023
9 13.2 Mind map mindmap 1 0 README.md:3562
10 (no heading above it) mindmap 1 0 mindmap.md:8

24-IPC (10)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The whole IPC landscape in one picture flowchart 20 4 yes README.md:184
2 2.2 The two shapes of IPC: mediated and direct flowchart 9 2 yes README.md:267
3 2.3 A concrete request, end to end sequence 5 0 README.md:304
4 2.4 Trust boundaries drawn explicitly flowchart 13 3 yes README.md:339
5 3.3 Binder — the substrate everything else sits on flowchart 11 3 yes README.md:468
6 3.4 Intents — the framework's message envelope flowchart 9 0 yes README.md:515
7 3.20.1 The Android worked example sequence 4 0 README.md:1804
8 3.22 A full methodology for enumerating an app's IPC surface flowchart 8 0 README.md:2089
9 Mind map mindmap 1 0 README.md:4090
10 (no heading above it) mindmap 1 0 mindmap.md:3

25-Binder (8)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The whole stack in one picture flowchart 22 3 yes README.md:169
2 2.2 One transaction, as a sequence sequence 5 0 README.md:231
3 2.3 The trust boundaries, drawn explicitly flowchart 16 3 yes README.md:277
4 2.4 Four device nodes, four separate worlds flowchart 12 3 yes README.md:329
5 3.12.2 Why the thread pool makes it dangerous sequence 3 0 README.md:1336
6 5.1 The one-sentence threat model flowchart 16 0 yes README.md:2008
7 13.2 Mind map mindmap 2 0 README.md:3579
8 (no heading above it) mindmap 3 0 mindmap.md:6

26-Intent (15)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 What an Intent actually is, as a shape class 3 0 README.md:152
2 2.2 The delivery path, end to end sequence 7 0 README.md:197
3 2.3 The trust boundary flowchart 12 4 yes README.md:252
4 2.4 Where resolution happens flowchart 13 0 yes README.md:304
5 3.4 The resolution algorithm — the part readers get wrong flowchart 13 0 yes README.md:462
6 Test 3 — data flowchart 8 0 README.md:536
7 How verification works sequence 4 0 README.md:1110
8 4.3 From startActivity to the resolver flowchart 33 0 yes README.md:1395
9 5.1 The taxonomy mindmap 1 0 README.md:1575
10 The exploit sequence 4 0 README.md:1690
11 13.2 Mind map mindmap 3 0 README.md:3158
12 (no heading above it) mindmap 1 0 mindmap.md:6
13 The two apps, at a glance flowchart 10 2 yes examples/README.md:80
14 Background: why this is a privilege escalation and not a routing bug sequence 4 0 labs/lab-01-intent-redirection.md:60
15 Background: request versus state sequence 4 0 labs/lab-03-applink-verification.md:45

27-ContentProviders (9)

# Depicts Type Nodes Boundaries Atk Location
1 The call path from a client app to a provider flowchart 19 4 yes README.md:137
2 Anatomy of a content URI flowchart 10 0 yes README.md:208
3 Where providers sit among the four component types flowchart 8 1 README.md:231
4 3.6 URI permissions: the temporary grant system sequence 3 0 README.md:522
5 3.11 Provider lifecycle and process behaviour state 4 0 README.md:816
6 The exploit flowchart 7 0 yes README.md:1812
7 7.7 A complete testing workflow flowchart 15 0 yes README.md:2734
8 Mind map mindmap 2 0 README.md:3755
9 (no heading above it) mindmap 1 0 mindmap.md:3

28-Services (8)

# Depicts Type Nodes Boundaries Atk Location
1 1.4 The three shapes, in one paragraph each flowchart 9 1 README.md:133
2 2.1 Who is involved flowchart 18 4 yes README.md:191
3 2.2 One bindService call, end to end sequence 5 0 README.md:248
4 2.3 The lifecycle, as a state machine state 9 0 README.md:294
5 2.4 The trust boundaries, named flowchart 12 5 yes README.md:326
6 2.5 Where the three IBinder shapes sit flowchart 9 1 yes README.md:367
7 Mind map mindmap 2 0 README.md:3629
8 (no heading above it) mindmap 1 0 mindmap.md:7

29-BroadcastReceivers (9)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The whole path, in one picture flowchart 26 4 yes README.md:199
2 2.2 The two registration paths — the visibility gap flowchart 15 2 yes README.md:277
3 2.3 The trust boundary, drawn explicitly flowchart 16 3 yes README.md:346
4 2.4 What actually happens on the wire, in order sequence 7 0 README.md:409
5 2.5 The life of one broadcast, as a state machine state 6 0 README.md:463
6 3.8 The two permission checks, and their asymmetry flowchart 8 0 yes README.md:1028
7 5.1 The taxonomy mindmap 1 0 README.md:1521
8 13.2 Mind map mindmap 1 0 README.md:3118
9 (no heading above it) mindmap 3 0 mindmap.md:6

30-Activities (10)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The four nouns, and how they nest flowchart 10 4 yes README.md:155
2 2.2 What actually happens when you call startActivity sequence 6 0 README.md:206
3 2.3 The trust boundary flowchart 12 3 yes README.md:248
4 2.4 Where the two signature attacks sit flowchart 11 0 yes README.md:296
5 3.1 The lifecycle, and which parts an attacker controls state 8 0 README.md:329
6 3.9 Tapjacking — a different subsystem entirely sequence 4 0 README.md:860
7 3.10 The result channel sequence 2 0 README.md:948
8 The intended mechanism sequence 5 0 README.md:1352
9 The chapter as one map mindmap 1 0 README.md:3300
10 (no heading above it) mindmap 1 0 mindmap.md:6

31-Fragments (8)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 Where a Fragment actually sits flowchart 14 2 yes README.md:166
2 2.2 Two Fragment implementations, and why an app has both class 4 0 README.md:222
3 2.3 The trust boundary flowchart 14 3 yes README.md:272
4 2.4 The injection, end to end sequence 5 0 README.md:322
5 3.1 The Fragment lifecycle, and the four ways it differs from an Activity's state 10 0 README.md:369
6 5.1 The taxonomy flowchart 12 0 yes README.md:1149
7 The chapter as one map mindmap 4 0 README.md:2660
8 (no heading above it) mindmap 16 0 mindmap.md:7

32-Manifest (12)

# Depicts Type Nodes Boundaries Atk Location
1 Where the manifest sits in the APK flowchart 9 1 yes README.md:139
2 The lifecycle of a manifest, from source to enforcement flowchart 16 2 yes README.md:169
3 The trust boundary the manifest defines flowchart 11 4 yes README.md:222
4 The two parsers you must reconcile flowchart 9 2 yes README.md:263
5 Reading the backup attributes together flowchart 10 0 yes README.md:643
6 Task hijacking, precisely sequence 4 0 README.md:737
7 The provider audit flow flowchart 18 0 yes README.md:1008
8 3.17 Manifest merging — how components you never wrote appear in your APK flowchart 8 0 yes README.md:1394
9 4.2 From bytes to PackageInfo sequence 6 0 README.md:1529
10 4.4 The runtime check: exported and permission for an Activity flowchart 13 0 yes README.md:1628
11 Mind map mindmap 1 0 README.md:3194
12 (no heading above it) mindmap 1 0 mindmap.md:11

33-Storage (5)

# Depicts Type Nodes Boundaries Atk Location
1 2.2 The two trust boundaries flowchart 14 3 yes README.md:232
2 2.3 What the same file looks like from three vantage points sequence 5 0 README.md:290
3 2.4 The lifecycle of a byte state 3 0 README.md:343
4 13.2 Mind map mindmap 1 0 README.md:2520
5 (no heading above it) mindmap 2 0 mindmap.md:7

34-Cryptography (18)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The map of cryptography flowchart 17 0 README.md:192
2 2.2 Where crypto lives in the Android stack flowchart 19 4 yes README.md:241
3 2.3 The JCA call flow, end to end sequence 7 0 README.md:300
4 2.4 The shape of a correct encryption operation flowchart 12 2 yes README.md:355
5 3.3.1 ECB — Electronic Codebook flowchart 9 0 yes README.md:505
6 3.3.2 CBC — Cipher Block Chaining flowchart 13 0 README.md:549
7 3.3.3 The padding oracle attack — explained in full sequence 2 0 README.md:630
8 3.3.4 CTR — Counter mode flowchart 15 0 README.md:676
9 3.3.5 GCM — Galois/Counter Mode, and the catastrophe of nonce reuse flowchart 22 2 yes README.md:710
10 3.6.1 The problem it solves flowchart 5 1 yes README.md:959
11 3.6.3 Diffie–Hellman and ECDH — the colour-mixing analogy sequence 3 0 README.md:1045
12 3.7.1 Length extension, and why HMAC exists flowchart 8 0 yes README.md:1209
13 3.8.2 Encrypt-then-MAC versus MAC-then-encrypt flowchart 17 2 yes README.md:1264
14 3.8.3 Key derivation functions flowchart 11 0 README.md:1344
15 3.10 Digital signatures and PKI in one page flowchart 7 0 README.md:1462
16 3.11.1 The provider model class 11 0 README.md:1500
17 Mind map mindmap 1 0 README.md:3977
18 (no heading above it) mindmap 1 0 mindmap.md:10

35-SSL (12)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 Where TLS sits flowchart 14 3 yes README.md:185
2 2.2 The handshake, as a conversation sequence 2 0 README.md:239
3 2.3 The two questions, drawn separately flowchart 7 2 yes README.md:284
4 2.5 The trust decision, as a state machine state 0 0 README.md:372
5 3.2.3 What an intercepting proxy actually does sequence 3 0 README.md:534
6 13.2 The chapter as a map mindmap 1 0 README.md:2620
7 (no heading above it) mindmap 1 0 mindmap.md:14
8 The shape of the exercise flowchart 10 0 yes labs/lab-01-end-to-end-interception.md:79
9 Stage 5 — Route 2: promote the CA to the system store flowchart 6 2 yes labs/lab-01-end-to-end-interception.md:366
10 Why one bad certificate is not enough flowchart 9 0 yes labs/lab-02-deliberate-bad-certificate.md:39
11 Part 0 — The six checks, named precisely flowchart 14 0 yes labs/lab-03-dissecting-validation.md:83
12 The field: what stands between you and the flag flowchart 8 2 yes labs/lab-04-ctf-the-trusted-impostor.md:316

36-CertificatePinning (9)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The layers flowchart 15 5 yes README.md:199
2 2.2 Order of operations for one connection sequence 7 0 README.md:261
3 2.3 Where the code physically lives flowchart 11 2 yes README.md:303
4 2.4 The decision tree you are actually walking state 0 0 README.md:344
5 7.1 The workflow, in the order that works flowchart 11 0 yes README.md:1767
6 13.2 Mind map mindmap 1 0 README.md:3105
7 (no heading above it) mindmap 1 0 mindmap.md:6
8 1. The failure this lab is designed to give you flowchart 9 0 yes labs/lab-02-defeat-a-two-layer-pin.md:28
9 4.1 The topology flowchart 10 2 yes labs/lab-04-ctf-the-pin-that-moved.md:102

37-RootDetection (12)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 What is on the device after rooting flowchart 18 4 yes README.md:174
2 2.2 The detection surface map flowchart 16 3 yes README.md:233
3 2.3 Where a check runs, and why that decides your approach flowchart 11 0 yes README.md:274
4 2.4 The trust boundary, drawn honestly flowchart 9 2 yes README.md:301
5 How it works flowchart 12 0 yes README.md:1635
6 The arms race, drawn sequence 4 0 README.md:1853
7 4.1 File.exists() → faccessat syscall sequence 7 0 README.md:2041
8 4.3 PackageManager.getPackageInfo across Binder sequence 5 0 README.md:2144
9 7.1 The methodology, before any tool flowchart 13 0 yes README.md:2459
10 9.4 Real application — a banking app's layered posture flowchart 9 0 yes README.md:2871
11 Mind map mindmap 1 0 README.md:3220
12 (no heading above it) mindmap 2 0 mindmap.md:15

38-TamperDetection (8)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The life of a tampered app flowchart 17 2 yes README.md:261
2 2.2 The five tiers — when each check runs flowchart 14 0 README.md:308
3 2.3 Where a self-signature check gets its answer sequence 5 0 README.md:358
4 2.4 The detection surface, drawn honestly flowchart 16 3 yes README.md:399
5 2.5 A decision tree for the first ten minutes flowchart 15 0 yes README.md:445
6 Mind map mindmap 1 0 README.md:2665
7 (no heading above it) mindmap 2 0 mindmap.md:6
8 Cross-chapter map flowchart 16 0 mindmap.md:222

39-EmulatorDetection (7)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 Where the signals come from flowchart 16 5 yes README.md:200
2 2.2 The detection surface, by cost to defeat flowchart 15 4 yes README.md:268
3 2.3 The trust boundary, drawn honestly flowchart 11 4 yes README.md:323
4 5.8 The correct architecture sequence 4 0 README.md:1635
5 Mind map mindmap 1 0 README.md:2750
6 (no heading above it) mindmap 1 0 mindmap.md:7
7 Related chapters flowchart 12 0 yes mindmap.md:176

40-Obfuscation (13)

# Depicts Type Nodes Boundaries Atk Location
1 Where obfuscation happens in the build flowchart 23 5 yes README.md:156
2 The attacker's decision tree flowchart 12 0 yes README.md:234
3 The runtime picture: what a packed app does at process start sequence 6 0 README.md:263
4 Layer map: what protects what block layout 9 0 README.md:303
5 3.3.2 Control-flow flattening — the important one flowchart 10 1 README.md:797
6 3.3.2 Control-flow flattening — the important one flowchart 11 1 yes README.md:813
7 3.7.3 The general unpacking methodology flowchart 12 0 yes README.md:1200
8 3.7.4 Commercial protector families, descriptively flowchart 7 0 README.md:1333
9 4.3 The framework side — how a packer's stub gets control sequence 5 0 README.md:1634
10 6.1 THE DEOBFUSCATION METHODOLOGY flowchart 12 0 yes README.md:1798
11 Phase 2 — Decide static or dynamic flowchart 7 0 yes README.md:1852
12 Mind map mindmap 1 0 README.md:2866
13 (no heading above it) mindmap 2 0 mindmap.md:20

41-ProGuard (9)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 Where the rules file enters the build flowchart 19 3 yes README.md:214
2 2.2 ProGuard's four phases, and R8's one state 0 0 README.md:273
3 2.3 The reachability model — what "keep" actually means flowchart 15 1 yes README.md:325
4 2.4 Trust boundaries, and where the interesting artefacts land flowchart 11 4 yes README.md:401
5 2.5 Where a rules file physically lives flowchart 13 3 README.md:450
6 Mind map mindmap 5 0 README.md:3156
7 (no heading above it) mindmap 5 0 mindmap.md:8
8 The same material as a decision path flowchart 22 0 yes mindmap.md:154
9 The rules-writing loop state 0 0 mindmap.md:203

42-R8 (6)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 Where R8 sits in the build flowchart 17 4 yes README.md:137
2 2.2 The four phases inside R8 sequence 6 0 README.md:181
3 2.3 What comes out, and who is allowed to see it flowchart 10 3 yes README.md:218
4 2.4 The compatibility-mode split state 1 0 README.md:250
5 Mind map mindmap 1 0 README.md:2361
6 (no heading above it) mindmap 1 0 mindmap.md:5

43-WebView (7)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 Where everything actually runs flowchart 15 4 yes README.md:212
2 2.2 A page load, from loadUrl to pixels sequence 7 0 README.md:275
3 2.3 The class stack, from the API you type to the code that runs flowchart 15 2 README.md:330
4 2.4 The certificate-error path, drawn on its own flowchart 15 0 yes README.md:388
5 2.5 The two network stacks in one app flowchart 11 3 yes README.md:434
6 13.2 The chapter as a map mindmap 1 0 README.md:3259
7 (no heading above it) mindmap 2 0 mindmap.md:6

44-NetworkSecurityConfig (6)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 From a manifest attribute to a TLS decision flowchart 23 4 README.md:221
2 2.2 Answering one question: "may I connect to this host, and whom do I trust for it?" sequence 6 0 README.md:288
3 2.3 Which configuration applies to which host flowchart 11 0 yes README.md:328
4 2.4 The object graph, at runtime class 11 0 README.md:369
5 13.2 The chapter as a map mindmap 1 0 README.md:3073
6 (no heading above it) mindmap 2 0 mindmap.md:5

45-OAuth (23)

# Depicts Type Nodes Boundaries Atk Location
1 The four roles flowchart 4 0 yes README.md:111
2 2.1 The complete Android OAuth topology flowchart 13 5 yes README.md:192
3 2.2 The trust boundaries, drawn explicitly flowchart 16 3 yes README.md:250
4 2.3 Where the pieces live on the device block layout 10 0 README.md:291
5 2.4 Grant-type decision tree flowchart 9 0 yes README.md:324
6 3.2 Grant type 1 — Authorisation Code (without PKCE) sequence 5 0 README.md:393
7 3.3 Grant type 2 — Authorisation Code with PKCE (the correct choice) sequence 4 0 README.md:440
8 3.4 Grant type 3 — Implicit (dead, and why) sequence 4 0 README.md:554
9 3.5 Grant type 4 — Resource Owner Password Credentials (ROPC) (dead, and why apps still ship it) sequence 3 0 README.md:602
10 3.6 Grant type 5 — Client Credentials sequence 2 0 README.md:661
11 3.7 Grant type 6 — Device Authorization Grant (RFC 8628) sequence 4 0 README.md:702
12 3.8 Grant type 7 — Refresh Token sequence 3 0 README.md:756
13 3.9 Custom Tabs versus WebView flowchart 8 2 yes README.md:834
14 3.10.1 Custom URI schemes — and scheme hijacking sequence 5 0 yes README.md:960
15 3.11 The state parameter, and CSRF sequence 3 0 yes README.md:1098
16 id_token versus access_token — the distinction that breaks systems flowchart 15 0 yes README.md:1193
17 3.13 Pushed Authorization Requests and other hardening sequence 3 0 README.md:1293
18 4.1 The redirect's journey through the platform sequence 6 0 README.md:1414
19 Attack 5 — Mix-up attacks sequence 4 0 yes README.md:1694
20 Attack 6 — "Sign in with X" backend token confusion sequence 5 0 README.md:1726
21 5.5 How pentesters test it — the methodology in one place flowchart 9 0 README.md:1825
22 Mind map mindmap 1 0 README.md:3449
23 (no heading above it) mindmap 1 0 mindmap.md:6

46-Tokens (10)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The life of a token, end to end flowchart 12 4 yes README.md:267
2 2.2 The trust boundaries flowchart 16 3 yes README.md:332
3 2.3 The two token shapes, side by side flowchart 10 2 README.md:381
4 2.4 Where a token can be on an Android device block layout 11 0 README.md:435
5 3.3 Opaque tokens, and why the distinction changes everything flowchart 10 0 yes README.md:650
6 3.9 Refresh tokens: rotation and reuse detection sequence 3 0 README.md:942
7 DPoP (RFC 9449) sequence 4 0 README.md:1095
8 7.1 The method, in order flowchart 10 0 README.md:2349
9 13.2 Mind map mindmap 1 0 README.md:3464
10 (no heading above it) mindmap 3 0 mindmap.md:8

47-Authentication (11)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The whole picture, and where trust stops flowchart 20 5 yes README.md:252
2 2.2 The login sequence, with the transport on every arrow sequence 6 0 README.md:322
3 2.3 The session lifecycle as a state machine state 3 0 README.md:385
4 2.4 Where the credential physically lives block layout 7 0 yes README.md:447
5 3.3 Password handling — where a password comes from, before it reaches a KDF flowchart 9 0 yes README.md:554
6 3.5 The autofill framework — a third party is offered your password field sequence 4 0 README.md:764
7 3.6 Credential Manager and passkeys sequence 5 0 README.md:861
8 4.1 The account stack sequence 5 0 README.md:1296
9 7.1 The order of operations, and why traffic comes first flowchart 6 0 yes README.md:2562
10 13.2 Mind map mindmap 1 0 README.md:3509
11 (no heading above it) mindmap 1 0 mindmap.md:5

48-Biometrics (10)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The whole system, once flowchart 18 4 yes README.md:188
2 2.2 The successful path, in order sequence 7 0 README.md:260
3 2.3 Where each authenticator class can and cannot reach flowchart 12 3 yes README.md:324
4 2.4 Trust boundaries, drawn honestly block layout 6 0 yes README.md:377
5 3.8 What actually reaches the TEE — enrolment, matching, and the token flowchart 10 2 yes README.md:846
6 7.1 The three-pass method flowchart 12 0 yes README.md:1786
7 9.4 Real application — a password manager flowchart 6 0 README.md:2388
8 13.2 Mind map mindmap 3 0 README.md:2797
9 (no heading above it) mindmap 1 0 mindmap.md:6
10 0. The shape of the work flowchart 7 0 labs/lab-03-audit-a-real-app.md:32

49-KeyStore (8)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The full stack, from your Cipher call to the silicon flowchart 23 5 yes README.md:113
2 2.2 The lifecycle of one key, as a sequence sequence 5 0 README.md:179
3 2.4 Trust boundaries, drawn explicitly flowchart 11 3 yes README.md:268
4 3.7.3 The chain flowchart 5 0 README.md:534
5 3.7.5 How a server verifies, step by step flowchart 20 0 yes README.md:625
6 7.1 The methodology, as a process flowchart 9 0 README.md:1298
7 13.2 Mindmap mindmap 1 0 README.md:1737
8 (no heading above it) mindmap 1 0 mindmap.md:15

50-HardwareBackedSecurity (7)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The trust hierarchy, drawn once flowchart 18 3 yes README.md:141
2 2.4 From PIN to permitted operation: the whole chain in one sequence sequence 6 0 README.md:271
3 2.5 Where the boundaries are, and what crossing each one buys an attacker flowchart 12 4 yes README.md:329
4 3.2 ARM TrustZone mechanics state 0 0 README.md:414
5 3.7.2 How KeyMint checks it flowchart 14 0 yes README.md:706
6 13.2 The chapter as a map mindmap 1 0 README.md:2168
7 (no heading above it) mindmap 1 0 mindmap.md:6

51-DynamicAnalysis (9)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The pipeline flowchart 20 2 yes README.md:208
2 2.2 The nine observation channels, and what each can and cannot see flowchart 12 0 README.md:271
3 2.3 The life of an observation state 0 0 README.md:338
4 2.4 The other half of the loop sequence 3 0 README.md:390
5 2.5 The trust boundary you are standing on flowchart 11 3 yes README.md:441
6 3.5.1 The four altitudes flowchart 10 0 yes README.md:1025
7 7.4 Instrumenting: the decision, not the mechanism flowchart 11 0 yes README.md:2783
8 13.2 Mind map mindmap 1 0 README.md:3768
9 (no heading above it) mindmap 1 0 mindmap.md:8

52-StaticAnalysis (7)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The pipeline flowchart 22 3 yes README.md:157
2 2.2 What each view can and cannot see flowchart 16 0 yes README.md:216
3 2.3 The life of a lead state 0 0 README.md:258
4 2.4 The trust boundary you are standing on flowchart 8 2 yes README.md:297
5 7.5 Which tool answers this question? flowchart 12 0 yes README.md:1895
6 13.2 Mind map mindmap 1 0 README.md:2964
7 (no heading above it) mindmap 1 0 mindmap.md:7

53-Frida (16)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The whole system, one picture flowchart 25 6 yes README.md:139
2 2.2 The injection sequence, step by step sequence 6 0 README.md:217
3 2.3 Spawn versus attach flowchart 16 2 yes README.md:275
4 2.4 The message channel sequence 6 0 README.md:330
5 2.5 The no-root path: frida-gadget flowchart 14 2 yes README.md:367
6 3.3 What lives inside the agent block layout 9 0 README.md:597
7 3.6.1 Interceptor — attach versus replace flowchart 18 2 README.md:793
8 3.7 Stalker — instruction-level tracing flowchart 13 2 yes README.md:1321
9 3.9.2 How a Java hook is installed, at the ART level flowchart 11 0 README.md:1538
10 7.2 The engagement workflow flowchart 10 0 README.md:3096
11 7.4 The four failure modes, exhaustively flowchart 12 0 yes README.md:3439
12 7.4.2 Failure 2 — ClassNotFoundException and the ClassLoader problem flowchart 5 0 yes README.md:3598
13 7.4.4 Failure 4 — attaching instead of spawning sequence 5 0 README.md:3885
14 7.10 The no-root path: frida-gadget flowchart 11 0 yes README.md:4600
15 Mind map mindmap 1 0 README.md:5992
16 (no heading above it) mindmap 2 0 mindmap.md:12

54-Objection (8)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The whole system in one picture flowchart 11 3 yes README.md:180
2 2.2 What happens when you type the command sequence 6 0 README.md:237
3 2.3 One agent, not one script per command flowchart 9 1 README.md:289
4 3.11 Version skew — the commonest real-world blocker flowchart 5 0 yes README.md:1194
5 4.1 One command, end to end flowchart 16 0 yes README.md:1254
6 7.3 The four failure modes, and how to tell them apart flowchart 10 0 yes README.md:1800
7 13.2 Mind map mindmap 1 0 README.md:2544
8 (no heading above it) mindmap 1 0 mindmap.md:6

55-MobSF (8)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 What happens when you upload an APK flowchart 19 3 yes README.md:339
2 2.2 Where MobSF sits inside 52's pipeline flowchart 12 2 yes README.md:402
3 2.3 The report, as a data structure class 8 0 README.md:447
4 2.4 The REST API, as a conversation sequence 3 0 README.md:518
5 2.5 Static and dynamic, as two different machines flowchart 12 2 README.md:565
6 2.6 The trust boundary you are standing on flowchart 13 3 yes README.md:597
7 13.2 The chapter as a mind map mindmap 1 0 README.md:3646
8 (no heading above it) mindmap 1 0 mindmap.md:3

56-JADX (9)

# Depicts Type Nodes Boundaries Atk Location
1 1.4 The three ways jadx fails flowchart 7 0 yes README.md:255
2 2.1 Where jadx sits between the build and you flowchart 11 3 yes README.md:324
3 2.2 The information-loss ladder block layout 13 0 README.md:373
4 2.3 The jadx internal pipeline flowchart 16 0 yes README.md:405
5 2.4 GUI or CLI: a decision, not a preference flowchart 4 0 README.md:444
6 2.5 Trust boundary: jadx runs attacker-supplied input flowchart 9 3 yes README.md:474
7 7.1 The read-hook-verify loop sequence 4 0 README.md:2805
8 Mind map mindmap 1 0 README.md:4122
9 (no heading above it) mindmap 1 0 mindmap.md:8

57-Ghidra (9)

# Depicts Type Nodes Boundaries Atk Location
1 The decompilation pipeline flowchart 13 0 README.md:158
2 Ghidra's process architecture flowchart 8 2 README.md:198
3 Where Ghidra sits in the Android RE workflow flowchart 9 0 yes README.md:242
4 3.8 The JNIEnv problem, and how to solve it flowchart 8 0 README.md:662
5 3.9 Finding JNI entry points flowchart 9 0 yes README.md:765
6 3.15 The Ghidra debugger against an Android target sequence 5 0 README.md:1189
7 7.1 The address arithmetic that connects the two worlds flowchart 4 0 README.md:1825
8 Mind map mindmap 1 0 README.md:3201
9 (no heading above it) mindmap 1 0 mindmap.md:12

58-IDA (8)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The pipeline flowchart 11 0 README.md:241
2 2.2 The database, and what is actually in it flowchart 8 1 yes README.md:282
3 2.3 Where IDA sits in an Android workflow flowchart 12 0 yes README.md:334
4 3.4 Hex-Rays: microcode, and why it is not P-Code flowchart 13 0 README.md:546
5 3.7 FLIRT — measured, not described flowchart 9 0 yes README.md:837
6 3.9 The debugger and android_server sequence 5 0 README.md:935
7 Mind map mindmap 1 0 README.md:2397
8 (no heading above it) mindmap 1 0 mindmap.md:5

59-radare2 (11)

# Depicts Type Nodes Boundaries Atk Location
1 The library stack flowchart 17 3 README.md:185
2 The separation that matters: parse versus analyse flowchart 5 0 README.md:256
3 Where radare2 sits in the Android workflow flowchart 10 0 yes README.md:359
4 3.2 The command language, taught as a grammar flowchart 10 2 README.md:466
5 3.6 Analysis levels — aaa and what it actually costs flowchart 8 0 README.md:882
6 3.14 radare2 versus rizin versus Cutter flowchart 6 0 README.md:1327
7 7.1 The address arithmetic that connects static to dynamic flowchart 7 0 README.md:2001
8 Mind map mindmap 1 0 README.md:2922
9 (no heading above it) mindmap 1 0 mindmap.md:5
10 How the pieces connect flowchart 11 0 yes mindmap.md:166
11 The two failure modes, side by side flowchart 15 2 yes mindmap.md:195

60-ADB (6)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 Three programs, not one flowchart 15 3 yes README.md:133
2 2.2 The handshake, message by message sequence 2 0 README.md:195
3 2.4 Where the trust boundaries actually are flowchart 11 3 yes README.md:284
4 3.14 adb install is three streams — the transport half sequence 3 0 README.md:1222
5 Mind map mindmap 3 0 README.md:2974
6 (no heading above it) mindmap 3 0 mindmap.md:6

61-Fastboot (12)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 Where fastboot sits relative to everything else flowchart 15 5 yes README.md:199
2 2.2 The three-legged transaction that every fastboot operation is built from sequence 2 0 README.md:262
3 2.3 The lock-state machine — the most important diagram in this chapter state 3 0 README.md:313
4 2.4 Two implementations of one protocol flowchart 12 2 README.md:381
5 3.2 The wire protocol: five prefixes and nothing else state 2 0 README.md:527
6 3.6 fastbootd — userspace fastboot, and why it had to exist sequence 4 0 README.md:765
7 3.7 Dynamic partitions and the super partition flowchart 4 0 README.md:889
8 3.9 The factory-reset guarantee sequence 3 0 README.md:1034
9 4.2 Tracing one complete path: fastboot flash system system.img sequence 7 0 README.md:1300
10 9.5 Enterprise — a fleet device-posture pipeline flowchart 11 3 yes README.md:2602
11 13.2 The chapter as a map mindmap 1 0 README.md:2975
12 (no heading above it) mindmap 1 0 mindmap.md:6

62-Magisk (6)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 Where Magisk sits in the boot chain flowchart 21 5 yes README.md:160
2 2.2 The overlay illusion flowchart 13 4 yes README.md:223
3 2.3 The su request flow sequence 5 0 README.md:267
4 2.4 Zygisk — injection into every app flowchart 16 3 yes README.md:312
5 Mind map mindmap 1 0 README.md:2139
6 (no heading above it) mindmap 1 0 mindmap.md:3

63-LSPosed (13)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The injection chain, end to end flowchart 20 4 yes README.md:249
2 2.2 One app launch, as a sequence sequence 7 0 README.md:310
3 2.3 Four processes, four privilege levels flowchart 10 4 yes README.md:353
4 2.5 Classic Xposed and LSPosed, side by side flowchart 10 2 yes README.md:421
5 3.5 Getting a module's DEX into a foreign process — and the class-loader problem flowchart 4 0 yes README.md:606
6 3.7 XC_MethodHook — the lifecycle, precisely state 4 0 README.md:736
7 3.10 The backup method — the trampoline of the managed world flowchart 7 2 yes README.md:873
8 3.13 Timing: the three entry points and what exists at each flowchart 12 0 README.md:986
9 13.2 Mind map mindmap 1 0 README.md:2884
10 The chapter mindmap 1 0 mindmap.md:11
11 Decision: which instrument? flowchart 15 0 mindmap.md:165
12 Diagnostic: the hook did not fire flowchart 18 0 yes mindmap.md:196
13 The four privilege levels, at a glance flowchart 5 0 yes mindmap.md:229

64-Xposed (6)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The boot chain classic Xposed inserted itself into flowchart 20 3 yes README.md:313
2 2.2 One app launch, as a sequence sequence 6 0 README.md:371
3 2.3 What a classic install physically wrote to disk block layout 11 0 yes README.md:415
4 2.5 The four things Xposed needed, and when each became impossible flowchart 10 2 yes README.md:490
5 13.2 Mind map mindmap 2 0 README.md:3027
6 (no heading above it) mindmap 1 0 mindmap.md:13

65-Hooking (7)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The five places a call can be intercepted flowchart 20 2 yes README.md:167
2 2.2 What each hook physically overwrites flowchart 11 2 README.md:211
3 2.3 The anatomy of an inline hook sequence 4 0 README.md:242
4 2.5 Blast radius: the property that should drive your choice flowchart 6 0 yes README.md:318
5 13.2 Mind map mindmap 1 0 README.md:2449
6 (no heading above it) mindmap 2 0 mindmap.md:6
7 The one-diagram version flowchart 13 0 yes mindmap.md:163

66-Instrumentation (5)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The command path flowchart 17 4 yes README.md:180
2 2.2 The Binder sequence, with the ordering that matters sequence 7 0 README.md:232
3 2.4 The lifecycle as a state machine state 4 0 README.md:328
4 13.2 Mind map mindmap 1 0 README.md:2402
5 (no heading above it) mindmap 1 0 mindmap.md:6

67-BypassingProtections (7)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The five seams flowchart 20 2 yes README.md:190
2 2.2 The same picture as a sequence, with the timing that matters sequence 6 0 README.md:241
3 2.4 The escalation ladder, drawn state 3 0 README.md:309
4 2.5 Where the responses live flowchart 11 0 yes README.md:350
5 13.2 Mind map mindmap 1 0 README.md:2829
6 (no heading above it) mindmap 1 0 mindmap.md:6
7 The same thing as a decision tree flowchart 26 0 yes mindmap.md:215

68-ReverseEngineering (11)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The investigation loop flowchart 10 0 README.md:335
2 2.2 The triage funnel, across both halves flowchart 12 3 yes README.md:386
3 2.3 The evidence ladder flowchart 6 0 yes README.md:436
4 2.4 Where the tools sit on the loop flowchart 13 2 README.md:486
5 2.5 The state of a question state 0 0 README.md:537
6 3.3 Stage 2 — triage in twenty minutes flowchart 5 0 yes README.md:702
7 3.5 Stage 4 — hypothesis, prediction, experiment, verdict sequence 3 0 README.md:793
8 3.8 Crossing the managed/native boundary as one question flowchart 8 0 README.md:992
9 4.5 Tracing one question from Java to the kernel sequence 5 0 README.md:1547
10 13.2 The chapter as one picture mindmap 1 0 README.md:2871
11 (no heading above it) mindmap 1 0 mindmap.md:12

69-MalwareAnalysis (10)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The triage pipeline flowchart 22 5 yes README.md:313
2 2.2 The capability stack — what an installed app can actually reach block layout 16 0 yes README.md:384
3 2.3 The lifecycle of a mobile malware campaign sequence 5 0 README.md:448
4 2.4 The analysis environment — what "isolation" means concretely flowchart 10 3 yes README.md:502
5 2.5 The trust boundary you are standing on flowchart 9 2 yes README.md:548
6 3.8 Persistence hook 3 — services, watchdogs and the platform's counter-moves state 0 0 README.md:987
7 13.2 Mind map mindmap 1 0 README.md:3030
8 (no heading above it) mindmap 1 0 mindmap.md:10
9 How the chapters connect flowchart 17 3 yes mindmap.md:211
10 The one-page decision tree flowchart 12 0 yes mindmap.md:264

70-VulnerabilityResearch (9)

# Depicts Type Nodes Boundaries Atk Location
1 1.3 A crash is not a bug, and a bug is not a vulnerability flowchart 6 0 yes README.md:147
2 2.1 The pipeline flowchart 8 0 README.md:305
3 2.2 The Android attack surface, drawn by who can reach what flowchart 13 5 yes README.md:343
4 2.3 The funnel, with real numbers flowchart 8 0 README.md:412
5 2.4 Where a crash comes from and where it goes sequence 5 0 README.md:442
6 4.4 Tracing one path from untrusted input to a parser sequence 5 0 yes README.md:1361
7 The chapter as a map mindmap 1 0 README.md:3130
8 (no heading above it) mindmap 1 0 mindmap.md:5
9 The same thing as a decision flow flowchart 20 0 yes mindmap.md:187

71-OWASP-Mobile (7)

# Depicts Type Nodes Boundaries Atk Location
1 How the three documents relate flowchart 20 4 README.md:105
2 The verification levels flowchart 6 3 yes README.md:160
3 Where each control area maps in this repository flowchart 28 0 README.md:192
4 Scoping an engagement against the standard flowchart 10 0 README.md:389
5 Mind map mindmap 1 0 README.md:830
6 The whole standard, in one tree mindmap 1 0 mindmap.md:15
7 Step 4 — The composition hunt, specifically flowchart 5 2 yes labs/lab-03-find-the-gap.md:203

72-RealWorldFindings (5)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The adjudication pipeline flowchart 10 2 yes README.md:184
2 2.2 Where each finding class comes from flowchart 14 2 yes README.md:232
3 2.3 The severity funnel, drawn to scale block layout 6 0 README.md:279
4 13.2 Mind map mindmap 1 0 README.md:1871
5 (no heading above it) mindmap 1 0 mindmap.md:7

73-Labs (6)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The corpus as a system flowchart 15 3 yes README.md:164
2 2.2 How the index is produced sequence 4 0 README.md:208
3 2.3 The lab environment, as a stack block layout 12 0 README.md:245
4 2.4 The lifecycle of one lab attempt state 0 0 README.md:263
5 13.2 Mind map mindmap 1 0 README.md:1360
6 (no heading above it) mindmap 2 0 mindmap.md:6

74-CaseStudies (6)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The five phases every investigation actually has flowchart 9 0 yes README.md:173
2 2.2 What each case is really about — the same shape six times flowchart 16 2 yes README.md:205
3 2.3 Where the evidence for one case comes from sequence 5 0 README.md:253
4 13.2 Mind map mindmap 3 0 README.md:2065
5 (no heading above it) mindmap 1 0 mindmap.md:6
6 The chapter as a decision procedure flowchart 12 0 yes mindmap.md:158

75-InterviewQuestions (5)

# Depicts Type Nodes Boundaries Atk Location
1 2.1 The pipeline as a system flowchart 13 4 yes README.md:283
2 2.2 One round, end to end sequence 4 0 README.md:342
3 2.3 The state machine of a single answer state 0 0 README.md:396
4 Mind map mindmap 1 0 README.md:2687
5 (no heading above it) mindmap 1 0 mindmap.md:8

76-CheatSheets (4)

# Depicts Type Nodes Boundaries Atk Location
1 Mind map mindmap 1 0 README.md:878
2 (no heading above it) mindmap 1 0 mindmap.md:6
3 How the parts fit together flowchart 14 3 yes mindmap.md:112
4 The decision the chapter is built on flowchart 6 0 yes mindmap.md:163

77-UsefulCommands (4)

# Depicts Type Nodes Boundaries Atk Location
1 Where your commands actually land flowchart 28 6 yes README.md:89
2 The privilege ladder flowchart 6 0 README.md:166
3 Mind map mindmap 1 0 README.md:1296
4 (no heading above it) mindmap 1 0 mindmap.md:3

78-Diagrams (37)

# Depicts Type Nodes Boundaries Atk Location
1 4.1 The Android security stack, end to end flowchart 17 5 yes README.md:334
2 4.2 The boot chain, hardware root of trust to app code sequence 6 0 README.md:398
3 4.3 Where every chapter sits in the platform flowchart 22 11 README.md:444
4 4.4 The complete trust-boundary map flowchart 16 4 yes README.md:505
5 4.5 One Binder call, across every boundary sequence 5 0 README.md:567
6 4.6 The engagement, static through dynamic to reporting state 0 0 README.md:606
7 4.7 The device-state machine an engagement moves through state 0 0 README.md:649
8 5.2 Flowchart arrows and node shapes flowchart 6 0 README.md:707
9 5.3 Sequence arrows — the four you must tell apart sequence 2 0 README.md:734
10 5.4 State and class notation state 0 0 README.md:765
11 5.4 State and class notation class 2 0 README.md:781
12 6.1 Show the boundary, do not imply it flowchart 6 2 yes README.md:847
13 6.4 Draw the actual flow, not the intended one flowchart 8 0 yes README.md:919
14 Mind map mindmap 1 1 README.md:1164
15 (no heading above it) mindmap 1 1 mindmap.md:5
16 Version A — the diagram most people draw flowchart 5 0 examples/01-one-system-three-diagrams.md:30
17 Version B — the same system with the boundaries drawn flowchart 10 3 yes examples/01-one-system-three-diagrams.md:106
18 Version C — the same system as a sequence sequence 6 0 examples/01-one-system-three-diagrams.md:194
19 1 — A semicolon in message or label text sequence 2 0 examples/02-broken-diagrams-and-their-fixes.md:47
20 1 — A semicolon in message or label text sequence 2 0 examples/02-broken-diagrams-and-their-fixes.md:56
21 2 — Unquoted parentheses or brackets in mindmap text mindmap 3 0 examples/02-broken-diagrams-and-their-fixes.md:92
22 2 — Unquoted parentheses or brackets in mindmap text mindmap 1 0 examples/02-broken-diagrams-and-their-fixes.md:101
23 3 — A backslash-escaped quote inside a quoted label flowchart 3 0 examples/02-broken-diagrams-and-their-fixes.md:128
24 3 — A backslash-escaped quote inside a quoted label flowchart 2 0 examples/02-broken-diagrams-and-their-fixes.md:135
25 4 — style inside a sequenceDiagram sequence 2 0 examples/02-broken-diagrams-and-their-fixes.md:165
26 4 — style inside a sequenceDiagram sequence 2 0 examples/02-broken-diagrams-and-their-fixes.md:177
27 5 — A participant id that collides with a keyword sequence 2 0 examples/02-broken-diagrams-and-their-fixes.md:220
28 6 — Unquoted parentheses in flowchart node text flowchart 3 0 examples/02-broken-diagrams-and-their-fixes.md:254
29 7 — A mindmap leaf whose text starts with a diagram-type keyword mindmap 1 0 examples/02-broken-diagrams-and-their-fixes.md:283
30 7 — A mindmap leaf whose text starts with a diagram-type keyword mindmap 3 0 examples/02-broken-diagrams-and-their-fixes.md:293
31 Part 5 — Draw it flowchart 15 4 yes labs/lab-01-boundaries-from-evidence.md:287
32 Part 5 — Redraw the diagram with the omission in it flowchart 10 0 yes labs/lab-02-what-the-diagram-omits.md:282
33 Part 1 — Draw the intended flow, before measuring sequence 4 0 labs/lab-03-intended-versus-actual.md:80
34 Part 3 — Draw the actual flow sequence 5 0 labs/lab-03-intended-versus-actual.md:275
35 Part 3 — Draw the actual flow flowchart 11 3 yes labs/lab-03-intended-versus-actual.md:294
36 The topology you were given flowchart 5 0 labs/lab-04-ctf-the-cartographers-error.md:178
37 Stage 5 — Redraw it flowchart 12 2 yes labs/lab-04-ctf-the-cartographers-error.md:403

79-Glossary (1)

# Depicts Type Nodes Boundaries Atk Location
1 Mind map mindmap 1 0 README.md:845

80-Appendix (1)

# Depicts Type Nodes Boundaries Atk Location
1 Mind map mindmap 1 0 README.md:630