Skip to content

70 — Vulnerability Research — References

Annotated. Every entry says what it is for, because a bare link list is a way of avoiding the work of deciding what matters.


1. Coordinated disclosure — read these before you find anything

The order matters. Knowing where a finding goes is worth more than knowing how to find one, because a finding routed to the wrong place is a finding that does not get fixed.

Link What it is When you need it
Android Security Bulletins The monthly index of fixed issues, with real CVE identifiers, affected versions and severity ratings Before you start — it tells you where people have recently been looking, and it is the authority for identifiers this repository refuses to invent
Android Security Bulletin severity classification The published matrix mapping attack vector and impact onto Critical / High / Moderate / Low When rating a finding. Map onto it; never guess a rating
Android and Google Devices Security Reward Program rules Scope, reward structure, and what you agree to by submitting Before submitting. The scope text is your authorisation document
Google Bug Hunters The single intake point for Google's programmes, including the separate Google VRP covering GMS and Play services When you have established the finding is Google's rather than an OEM's
Google Play Security Reward Program The route for issues in third-party apps on Play, and the App Security Improvement programme When the app developer is unresponsive or the issue is a policy matter
Project Zero disclosure policy The origin of the 90-day norm, with the reasoning When deciding your own timeline, or arguing about someone else's
CERT/CC Guide to Coordinated Vulnerability Disclosure The standard reference for multi-party disclosure Android is always multi-party: Google, SoC vendor, OEM, carrier. This is the document about that case
CVE Program How identifiers are assigned and by whom So you never write a CVE number in a report before one exists
FIRST CVSS specification The scoring system many programmes use alongside Android's own matrix When a programme asks for a CVSS vector. Note it rates impact, not reachability — you still owe the reachability argument

2. Fuzzing engines

Link What it is Read it for
libFuzzer documentation The complete reference The flag table, the status-line format, LLVMFuzzerInitialize, LLVMFuzzerCustomMutator, and the corpus semantics
libFuzzer tutorial The best short introduction The "no state across calls" rule, stated more crisply than anywhere else
google/fuzzing — the whole repository Docs, good and bad harness examples, dictionaries docs/good-fuzz-target.md is the checklist §3.4 condenses
AFL++ and the source The fork-mode and binary-only engine QEMU mode and Frida mode, for targets you cannot rebuild; custom mutators for structure-aware work
honggfuzz The third engine Persistent fuzzing of targets that resist libFuzzer's in-process model
OSS-Fuzz Google's continuous fuzzing service and its documentation How a fuzzing programme is actually operated — corpus management, regression testing, build integration. §9.5 is a summary of what this documents at length
ClusterFuzz The infrastructure behind OSS-Fuzz Crash deduplication and bisection at scale, which is §3.7 industrialised
The Fuzzing Book Free online textbook Grammar-based and structure-aware fuzzing — the answer to §3.4's checksum problem

3. Sanitizers — the detectors that make fuzzing work

Link What it is Read it for
AddressSanitizer The reference Flags, the ASAN_OPTIONS list, and the report format your triage parses
AddressSanitizer algorithm The shadow-memory design Why there is no redzone between two structs in one allocation — the mechanism behind §3.7's measured result. If you read one thing here, read this
AddressSanitizer flags wiki Every runtime option detect_stack_use_after_return, allocator_may_return_null, abort_on_error
UndefinedBehaviorSanitizer The check list array-bounds, and UBSAN_OPTIONS=halt_on_error=1 — without which UBSan findings exit 0
MemorySanitizer Uninitialised-read detection And the requirement that all code be instrumented, which is why it is rare on Android
ThreadSanitizer Race detection For host-side race hunting; impractical for most Android work
SanitizerCoverage The instrumentation -fsanitize=fuzzer turns on Understanding what "coverage" means mechanically, and how to use it without libFuzzer
Source-based code coverage llvm-profdata and llvm-cov The real coverage workflow in §7.3. llvm-cov show is the tool that changes how you work

4. Android platform internals and hardening

Link What it is Read it for
AOSP security documentation The index The sandbox, SELinux and verified-boot context that every reachability argument depends on
Fuzzing and sanitizers in AOSP How AOSP builds and runs its own fuzz targets The cc_fuzz module properties in §4.1, especially host_supported
Android platform security enhancements by release What hardening was added, and when §3.11's assessment depends on knowing what is present in the version you are looking at
HWASan on Android Tag-based detection, and how to get a HWASan build When ASan's memory cost is prohibitive on device. Mechanism owned by 19-Memory §3.13.2
GWP-ASan Sampled guarded allocations, always on The only realistic detector for a prebuilt library (§7.5)
Native memory debugging / malloc_debug Guard pages and fill patterns from a property On-device detection with no rebuild. Owned by 19-Memory §3.14
Scudo The default native allocator Heap behaviour your "what is next door?" analysis depends on. Read 19-Memory §3.8's measured behaviour alongside it — it found there is no quarantine on Android, contradicting the usual description
Android NDK revision history Which NDK does what Establishing whether your NDK supports your target's page size — the failure in §7.7
16 KB page size support The alignment requirement Why NDK r25c binaries segfault on a ps16k system image, including a three-line main
Android Mainline modules What updates through Play rather than an OTA Routing (§5.8) and patch-gap reasoning (§6.3)

