# PROMPT BÀN GIAO — TIẾP TỤC NGHIÊN CỨU BSHIELD / GSM DRIVER (iOS)

> Dán toàn bộ nội dung này cho agent mới. Agent mới KHÔNG thấy hội thoại cũ — mọi ngữ cảnh cần thiết nằm dưới đây.

## 1. VAI TRÒ & MỤC TIÊU

Bạn là agent nghiên cứu reverse-engineering tĩnh (Windows 11, PowerShell 5.1, Python 3.13 + capstone 5.0.7 — KHÔNG có lief; Java 27 có sẵn). Đối tượng: app iOS **GSM Driver** (bundle id `vn.gsm.md`, bản dump đã giải mã **3.19.0 build 566**) chứa SDK bảo vệ **BShield**.

**Câu hỏi nghiên cứu của người dùng (phải trả lời bằng bằng chứng tĩnh, không suy đoán):**
1. Vì sao app phát hiện **"môi trường nhà phát triển"** trên iPhone **KHÔNG jailbreak, KHÔNG attach Frida**, người dùng **chỉ bật Developer Mode trong Settings**? (app được cài bằng bản **repack/ký lại** — đây là ngữ cảnh quan trọng: bật Dev Mode là điều kiện để app dev-signed chạy được trên iOS 16+).
2. Vì sao app phát hiện **app đã bị repacked**?

