Independent research initiative · est. 2024

Independent · self-funded · not an accredited institution

Thien Menh
Research

We measure the exact line where mobile software stops trusting itself and starts trusting the network.

Affiliation
Thien Menh Research · independent research initiative
Location
Hanoi, Vietnam
Researcher
Nguyen Phuoc Toan

Abstract

Mobile applications increasingly make security-relevant decisions on the client: what to display, what to request, and what the server will accept as true. Our work studies that delegation empirically. We build reproducible pipelines for recovering the protocol semantics of closed-source clients, annotate the validation assumptions those protocols rest on, and publish the corpora and tooling behind every claim so that results can be replicated, extended or contradicted by other groups.

01Research directions
01

Recovering message schemas from proprietary mobile clients

Commercial mobile clients ship without documentation, so their wire formats have to be reconstructed from binary and runtime artefacts. We build semi-automated recovery pipelines that combine bundle extraction, dynamic tracing and differential replay to produce machine-checkable schemas, and we release the intermediate corpora so that a finding can be reproduced rather than merely asserted.

  • binary analysis
  • protobuf
  • differential testing
02

Mapping which decisions the server still delegates to the client

Not all client-side state is cosmetic. We instrument message traces to classify each server-visible action as client-authoritative, server-authoritative or ambiguous, then quantify how much progression or economic value rests on every ambiguous case. The output is a per-title trust map that is comparable across implementations.

  • protocol semantics
  • threat modelling
  • measurement
03

A reproducible taxonomy of server-side validation failures

We maintain an annotated corpus of validation gaps — replay, concurrency, integer-domain and idempotency failures — built under a fixed, published annotation protocol. Every record ships with the trace fragment it was derived from, so the labels can be re-scored by anyone instead of being taken on trust. The point is that prevalence claims about a whole application class become testable instead of anecdotal.

  • dataset annotation
  • reproducibility
  • public protocol
04

Measuring what client hardening actually buys

Anti-tamper, integrity attestation and obfuscation are widely deployed and rarely measured. We run ablation studies on instrumented builds to estimate the marginal cost each technique imposes on a competent adversary against the marginal cost it imposes on legitimate users and maintainers.

  • ablation study
  • benchmarking
  • usable security
02Selected work

Preprints are deposited openly so that the underlying data and tooling can be inspected alongside the claims. DOIs are assigned on deposit and are updated here on publication.

2026Preprint · ZenodoPublished · v1

Recovering Protocol Schemas from Proprietary Mobile Game Clients: A Reproducible Pipeline

Describes a reproducible three-layer recovery pipeline for undocumented binary protocols — static bundle analysis, passive runtime tracing, and controlled differential observation — evaluated on an anonymized LayaNative Android baseline (1,447 unique message IDs recovered). Replication scripts, sanitized sample traces, and the public three-label annotation protocol are openly deposited alongside the preprint.

2026Manuscript in preparationDraft

Where the Server Still Trusts the Client: A Taxonomy of Validation Gaps in Idle-RPG Backends

Introduces the annotation protocol behind the VG-24 corpus. Every released record carries the trace fragment it came from, and a prespecified subset is re-annotated 14 days later without access to the first-pass labels, so the labels can be audited and re-scored by others.

03Software & data
ToolkitMIT

mtrail

Trace annotation toolkit for undocumented binary protocols. Ingests capture logs, emits annotated schema candidates and a coverage report.

ToolkitApache-2.0

bundleprobe

Deterministic harness for extracting and diffing cross-platform runtime bundles, with normalised output for archival comparison.

DatasetCC-BY-4.0

VG-24 corpus

Work in progress: validation-gap records drawn from builds supplied for testing and from our own instrumented deployments; third-party excerpts appear only where redistribution is permitted. Released with the annotation protocol and the trace fragment behind each record.

04People

Independent Researcher

Nguyen Phuoc Toan

Works on protocol-level measurement of mobile clients, with a focus on reproducibility and on disclosure practices that hold up outside academia. Designs, builds and maintains all tooling released under this name.

Replication & co-authorship

Open collaboration

Replications, corrections and joint work on dynamic instrumentation of Android runtimes are welcome. No employees, no interns — collaboration happens project by project.

05Contact & disclosure

We are glad to hear from researchers working on the same boundary, from maintainers of instrumentation tooling, and from anyone preparing an independent replication of our results. Write to the address below and expect a reply within a week.

Responsible disclosure

Findings that touch a live service are reported privately to the vendor first, with a 90-day coordination window before any detail is published. No exploit code, no live accounts and no production data are ever included in our corpora; measurements are taken on instrumented builds or on data supplied under permission.

Status of this initiative

Thien Menh Research is an independent, self-funded research initiative. It is not an accredited university, degree-awarding body or registered laboratory, and it issues no credentials of any kind. Work published here is released as open preprints with tooling and data attached, so that it is evaluated on the artefacts rather than on an affiliation.