vmp-analysis SKILL.md skillA

vmp-analysis from index-login/mobilere-skill is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add index-login/mobilere-skill/vmp-analysis@git:20261108.d0b8de4

Pins git:20261108.d0b8de4 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
index-login/mobilere-skill
Path
.kilo/skill/vmp-analysis/SKILL.md
Versions recorded
1
Latest version
git:20261108.d0b8de4, committed Nov 8, 2026
Size
11,278 bytes
Repository stars
252
License
MIT

字节码 VM / VMP 壳逆向的执行流水线:从"确认是 VM"到"反汇编出可读指令"的 8 步固定流程。用 profile 描述编码模型(换壳只换 JSON),用动态 trace 反推 opcode 编码,用命中率 > 95% 验收。当目标是"业务方法在 .text 里找不到、JNI_OnLoad 只启动解释器"、或已有 opcode 表但不知道指令怎么解时使用。SO 层深挖的单步能力,入口仍在 frida-mobile-security。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# vmp-analysis — 字节码 VM / VMP 壳逆向

**目标**:把一段自定义字节码变成可读指令清单,并说清编码模型。

**核心约束**:每条 handler 自定义 pc 推进与操作数布局,**静态猜格式命中率接近 0**。
必须先拿到动态 trace,再用它反推编码。

路径基准:项目根。工具在 `tools/`。

## 何时用 / 何时不用

| 用 | 不用 |
|---|---|
| `JNI_OnLoad` 只做「初始化运行时 + 启动解释器」 | 普通 native 函数 → `references/native-analysis.md` |
| `.text` 里找不到业务方法,但有跳转表 + 软件栈 | 只是算法加密(AES/国密)→ `references/crypto-hook.md` |
| 已有 opcode 表,但指令流解不出 | 要审漏洞 → `references/native-audit.md` |
| 想复用已有壳的编码模型 | 要还原 2000+ 函数 → skill `so-function-recovery` |

## 前置

```bash
# 1) 确认工具可用
python3 tools/vmp.py --help
python3 tools/vmp.py profile list          # 看有没有现成模型可复用

# 2) SO 已脱壳且能反汇编
python3 tools/so.py info <so>              # 看 broken_sections / dynsym_defined
```

**先查 `profile list`**:已解出的壳有现成模型,命中就不用从零建模。

## 步骤

### 1. 确认是 VM,不是普通代码

三个可观测特征(`references/native-analysis.md` ›「3.5.2」第一步):

| 特征 | 怎么看 |
|---|---|
| 跳转表分派 | 从参数取 `u8` → `lsl #3`/`lsl #2` → `ldr` 表项 → `br` |
| 有软件栈 | `sp` 上一块固定区域,栈顶指针存在栈槽里 |
| handler 按偏移读写那块区域 | 大量 `ldrb`/`strb` + 固定偏移 |

`JNI_OnLoad` 的典型形态:

```c
rt = FUN_xxx();                                        // 分配运行时
FUN_yyy(rt, vm);                                       // 存 JavaVM
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add index-login/mobilere-skill/vmp-analysis@sha256:65625f7d36b6d515

The line at the top of this page pins the label git:20261108.d0b8de4, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ie7nixfesg3lj4ez.svg)](https://markdownregistry.com/a/art_ie7nixfesg3lj4ez)

0 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Nov 8, 2026.

versioncommittedcommitsizeaudit
git:20261108.d0b8de4 latest2026-11-08 d0b8de4 11,278 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (11278 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

index-login/mobilere-skill · 252 stars · license MIT · pushed 2026-11-08 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ie7nixfesg3lj4ez
GET https://markdownregistry.com/api/v1/resolve?ref=index-login/mobilere-skill/vmp-analysis
GET https://markdownregistry.com/api/v1/blob/65625f7d36b6d5153e99bb66b0ff339431e4645b922979dc1728e2af68d9f10a

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from index-login/mobilere-skill

dex-mem-dump SKILL.md skill
index-login/mobilere-skill · .kilo/skill/dex-mem-dump/SKILL.md · 运行时 DEX 内存 dump / 脱壳(root 直读 /proc/<pid>/mem,不注入、不 ptrace):常规解包拿不到、抽取壳未回填、或目标查 TracerPid 时用。流程:推工具 → 跑 → 拉回 → 清理;分诊与排障见…
git:20261023.3fb7043 · audit A · 252 stars
frida-mobile-security SKILL.md skill
index-login/mobilere-skill · .kilo/skill/frida-mobile-security/SKILL.md · 用于 Android/iOS 移动应用安全逆向分析:Frida 动态插桩、绕过反调试/反注入/加固壳、脱壳、加密与 native SO 层 hook、运行时行为分析、jadx-mcp 静态攻击面分析、离线 SO 静态分析(ELF…
git:20261108.0f92827 · audit A · 252 stars
func-naming SKILL.md skill
index-login/mobilere-skill · .kilo/skill/func-naming/SKILL.md · 已知地址判断函数用途/算法(无符号函数命名):先查 .dynsym,再取字符串/魔数/成对调用特征,最后回填命名。SO 层深挖的单步能力,入口仍在 frida-mobile-security;恢复结构体用 native-analysis…
git:20261108.0f92827 · audit A · 252 stars
karpathy-guidelines SKILL.md skill
index-login/mobilere-skill · .kilo/skill/karpathy-guidelines/SKILL.md · 减少 LLM 常见编码错误的行为准则。在编写、审查或重构代码时使用,避免过度设计、精准修改、暴露假设、定义可验证的成功标准。
git:20260803.71f8be9 · audit A · 252 stars
so-emulate SKILL.md skill
index-login/mobilere-skill · .kilo/skill/so-emulate/SKILL.md · 用 Unicorn 离线调试/模拟单个 SO 函数:不启动 App 跟踪执行、对给定输入复算算法、解密或解码数据,或绕过 JNI/syscall/libc 等环境依赖。当用户要跑一个函数、验证算法输出、批量试输入、或真机 hook…
git:20261023.8337634 · audit A · 252 stars
so-function-recovery SKILL.md skill
index-login/mobilere-skill · .kilo/skill/so-function-recovery/SKILL.md · 大型加固 SO 函数级还原流水线(2000+ 函数、无 .eh_frame、CFF 混淆、内嵌字节码 VM)。用台账三层筛选替代逐个读函数,用指针表交叉检查函数边界,用动态 trace 反推 VM…
git:20261108.cdc9cbf · audit A · 252 stars
AGENTS.md AGENTS.md file
index-login/mobilere-skill · AGENTS.md
git:20261108.83cd5a4 · audit A · 252 stars

Every file in index-login/mobilere-skill

Browse by kind, by grade A, or by owner.