**Sản phẩm phải giao:** báo cáo Markdown tiếng Việt theo đúng phong cách thư mục `E:\ios\docs\` (mỗi kết luận gắn [Xác nhận]/[Suy luận]/[Giả thuyết] + offset + confidence), cập nhật `docs/flag_mapping.csv` nếu xác định được ngữ nghĩa flag. **Phạm vi cứng (đã thống nhất từ trước, xem `docs/khao_sat_pham_vi.md`): CHỈ phân tích tĩnh — KHÔNG sửa binary, KHÔNG giả mạo flag, KHÔNG vô hiệu hóa kiểm tra, KHÔNG viết bypass/patch.**

## 2. ĐƯỜNG DẪN QUAN TRỌNG

| Đường dẫn | Nội dung |
|---|---|
| `E:\ios\dump_tool\out\Payload\Driver.app\Driver` | Main binary 34.7 MB (Flutter + Swift/ObjC, module `Driver`) |
| `...\Driver.app\Frameworks\build-info.framework\build-info` | **Mô-đun A** 8.3 MB — class `Shield*`, registry, config nhúng |
| `...\Driver.app\Frameworks\bshield.framework\bshield` | **Mô-đun B** 4.5 MB — engine anti-tamper, `ShieldLoader` |
| `...\Driver.app\Frameworks\flutter_bshield_callback.framework\...` | **Mô-đun C** — cầu MethodChannel → Dart |
| `E:\ios\docs\` | 5 tài liệu phân tích cũ: `bao_cao_tong_hop.md` (1113 dòng — ĐỌC TRƯỚC), `bshield_findings.md`, `termination_analysis.md`, `evidence_index.md`, `flag_mapping.csv` |
| `E:\ios\dump_tool\out\buildinfo_*.txt`, `bshield_wave*.txt`, `bshield_anti.txt` | ~50 file decompile Ghidra có sẵn (wave5 = registry load 0x19c1c; wave10-12 = crypto/pinning; wave13-34 = module B) |
| `E:\ios\dump_tool\*.py` | 44 script tái sử dụng (resolve_symbols, scan_xrefs, scan_callers, disasm_range, dump_dlsym_names, scan_config2, bshield_cfg_decode…) |
| `E:\ios\dump_tool\out\scan_*.txt`, `*_envstrings.txt`, `xref_*.txt` | Output của phiên này (quét strings/imports/xref) |
| `E:\ios\ghidra_proj\` | Project Ghidra bs1/bs2/bs3 đã import build-info + bshield (-noanalysis) |
| `E:\ios\ghidra.zip` | BỊ CẮT CỤT (thiếu central directory, chỉ 195MB) |
| `E:\ios\ghidra_full.zip` | Ghidra 12.2 ĐẦY ĐỦ — **ĐÃ TẢI XONG, đủ 569,712,708 bytes, chỉ cần giải nén** (URL: github.com/NationalSecurityAgency/ghidra releases tag `Ghidra_12.2_build`, file `ghidra_12.2_PUBLIC_20261016.zip`) |

## 3. HIỂU ĐÃ CÓ TỪ CÁC PHIÊN TRƯỚC (tóm tắt)

- Kiến trúc BShield: mọi hàm nhạy cảm là **trampoline** tra registry (KEY 32-bit → mask 2 lớp → nhảy hàm thật). Bảng KEY đã trích đủ (xem §5). Module B canh môi trường: anti-debug `sysctl P_TRACED`, watchdog `task_threads`+`thread_get_state` lọc thread lạ, phát hiện → **đóng băng toàn bộ thread** (~2–3s, không .ips). Đã xác nhận module B KHÔNG tự băm code (không csops/SecCode*/CC_SHA*).
- Kênh flag: `ShieldData +getDetectFlags` (trampoline `0x6364`, KEY `0x2cd667`) → `NSArray<NSNumber*>` → Dart qua MethodChannel + callback `onOSProtectionStatusChanged`. **Ngữ nghĩa từng phần tử mảng flag = câu hỏi mở số 1 của toàn bộ hồ sơ.**
- Thiết bị đo cũ: iPhone X iOS 16.7.16 rootHide (JB) — đã mô tả T1–T6 (chết DYLD khi spawn trực tiếp, tự-thoát sạch khi hook/đọc bộ nhớ). **Phiên hiện tại khác: thiết bị KHÔNG JB.**

## 4. PHÁT HIỆN MỚI (phiên 2026-11-19 — đã xác nhận bằng dữ liệu)

### 4.1 Imports (giải từ symtab undefined — các binary strip nhưng giữ nguyên imports)
- **Mô-đun A**: `sysctl`, `sysctlbyname`, `uname`, `stat/fstat/opendir/readdir/readlink`, `dlopen/dlsym/dladdr`, `mmap`, `getuid/geteuid/getgid/getegid/getppid`, `task_threads`, `sigaction/signal`, `class_replaceMethod/method_getImplementation/class_respondsToSelector` (phát hiện swizzle hoặc tự-swizzle), `SecItemAdd/CopyMatching/Delete` (Keychain), `SecCertificateCopyData/SecTrust*` (pinning HTTPS), `UIAlertView/UIApplication/UIDevice/NSProcessInfo/NSFileManager`, `NSFileSystemSize/FreeSize`, `getifaddrs`, `CFNetworkCopySystemProxySettings`, `CFNotificationCenterGetDarwinNotifyCenter`. **KHÔNG có** `csops`, `SecTask*`, `SecCode*`, `SecStaticCode`, `MGCopyAnswer`, `DCAppAttest*`, `SKReceipt*`.
- **Mô-đun B**: tương tự + `mach_*` đầy đủ, `thread_suspend/resume/terminate`, `task_set/get_exception_ports`, `_backtrace`, `__dyld_register_func_for_add_image`, `dlopen(NULL)+dlsym` (2 site `dlsym_self`), 45 site dlsym (10 đã giải = `_dyld_image_count`/`_dyld_get_image_name`; **22 site qua wrapper std::string CHƯA GIẢI** — chạy lại `dump_dlsym_names.py` để giải tiếp).
- Script mới: `dump_tool\scan_env_checks.py` (quét strings plain + **XOR-0x55** + keyword + symtab imports; cú pháp trong đầu file), `dump_tool\ctx.py <binary> <hexoff> [radius]` (in strings quanh offset), `dump_tool\scan_dir.py <dir> <report>` (quét keyword toàn thư mục — **CHƯA chạy trên toàn bộ Driver.app**, lproj/bundle có thể chứa chuỗi UI).

### 4.2 Bảng chuỗi ẩn XOR-0x55 trong module B (`__TEXT,__const` ~0x3dbfa0–0x3e0140 và ~0x40ccd0–0x40cf00)
Đã decode đủ: `MobileSubstrate, RocketBootstrap, cynject, /Library/Caches (kèm getenv HOME), /System/Applications/Utilities/Terminal.app, /System/Applications/Utilities/Console.app, /usr/lib/frida/frida-agent.dylib, /usr/sbin/frida-server, /dev/fakevar, _dyld_image_count, _dyld_get_image_name, SubstrateLoader.dylib, SSLKillSwitch, TweakInject.dylib, CydiaSubstrate, PreferenceLoader, WeeLoader, libhooker, SubstrateInserter, SubstrateBootstrap, Substitute, FridaGadget, frida, libcycript, /.file, dyld.bypass, /usr/lib/systemhook, /.jbroot, /usr/lib/roothideinit.dylib, /usr/lib/roothidepatch.dylib, openat, abort, _exit, fread, fopen, pthread_create`. → Đây là **check jailbreak/injection của module B** (KHÔNG kích hoạt trên thiết bị sạch không JB).

### 4.3 Main binary có **lớp bảo vệ Swift riêng** (không phải BShield)
- **Bảng Swift String literals trong `__DATA` (file offset 0x20210e0–0x2021498, VA = 0x101ed0000 + (off − 0x1ed0000))**, gồm các nhóm:
  - Tên process cần scan (kết hợp `sysctl`, có string "sysctl" @0x1ab7cb3 và bảng __DATA): `frida, frida-server, frida-hel(per), frida-l(?), gadget, gdb, lldb, debugserver, cycript`.
  - Path: `/Applications/Cydia.app` (0x1acd920), `/Applications/TrollStore.app` (0x1acd940), `/bin/bash`, `/usr/sbin/sshd`, `/Library/MobileSubstrate/MobileSubstrate.dylib` (+ con trỏ vào GIỮA chuỗi để so suffix, vd 0x1acd970), `/private/var/lib/apt/`, `/private/var/stash`, `/var/mobile/Library/Preferences/me.ra1n.dopamine.plist`, `.../com.opa334.Dopamine.plist`, `.../xyz.willy.Zebra.plist`, `/usr/libexec/ellekit/loader`, `/var/containers/Bundle/dopamine`.
  - URL scheme: `cydia://`, `sileo://`, `zebra://`, `undecimus://`, `trollstore://`; thư mục `/Applications/`, `/usr/libexec`, `/usr/bin`; symbol `open, stat, fork, sysctl, ptrace`.