5. Bug classes and secure coding

Link What it is Read it for
CWE list The taxonomy identifiers reports use CWE-787, CWE-125, CWE-416, CWE-415, CWE-190, CWE-843, CWE-362, CWE-441. 19-Memory §3.9 maps each to its Android form
CERT C Coding Standard Rules whose violation is the bug The INT and ARR sections are §8.2's arithmetic checklist in full
SEI CERT Android rules The Android-specific companion IPC and permission rules relevant to §5.3
OWASP MASVS and MASTG The mobile verification standard MASVS-CODE and MASVS-PLATFORM. 71-OWASP-Mobile owns the mapping — and note §5.11's caveat that a verification standard is not a research methodology

6. Tooling

Link What it is
LLVM binutils llvm-nm, llvm-readelf, llvm-strings, llvm-objdump, llvm-cov, llvm-profdata — all shipped with the NDK
clang-tidy The bugprone-* and cert-* check groups are the useful ones here
clang static analyzer scan-build over a whole build
Frida Runtime instrumentation for the reachability probes in §3.9. Owned by 53-Frida
Ghidra Decompilation and version tracking. Owned by 57-Ghidra

7. This chapter's own artefacts

File What it is
../examples/acfg.h The ACFG wire format and parser interface
../examples/acfg-vulnerable.c The parser with one planted, measured defect
../examples/acfg-fixed.c The remediation, with the reasoning for >= over >
../examples/fuzz-acfg.c The harness, plus a standalone driver
../examples/build.sh Builds every variant the local toolchain supports
../scripts/triage-asan.py Deduplication by stack hash, and classification
../scripts/make-fuzz-harness.sh Harness and build-script generator
../scripts/surface-enum.sh Read-only device attack-surface inventory
../scripts/reachability-probe.js Frida probe for evidence level 3
../labs/lab-01-attack-surface-enumeration.md Stages 1 and 2, on a real device
../labs/lab-02-harness-and-triage.md The end-to-end lab
../labs/lab-03-triage-at-scale-and-disclosure.md Deduplication and the report
../labs/lab-04-ctf-the-reachability-verdict.md The CTF

Chapter Relationship
19 — Memory Owns the memory-safety defect taxonomy (§3.9, with CWE numbers), the allocator, HWASan / MTE / GWP-ASan / malloc_debug, and the mitigation cost table. Cited throughout; not restaged. This chapter owns the method that finds those defects
15 — Native Code Owns the ELF container and the build-time hardening checklist. §3.11's "is the mitigation actually present?" step is its checker
18 — ARM Owns the instruction set, for when a decompilation is not enough
57 — Ghidra Owns the decompiler and binary diffing, which §6.3's patch-gap work depends on
24 — IPC Owns the IPC attack surface and the confused deputy. It hands this chapter the platform-and-kernel boundary; §5.3 is the hunting method, not a re-derivation
25 — Binder Owns the transport and clearCallingIdentity. Its measurement that caller identity is unforgeable is why a deputy report is about a missing check, not forgery
10 — APK Internals Owns the APK parser-differential families and the three-way manifest comparison. §5.4 generalises the technique; the APK cases stay there
20 — Security Architecture Owns the trust-boundary map, Verified Boot and Mainline. Its §5.8 supplies §3.3's target-selection advice
21 — App Sandbox Owns the sandbox-escape taxonomy and the vendor-service targeting advice
22 — SELinux Owns policy and policy diffing. Its rule that an AVC denial is not a finding has the inverse this chapter needs
11 — Android Runtime Owns ART and the verifier; supplies the install-time reachability argument
51 — Dynamic Analysis Owns the coverage-statement discipline §7.3 and §7.10 apply to fuzzing
52 — Static Analysis Owns the static pipeline and the false-positive arithmetic
53 — Frida The instrumentation behind the reachability probes
60 — ADB Owns the shell's privilege, and the measurement behind "prove it from an app"
71 — OWASP Mobile Owns MASVS/MASTG
67 — Bypassing Protections Owns defeating an app's own defences — a different activity from finding a defect
01 — Computer Science Basics Owns stack frames and overflow fundamentals; sets the exercise §6.2 formalises
00 — Introduction Names release diffing as the core skill behind patch-gap research
69 — Malware Analysis The other side of §5.13 — what a payload does once a chain has landed

Named as plain text in the chapter body when 70 was written, and since landed — these now exist and are linked here: 58-IDA, 59-radare2, 68-ReverseEngineering, 75-InterviewQuestions.

Still referenced as plain text rather than as links: 72-RealWorldFindings, 73-Labs, 74-CaseStudies, 76-CheatSheets, 78-Diagrams.