Adds references/unity-lua-and-assetbundles.md: Unity + Lua containers, the Lua 5.1 header-byte tamper, the loader's bytecode-only check, the CRC manifest the game actually reads, UnityFS partial-encryption windows, rebuild traps (layout loss, dependency null, compressed == raw), TextAsset read-back, and half-encrypted Mono assemblies behind a publisher shell. Extends framework-runtimes with LayaAir Conch (DCC checksum and loader patch), recon with resource completeness and the encryption map, repack-and-sign with package rename, split-apk with the narrow apktool merge, dex-patching with call-deletion instead of method rewrite, and packers with PairIP as a target-selection signal. Adds pitfalls P51-P53 and two symptom rows. Registration: one reference row, two capability rows (both partial/unverified), two evidence-summary rows, two route-inventory rows, two coverage bullets, one known-limitation bullet, and EXTENSION-game-reserve-2026-11.md. Gates and pytest green.
22 KiB
Evidence summary — what is proven, how strongly, and where to look
Load this when a claim's strength decides whether you trust it, and the command that produced it is
not in front of you. It is the condensation that travels with the skill: npx skills add installs
skills/apk-reverse/ only, so the run records, the tool verdicts and the public-target benchmark
matrix stay behind at the repository root. Every row below therefore answers four questions inside an
installed copy — is it proven, how strongly, which capability is blocked, and which files to open
next — and points at the one section that says "the full record is elsewhere, and here is its name".
How to read this file
- Status is one of
ok(route carried out on a real target, result recorded),partial(a decisive step — usually install, launch, or a second independent producer — was not run), orblocked(the route depends on something this skill does not ship, or nothing here is evidence either way). - Strength is the repository's three-tier label:
observed(a command was run and its output exists behind the claim),inferred(follows from a documented mechanism or a neighbouring measurement),unverified(assumed or reported elsewhere, not reproduced here).observedis reserved strictly. - Evidence names files that exist in your install. When a claim's full record does not ship, this file says so once, in one place, instead of scattering dead paths through the table.
- Machine-readable companions:
evidence/capability-matrix.json(the same rows, with more fields),evidence/tested-tool-versions.json(versions and the probe behind each), andevidence/known-limitations.md(the installer-facing limit list).
The capability matrix
| Capability | What is proven, in one line | Status | Strength | Evidence in this install |
|---|---|---|---|---|
| Equal-length dex surgical patch | 2 bytes rewritten in a 5,528-byte dex; whole-file diff is those 4 bytes plus header bytes 8..32; the written file reproduces both header integrity fields | ok | observed | references/byte-level-patching.md, references/patch-audit.md, scripts/dex_patch_bytes.py |
| Dex method-level rewrite (dexlib2) | Documented, not measured: the smali round-trip blind spot is real and a tree round trip can pass every table check and still fail at load | partial | unverified | references/dex-patching.md, references/patch-audit.md |
| Dex header integrity and verifier legality | Recompute order proven on one written file; dex_classdiff passing is necessary, not sufficient — it cannot see code-item damage |
ok | observed | references/patch-audit.md, scripts/dexutil.py, scripts/dex_check_verifier.py |
| Dex string-constant patch | Equal-length only; the shipped script refuses unequal lengths, so a different-length edit is a different, unmeasured route | partial | unverified | references/byte-level-patching.md, scripts/dex_strpatch.py |
| Whole-APK SQL query layer (dexsql) | Class-definition sets identical to rasc/droidasc/ddc on four archives, zero differences either way; a string xref query agrees site for site; decode emits smali, not Java, and the persistent cache is not a speed switch |
ok | observed | references/dexsql-sql-query-layer.md, references/toolchain.md |
| Repack, sign, install (single APK) | End to end: STORED and 4-byte-aligned resources.arsc, v1+v2+v3 true, install succeeded, on-device hash matched the local build, control build still fails the old way |
ok | observed | references/repack-and-sign.md, references/verification.md, scripts/repack.py |
| Split APK / App Bundle sets | Analyze, unified re-sign and merge measured on two real sets; merge correctly refuses a member carrying its own resources.arsc |
partial | observed | references/split-apk.md, scripts/repack.py |
| Third-party build audit | Not measured: the APK differ is on the list of scripts no pass has run | partial | unverified | references/third-party-builds.md, scripts/apk_diff.py |
| Extraction-shell detection (trivial-body ratio) | The ratio is bimodal, not thresholded; the old "tens of percent" rule was wrong and was deleted | ok | observed | references/advanced-unpacking.md, scripts/dex_dump_validate.py |
| Dex-VMP declaration boundary | Static criteria can rule a VMP out, never in; a hand-written opcode table produced a VMP verdict on ordinary dalvik with zero structural errors | partial | observed | references/advanced-unpacking.md, references/code-virtualization-and-custom-linkers.md |
| VMP differential opcode map | Closed loop re-derived 218 of 218 emitted opcodes with zero fabrications; no hardening platform was ever contacted | partial | observed | references/vmp-differential-analysis.md, scripts/vmp_diff_harness.py |
| Java2C versus JNI sinking | Native-declaration density separates the shapes by about 2000x and Java_* symbols matched dex counts 1:1; no Dex-to-C compiler output was ever built here |
ok | observed | references/java2c-and-jni-sinking.md, scripts/java2c_probe.py |
| Neutralising a native terminate path | Tooling works, patch does not: writes land and survive detach, and the target still dies at the same site | partial | observed | references/native-tamper-and-suicide.md, scripts/spawn_patch_detach.py, scripts/hook_patch_only.js |
| Instruction-level tracing (Stalker) | Exclusion keeps the target alive; it does not restore event delivery, which stayed at zero | partial | observed | references/native-dbi-and-deobfuscation.md, scripts/stalker_trace.js, scripts/stalker_report.py |
| Library mapping and PLT resolution | Mapping verified on a real target; the PLT script was broken and fixed after a false negative on a symbol that exists and is called | ok | observed | references/native-and-so.md, scripts/lib_map.py, scripts/elf_plt.py |
| Native crash triage and swallowed stacks | Unmeasured, including on the one target whose crash reporter hid exactly the stack the tool claims to recover | partial | unverified | references/native-tamper-and-suicide.md, scripts/native_crash.py, scripts/grab_crash.py |
| Runtime analysis with Frida | Instrumentation is a variable: attaching is what kills some targets, and exclusion is what keeps others alive | ok | observed | references/dynamic-frida.md, references/environment.md, scripts/run_probe.py |
| Local runtime data (DataStore and friends) | One real container round-tripped byte-exact and an edited value was read back; SharedPreferences and SQLite edits have no equivalent measurement | partial | observed | references/runtime-data.md, scripts/datastore_inject.py |
| Anti-instrumentation triage | The check was named and timed, and the TracerPid=0 versus four frida-named mappings asymmetry was recorded; reproducibility is bounded to a sub-second window |
ok | observed | references/detection-and-anti-analysis.md, scripts/anti_detect_probe.js |
| Emulation and Frida-RPC | The RPC bridge ran end to end on a live device, but the route itself is classified inferred: no target library was emulated | partial | inferred | references/emulation-and-rpc.md, scripts/frida_rpc_serve.py |
| Schema-free protobuf decode | 26/26 built-in fixtures, 21/21 against the official runtime, 8/8 framing checks, one real container byte-exact | ok | observed | references/protocol-reverse.md, scripts/protobuf_decode_raw.py |
| Server API probing and TLS scope | Determines who owns a gate, not how to break it; the native-pinning row was never run because it needs a toolchain this host lacks | partial | inferred | references/server-api.md, references/tls-and-cert.md, scripts/probe_api.py |
| Dart AOT analysis (given a dump) | Decoded identically to an independent disassembler (32/32, 96/96) and re-derived a caller index with a symmetric difference of 0 | partial | observed | references/dart-aot.md, scripts/dart_disasm.py, scripts/dart_pprefs.py |
| Dart AOT string-table format | arm64 packed form confirmed at the byte level; the documented armv7 UTF-16 form is refuted, and the extractor's zero is a format mismatch | partial | observed | references/dart-aot.md, scripts/dart_pool_strings.py |
| Producing a Dart AOT snapshot dump | Blocked: no resolver ships with this skill and none can be synthesized here | blocked | unverified | references/dart-aot.md, references/coverage-and-limits.md |
| Packer and custom-loader identification | Never exercised end to end; the target that was measured has no packer, so the tooling was recorded as not applicable | partial | unverified | references/packers.md, references/code-virtualization-and-custom-linkers.md |
| Module delivery instead of a repack | The scaffold builds end to end, but the delivery route has no public-target measurement and needs a device with the framework active | partial | inferred | references/lsposed-and-modules.md, scripts/lsposed_scaffold.py |
| Kernel-side syscall answer forging | Blocked on the kernel side: the generator is measured, no kernel artefact was compiled or loaded, and a userspace module cannot change a return value | blocked | unverified | references/kernel-and-environment-hardening.md, scripts/kernelsu_syscall_mask.py |
| Hardware memory watchpoints (ptrace) | The encoders and refusals are host-tested and the emitted helper compiles as a static aarch64 ELF; no watchpoint was ever armed on a device, and the route leaves TracerPid visible by design |
partial | unverified | references/hardware-watchpoints.md, scripts/hw_watch.py |
| Differential trace reduction | First divergence, divergent regions and per-side unique blocks measured on synthetic flattened-dispatcher fixtures, in both Stalker and wrapped-log grammars; no real-target producer (Stalker pair or cs_etm decode) has fed it yet | partial | observed | references/ete-diff-tracing.md, scripts/trace_diff.py |
| ETE hardware tracing | Gates and capture wrapper host-measured to the no-device boundary; no coresight capture or decode ever ran here, and --control exists to say so on a real device in one command |
blocked | unverified | references/ete-diff-tracing.md, scripts/ete_capture.py |
| A VM written in the managed layer (IL2CPP C#) | Identified, not recovered: opcode array + cursor + Dictionary<int, delegate> in dump.cs, handler indices read out of the constructor, array literals taken from InitializeArray rather than .rodata |
partial | unverified | references/unity-runtime.md, references/native-vm-recovery.md |
| Comparison gate as a prefix oracle | Host half measured: an early-exit compare costs k+1 comparisons for a k-byte correct prefix (k=0..8) while an MD5-then-compare is constant; no serial or licence gate was attacked | partial | observed | references/account-gates.md |
| SPE/BRBE sampling and crash forensics | The address→symbol loop is host-verified on a real cross-compiled .so; SPE/BRBE mechanisms are documented-and-gated, never captured here |
partial | unverified | references/hardware-sampling-and-crash.md, scripts/trace_addr2sym.py |
| Interpreter-trace de-virtualization | Dispatcher slicing, signature clustering and the opcode trajectory measured on synthetic interpreter traces; the calibration facts come from a public IR-VM's source, and no hardened binary was traced | partial | observed | references/ete-diff-tracing.md §5, scripts/vm_handler_slice.py |
| Native VM recovery procedure | The full method is absorbed from two public write-ups (dispatcher-layer separation, register anchoring with triple verification, nested segment stacks, STORE-backward slicing, clean-re-VM validation); no step was executed by this repository | partial | inferred | references/native-vm-recovery.md |
| JS VMP (jsvmp) recovery | Procedures absorbed from three public write-ups (stack and register machines) and never run on a real target; the shipped loader decoder (base64→varint→ZigZag) round-trips 2,016 values exactly, pins the known varint/ZigZag layouts and decodes the write-up's own sample literal end to end | partial | inferred | references/jsvmp-recovery.md, scripts/jsvmp_loader_decode.py |
| JS AST pre-deobfuscation | Detector self-tested on embedded fixtures (4 families, hint-beats-content, plain-is-generic) and residue metrics pinned; the rewrite passes themselves need node+babel and were never run here | partial | observed | references/js-ast-deobfuscation.md, scripts/js_obf_detect.py |
| Kotlin original-name recovery | All three annotation sources (DebugMetadata, Metadata.d2, jadx rename comments) parse correctly on pinned fixtures, third-party trees skipped, map files round-trip; upstream's 30–50%/≈100% recovery-rate claims not measured here | partial | observed | references/kotlin-name-recovery.md, scripts/kotlin_name_recovery.py |
| Long-connection (WebSocket) analysis | Absorbed state-chain methodology (handshake→heartbeat/ack→renewal, message families, envelope/payload split); no Android long-connection app was captured through it here | partial | unverified | references/protocol-reverse.md §6 |
| Kernel-side instrumentation/injection | The scaffold's generate/verify is measured and every kernel file ships unbuilt with its gate; the register-rewrite action is explicitly experimental and never ran anywhere | blocked | unverified | references/kernel-event-injection.md, scripts/kernel_instrument_scaffold.py |
svc site scanning |
Two independent decoders agreed on an identical 214-site set; a byte scan also matches data, so neighbour context decides | ok | observed | references/kernel-and-environment-hardening.md, scripts/svc_scan.py |
| On-device tooling (MT Manager MCP) | The service-down path is measured; the connected path needs the service started by hand | partial | observed | references/on-device-tooling.md, scripts/mt_mcp_probe.py |
| Client-side ads and server-issued UI config | Measured on a real mid-size target's ad chain, with a repacked build's on-screen change confirmed | ok | observed | references/ad-removal.md, references/server-config-and-updates.md |
| Is a membership or paywall gate client-enforceable? | The decision framework is documented; no gate-shaped public target was put through it here | ok | inferred | references/membership-and-limits.md, references/account-gates.md |
| Update and forced-upgrade neutralisation | Documented, no measurement; the failure shape is a build that installs, runs and fails every signed request | partial | inferred | references/updates-and-forced-upgrade.md, references/signature-derived-keys.md |
| Signature-derived keys | Documented only: neither the offline candidate path nor the live read has a public-target measurement here | partial | unverified | references/signature-derived-keys.md, scripts/sig_probe.py |
| Publishing sanitisation and leak scanning | Every rule fired on a planted corpus with zero false positives on the do-not-anonymize list, and the scan found 26 strong hits in its own evidence file | ok | observed | references/desensitization-and-leak-scans.md, scripts/scan_leaks.py |
| Unity / IL2CPP logic recovery | Documented route only: backend identification, Il2CppDumper over libil2cpp.so + global-metadata.dat, the IDA import order, the Frida bridge, and the dnSpy-Unity-mono patch. No Unity package was dumped here and no patched Mono runtime was built |
partial | unverified | references/unity-runtime.md, references/framework-runtimes.md |
| IL2CPP protected metadata recovery | Absorbed route only: consumer-side dump, version-independent header sizing, the repeating-key XOR / bytecode-VM / XXTEA container shapes, the live-image dump and the ELF repair that makes it usable. No Unity metadata was decrypted or dumped here | partial | unverified | references/il2cpp-protected-metadata.md, references/unity-runtime.md |
Linker-level SO unpacking and soinfo repair |
Absorbed route only: the dlopen pipeline as a loader spec, load_bias and segment arithmetic, DT_* and relocation rules, the minimal soinfo repair set, anti-dump header XOR, and the dump points. No loader was reimplemented here |
partial | unverified | references/linker-and-soinfo-repair.md, references/code-virtualization-and-custom-linkers.md |
| VM protector analysis (virtual eflags, NAND lowering) | Absorbed from three public VMProtect write-ups: envelope triage, VM anatomy, data-anchored breakpoints, trace-then-search-by-constant, virtual-eflags patching, branchless select and NAND lowering. No VM-protected binary was traced here | partial | unverified | references/vm-protector-analysis.md, references/native-vm-recovery.md |
| Python bytecode / Pyarmor recovery | Absorbed from one public write-up: the key schedule, AES-CTR nonce rules, the 12-byte VM, version-gated pyc parsing, the extra-section TLV, and per-object/per-string decryption. No sample was unpacked here |
partial | unverified | references/python-bytecode-recovery.md |
Attaching IDA's debug server to a .so |
Documented route only: ABI-matched dbgsrv, root server, wait-for-debugger plus the JDWP handshake that releases the process, and the extractNativeLibs="false" failure where no breakpoint binds. Never run here; neither source targeted a hardened app |
partial | unverified | references/ida-so-debugging.md |
| React Native / Hermes, iOS | Outside this skill: the runtime can be identified, the logic recovery is not covered | blocked | unverified | references/framework-runtimes.md, references/coverage-and-limits.md |
| Defeating a server-side authority | Out of scope by design; report it as a residual rather than patching harder | blocked | unverified | references/server-api.md, references/handoff-boundaries.md |
| Native dump window and syscall reader | Absorbed operating rules: dump at android_dlopen_ext entry because the window closes inside JNI_OnLoad, a raw-syscall reader outside a self-hooked libc, and zero-filled holes so repair keeps offsets. Zero-fill offset arithmetic host-checked on a synthetic image; the window itself never exercised here |
partial | unverified | references/linker-and-soinfo-repair.md §6.2 |
| White-box crypto devirtualization to a program | Absorbed route: symbolic input, constant folding, a straight-line (op, args) program plus its constant table, output map and template; version-bound, deterministic functions only. No extract was produced here |
partial | unverified | references/native-vm-recovery.md §11 |
| Cipher classification by differential probe | Method: header length, determinism, one-byte diffusion width and the length law separate CTR, CBC and ECB (the earlier prefix-XOR-only claim was falsified and is corrected); involution wrappers cancel; Java/Python encoding and compression drift decide the last mile. Probes and algebra host-checked on AES-128 and synthetic inputs; no target body classified | partial | inferred | references/protocol-reverse.md §7 |
| Unity + Lua scripts and AssetBundle rebuilds | Absorbed: Locating a Lua container on top of Unity, the Lua 5.1 header-byte tamper, loader bytecode-only check, the CRC manifest the game actually reads, UnityFS partial-encryption windows, rebuild traps (layout loss, dependency null, compressed == raw), TextAsset read-back, and half-encrypted Mono assemblies behind a publisher shell. No package was decrypted or bundle rebuilt here | partial | unverified | references/unity-lua-and-assetbundles.md |
| LayaAir native (Conch) DCC recovery | Absorbed: Conch identification, the path-addressed cache, the DCC filetable checksum, regenerating metadata from shipped content, the loader patch, and the startup-delay race. No LayaAir package was reversed here | partial | unverified | references/framework-runtimes.md §LayaAir native (Conch) specifics |
Where the full record lives — repository root, not shipped
Six entries, deliberately: everything the table needs beyond your install is here, and nothing else
in this skill should point outside itself. All six sit at the repository root and are not installed
by npx skills add; their paths are names, not openable files, in your copy.
docs/tool-verification/README.md— the index of the evidence record (repository root, not shipped)docs/tool-verification/TOOL-VERDICTS.md— one verdict per script and external toolchain, with the independent cross-check behind it (repository root, not shipped)docs/tool-verification/FINDINGS.md— defects, contradictions and boundary evidence about the skill itself (repository root, not shipped)docs/tool-verification/REPO-DECISIONS.md— what changed as a result, and what deliberately did not (repository root, not shipped)docs/tool-verification/EXTENSION-*.md— one file per topic, each with its own strength note and the exact commands (repository root, not shipped)tests/benchmark.md— the B1–B13 public-target regression matrix: what happened, including the negative results (repository root, not shipped)
The reference documents still cite those paths where the detail matters, because a repository reader can open them. The labels, the one-line verdicts and the blocked list are all here, so an installed copy never has to fail silently at a path it cannot open.
When the evidence does not reach your case
| Your situation | Do this |
|---|---|
The row you need says observed, but for a different target shape |
Treat it as a reason to try the route first, not as proof it will work. Keep your own control build. |
The row says inferred |
The mechanism is documented or borrowed from a neighbouring measurement. Budget one cheap experiment that would make it observed before building on it. |
The row says unverified |
Nobody here has paid for the counters. Do not cite this skill as support; run the step and label your own result. |
The row says blocked |
Do not improvise a route. State the missing dependency, and name the cheapest experiment that would identify whether it is the real blocker. |
| The step needs install or launch, and the row stops before it | The route is not end-to-end. Install it, launch it, and exercise the feature before calling it done. |
Failure modes
- Reading "the tool ran" as "the tool is right". One script here produced a false negative on a symbol that exists and is called; another answers "no references" for input it cannot read at all.
- Reading a confident paragraph as
observed. The label decides, not the prose. - Reading
unverifiedas a refutation. It is an absence of evidence here, not evidence of absence. - Treating silence in
evidence/known-limitations.md's never-exercised list as support for a route. - Presenting a route as verified when the artifact that was verified is not the artifact being handed
over — the claim ladder in
references/verification.mdexists for exactly this gap.