- **Hàm đã định vị (chưa decompile)**: `func~0x1018570b4` (tham chiếu cụm chuỗi frida — scan process/thread), `func~0x101855d1c` (tham chiếu bảng string tại VA 0x1020211a8 — check path/scheme), `func~0x10191ec00` (load selref `appStoreReceiptURL` @VA 0x101f76050 — kiểm tra receipt). Cả 3 nằm gần nhau ⇒ cùng class Swift — cần tìm tên class trong `__swift5_reflstr` (vùng 0x1c70000–0x1ca0000; đã thấy field `runtimeHookDetector`, `cachedRuntimeHookDetected` @0x1c7b930/0x1c7b980 — đáng chú ý!).
- Chuỗi `TrollStore/Dopamine/Cydia/Substrate/frida/gadget/debugserver` plaintext tại `__TEXT,__cstring` 0x1acd900–0x1acdab0.
- **`DCAppAttestService` trong main binary thuộc về `RecaptchaEnterpriseSDK`** (swift5_typeref `So18DCAppAttestServiceC` kèm `$s22RecaptchaEnterpriseSDK...`; selector `attestKey:clientDataHash:completionHandler:` @0x1cc6ce3) → App Attest là của Google reCAPTCHA Enterprise (chống abuse, kiểm chứng server-side), KHÔNG phải check repack tự viết.
- Main binary link **StoreKit.framework**; CFString `appStoreReceiptURL` selref @VA 0x101f76050 (file 0x1f76050, __DATA).
- CFString struct `sandboxReceipt` @VA 0x101eade40 (file 0x1eade48) và `embedded.mobileprovision` @VA 0x101eadf00 (file 0x1eadf08) — nằm trong dãy CFString của vùng Firebase APM (láng giềng: "Ad unit exposure…", "x86_64", "i386", ".appex", "SC_Info", "embedded", "mobileprovision", "Timer"). **CHƯA tìm được code tham chiếu trực tiếp** (không có xref adrp tới từng struct) ⇒ có thể được tham chiếu qua base của mảng CFString hoặc do code Firebase dùng ⇒ cần scan xref theo dải (xref các VA quanh 0x101eade00–0x101eadf60, hoặc tìm mảng chứa chúng trong __DATA_CONST).
- Chuỗi UI tiếng Việt KHÔNG có trong Dart snapshot (`App.framework` 18.3MB — chỉ có "developer"/"Frida" tiếng Anh, chủ yếu false positive kiểu `dart:developer/...`, `Friday`). ⇒ Thông báo người dùng thấy có thể: (a) do Dart dựng từ key có sẵn, (b) native UIAlertView từ module A, hoặc (c) **server trả về** (BShield gửi flag/signature lên server). `scan_dir.py` toàn bundle CHƯA chạy — làm để phủ lsp/bundle.

### 4.4 Blob "cdhashes" trong __LINKEDIT của module A (file 0x8445xx–0x844aa2, VA = fileoff + 0x4000)
- DER cert chain Apple (chuỗi trong cert: `Apple iPhone Certification Authority`, `Apple Inc.`, URL `http://www.apple.com/appleca/...`) + **XML plist**: `<key>cdhashes</key><array>` chứa 2 giá trị base64 (SHA1 20-byte):
  - `/ELV3d3BO3+os5FnXhuEJX8GQvo=` (@file 0x844a37)
  - `+scG5DVPQVTh8r5jNdWRrZhdpD0=` (@file 0x844a69)
- **CHƯA tìm thấy tham chiếu nào** (không adrp xref, không pointer trong __DATA, kể cả unaligned) ⇒ khả năng cao là **dữ liệu chết / sót lại của chữ ký gốc** — NHƯNG chưa loại trừ việc code tìm blob bằng marker lúc runtime (memmem "<plist" / magic DER). Cần kiểm tra code quét marker trong module A trước khi kết luận "dead data".
- Cả 3 binary đều còn mảnh CodeSignature big-endian: CodeDirectory @0x823555 (A), @0x46bcda (B), @0x22240bd (Driver); Requirements @0x80f21c/0x8235b9 (A)… — dump tool đã cắt SuperBlob (magic `FA DE 0B 0B` big-endian không còn; lưu ý lần tìm trước dùng little-endian nên sai).
- Main binary nhúng entitlements XML+DER của bản gốc tại file 0x222410d–0x2224465: team `2WMM8DUF6R`, `application-identifier = 2WMM8DUF6R.vn.gsm.md`, `aps-environment=production`, `applinks:taixe.greensm.com` — hiện **không có xref** ⇒ nghi là sót của chữ ký gốc, KHÔNG phải baseline runtime (chưa chốt 100%).

### 4.5 Registry module A — trạng thái mapping KEY→hàm thật
- Wave5 (decompile `0x19c1c`, 4772 dòng) cho thấy mỗi entry: decode config section → parse chữ số thập phân thành KEY → gọi thunk (`return &DAT_xxx`) lấy địa chỉ đích → mã hoá qua `0x409f4` → ghi map (`0x2c63c`). Thunk gọi theo thứ tự trong wave5: `0x36670` (dòng 1184) → `0xe4dc` (1383) → `0x2ace8` (1582) → `0x2b838` (1781) → `0x32468` (1980) → … (bước ~199 dòng/entry, tổng 19 entry).
- Chuỗi shim: thunk → shim1 (vd `0x2b61c`) → shim2 (vd `0x38ee4`) → impl gọi `0x1d8978` (init chung) + hàm riêng. Các impl đã thấy: `0x1cccf0`, `0x1e489c`, `0x1d2848`, `0xe06c` (duyệt map + notify listener — chính là hàm đẩy `onOSProtectionStatusChanged`), `0x1d51fc`, `0x1d8110` (+0/+1), `0x1cc3f0`, `0x2c708→0x1be0bc` (**interpreter "shield code"** — khả năng cao là getShieldCode), `0x37110` (thunk `FUN_00028a48`), `0x2ae44`, `0x37dac`, `0x321c4`, `0x2db64`, `0xdffc`…
- `evidence_index.md` đã ghi: getDetectFlags nghi là đích `0x37110` hoặc `0x3f3d4` ("chưa khớp KEY do thiếu config"). **Việc cần làm:** decode config (script `bshield_cfg_decode.py`, `scan_config2.py` — ChaCha20 counter = offset/0x40 + 1) để lấy KEY của từng section → khớp với KEY `0x2cd667` → chốt đích thật của getDetectFlags → decompile.

## 5. BẢNG KEY (từ `buildinfo_key.txt`, đã khớp chéo runtime)

| Hàm (trampoline offset) | KEY |
|---|---|
| ShieldData +initialize (0x4680) | không qua bảng |
| **ShieldData +getDetectFlags (0x6364)** | **0x2cd667** |
| ShieldData +get (0x4174) | 0x814951 |
| +addListener: (0x5730) / +removeListener: (0x4f6c) | không qua bảng |
| ShieldAPI getShieldCode (0x7970) | 0x1c2ffd |
| ShieldAPI generateSignature (0xaab0) | 0x38b58c |
| ShieldAPI encryptRequest (0x5abc) | 0x5a9c5f |
| ShieldDataProtection encrypt (0x50fc) / decrypt (0x8190) / decryptRemote (0x8f18) | 0x70ca53 / 0x62c4d6 / 0x2c8849 |
| ShieldConfig updateConfig (0x8080) | 0x90874f |
| ShieldAssets readAssets (0x5304) | 0x482a25 |
| ShieldParameter insert (0xb050) | 0x3a6edf |
| ShieldPinning verifyChallenge (0x71c8) | 0x7e8494 |

## 6. QUY TẮC MAP ĐỊA CHỈ (bắt buộc khi scan/xref)

- **Driver**: `__TEXT` vm=0x100000000 file=0 ⇒ **VA = fileoff + 0x100000000**; `__DATA_CONST` file 0x1d98000→VA 0x101d98000; `__DATA` file 0x1ed0000 (fsz 0x174000)→VA 0x101ed0000; `__LINKEDIT` file 0x2044000→VA 0x1020a8000.
- **build-info**: `__TEXT` vm=0 ⇒ VA = fileoff; `__DATA` vm=0x7d0000 = fileoff; `__LINKEDIT` file 0x800000 → **VA = fileoff + 0x4000**.
- **bshield**: chưa kiểm tra vmaddr — kiểm tra bằng đoạn script segment trước khi xref.
- `scan_xrefs.py` chỉ decode `__TEXT` (adrp+add/ldr/str); targets phải là **VA** (đã sai 1 lần do thiếu chữ số — cẩn thận 0x101acd920 ≠ 0x11acd920). Output nên bắt bằng `subprocess.run(capture_output=True)` rồi ghi file (redirect `>` của PowerShell ghi UTF-16 làm file "binary").
- Code thường tham chiếu **bảng** (vd bảng string ở 0x20211a0) chứ không tham chiếu từng chuỗi — xref địa chỉ bảng, không xref địa chỉ chuỗi.

## 7. HẠ TẲNG GHIDRA (setup 1 lần)

1. `E:\ios\ghidra_full.zip` đã đủ 569,712,708 bytes (đã tải xong). Giải nén bằng python zipfile vào `%TEMP%\ghidra3` hoặc `E:\ios\ghidra_12.2`.
2. Giải nén (python zipfile được vì bản này nguyên vẹn) vào `%TEMP%\ghidra3` hoặc `E:\ios\ghidra_12.2`.
3. Cách chạy (theo `dist\README_goi_phan_tich.txt`):
   - build-info (đã có trong project bs2): `analyzeHeadless.bat E:\ios\ghidra_proj bs2 -process build-info -noanalysis -scriptPath E:\ios\ghidra_scripts -postScript DecompileTargets.java E:\ios\dump_tool\out\wave35.txt 0x37110 0x3f3d4 0x1be0bc 0x1d8978 0x1e489c 0x1d2848 ...`
   - Driver (chưa import): `analyzeHeadless.bat E:\ios\ghidra_proj drv -import "E:\ios\dump_tool\out\Payload\Driver.app\Driver" -noanalysis -scriptPath E:\ios\ghidra_scripts -postScript DecompileTargets.java E:\ios\dump_tool\out\drv_wave1.txt 0x1855d1c 0x18570b4 0x191ec00 ...` — lưu ý `DecompileTargets.java` nhận **offset tính từ textBase** (với Driver: offset = VA − 0x100000000).
4. Sau khi decompile xong hàm nào, dùng `resolve_symbols.py <binary> objc <addr>` / `sel <addr>` để giải tên selector/class trong decompile.

## 8. VIỆC CẦN LÀM — THEO THỨ TỰ ƯU TIÊN

1. **Chốt đích getDetectFlags (module A)**: decode config → khớp KEY 0x2cd667 → decompile impl → *đây là đường đến ngữ nghĩa từng bit flag* (mỗi check set 1 bit). Nếu impl là bảng gọi chuỗi check con → decompile từng check con.
2. **Decompile 3 hàm lớp Swift của main binary** (0x1855d1c, 0x18570b4, 0x191ec00) + tìm tên class/enum liên quan trong swift5_reflstr (tìm `_TtC6Driver...Security/Protect/Shield/Detect...`, đã thấy field `runtimeHookDetector`) → xác định lớp này kết quả dùng để làm gì (set flag nội bộ? gọi BShield? hiển thị UI?).
3. **Giải 22 site dlsym còn lại của module B** (`dump_dlsym_names.py`) — nếu trong đó có `csops/SecTaskCopyValueForEntitlement/MGCopyAnswer` ⇒ cơ chế đọc trạng thái ký/dev-mode sẽ lộ ra.
4. **Xref dải CFString `sandboxReceipt`/`embedded.mobileprovision`** (VA 0x101eade40/0x101eadf00): scan xref theo các VA lân cận để tìm mảng/base; xác định đó là code của Firebase hay của app — nếu của app ⇒ đọc profile phát hiện **dev-profile** (get-task-allow) — ứng viên số 1 cho "môi trường nhà phát triển".
5. **Chạy `scan_dir.py` trên toàn bộ `Driver.app`** (kèm `langs/`, `*.lproj`, bundle) để tìm chuỗi UI/kinh báo cảnh + key flag tiếng Việt/Anh.
6. **Kiểm tra blob cdhashes**: tìm code memmem marker (`"<plist"`, DER magic) trong module A; nếu không có ⇒ gán [Dữ liệu chết — sót chữ ký gốc] và loại khỏi cơ chế.
7. Tổng hợp báo cáo: đối chiếu từng cơ chế với kịch bản người dùng (thiết bị sạch + Dev Mode ON + bản repack dev-signed) — chỉ những check nào BẮT SẼ kích hoạt trong kịch bản đó mới liệt vào nguyên nhân; phần còn lại ghi rõ "không kích hoạt trong kịch bản này".

## 9. GIẢ THUYẾT ĐANG XÉT (chưa kết luận — phải có bằng chứng mới ghi [Xác nhận])

- **"Môi trường nhà phát triển"**: nguyên nhân nhiều khả năng KHÔNG phải việc đọc trực tiếp toggle Developer Mode (không thấy API nào khả thi trong imports tĩnh), mà là **hệ quả của bản cài dev-signed**: embedded.mobileprovision dạng Development / get-task-allow=1 / chứng chỉ Development (trong khi app gốc phân phối App Store KHÔNG có embedded.mobileprovision và receipt sandbox khác) — trên iOS 16+ bản dev-signed CHỈ chạy được khi Dev Mode ON nên hai trạng thái luôn đồng hành. Cần tìm code đọc profile/entitlements để chốt.
- **"Repacked"**: ứng viên — (a) thiếu App Store receipt (`appStoreReceiptURL` file không tồn tại với bản sideload); (b) so khớp ký/entitlements/team ID với giá trị nhúng (blob entitlements 2WMM8DUF6R trong main binary, blob cdhashes trong module A — nếu có code dùng); (c) App Attest qua reCAPTCHA Enterprise phía server; (d) hash tài nguyên/binary so với config nhúng (ShieldAssets/readAssets + ShieldDataProtection decrypt).
- Module B chỉ đủ điều kiện kích hoạt khi có JB/instrumentation — **không** phải nguyên nhân trong kịch bản "thiết bị sạch chỉ bật Dev Mode".

## 10. LƯU Ý VẬN HÀNH

- Không dùng `>` của PowerShell cho output script Python (UTF-16) — ghi file ngay trong Python hoặc dùng subprocess capture.
- File `E:\ios\dump_tool\out\*.txt` nhiều file lớn; `read` có thể báo "binary" nếu BOM/UTF-16 — đọc qua `python -c "print(open(...,'rb').read().decode('utf-8',errors='replace'))"`.
- Ghidra cũ trong project bs1/bs2/bs3 vẫn còn project file; nếu phiên bản mới khác minor có thể báo warning khi mở — tạo project mới nếu lỗi.
- Mọi kết luận mới phải ghi vào `docs/` theo đúng format cũ + cập nhật `evidence_index.md` (offset/file làm bằng chứng).
- Định danh app: bundle `vn.gsm.md`, team gốc `2WMM8DUF6R`, domain `taixe.greensm.com` — dùng nội bộ cho phân tích, không phân phối binary.
