re-hypervisor

re-hypervisor is a skill for Claude Code from dslsdzc/rev-skills. It costs 172 tokens per session (7,476 once invoked), scanned B, original, Apache-2.0.

A guide to examining hypervisors, the software layer that runs virtual machines, and CPU features such as VT-x, SVM, VMCS, and EPT.

In plain words
What is it for?
Use it to inspect hypervisor binaries and drivers, analyze virtual-machine detection, study virtual CPU and memory structures, and test nested virtualization.
Why use it?
It helps explain how virtualization checks work and how a hypervisor controls guest memory and execution. It also provides a safe approach for studying high-privilege code in isolated environments.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to inspect hypervisor binaries and drivers, analyze virtual-machine detection, study virtual CPU and memory structures, and test nested virtualization.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dslsdzc/rev-skills/re-hypervisor
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dslsdzc/rev-skills --skill re-hypervisor
Clone the repo
git clone --depth 1 https://github.com/dslsdzc/rev-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for re-hypervisor

README.md
[![agentmods](https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-hypervisor/github.svg)](https://agentmods.dev/skills/dslsdzc/rev-skills/re-hypervisor)
Your own site
<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-hypervisor"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-hypervisor/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for re-hypervisor

Your own site · 80×15
<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-hypervisor"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-hypervisor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 172 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,476 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 87
    Tool calls are chained to bypass individual safety checks or escalate capabilities beyond what any single tool call would allow.
    Fix: Limit tool chaining depth and validate the output of each tool before passing it to the next. Require explicit user approval for multi-step chains.
  • medium Rogue Agent · line 36
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Privilege Escalation · line 87
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00172 $0.07476
Opus 5.5 $0.00069 $0.02990
Sonnet 5.5 $0.00034 $0.01495
Haiku 4.5 $0.00017 $0.00748

Measured 2mo ago against content hash 36be9c963610, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

re-hypervisor scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo modprobe -r kvm_intel && sudo modprobe kvm_intel nested=1 # Intel(AMD 用 kvm_amd nested=1)
.claude/skills/re-hypervisor/SKILL.md · 170 lines

How it starts

The opening of the file, as written. The whole thing — 170 lines — stays where its author put it; the contents beside it link to each section on GitHub.

虚拟化逆向(VT-x / SVM / 分区 hypervisor)

  • 轴 A:分析 hypervisor 本身(VT-x/SVM 指令、VMCS/VMCB、EPT/NPT)→ 本主文档
  • 轴 B:目标处在某种虚拟化之下,判断"看到的地址/设备/中断是不是虚拟化层造出来的"→ 见 [[xen]] / [[qnx-hypervisor]] / [[jailhouse]] / [[acrn]] / [[bao]]

轴 B 的共同坑是把本地句柄当全局标识、把虚拟地址当物理地址:

grant ref 是 grant table 的条目索引      ≠ 物理地址
event-channel port 是通知端口           ≠ IRQ 号
guest BAR / GPA                         ≠ 物理 BAR / HPA
shmem_id 才是共享对象 identity          ≠ 两个 VM 里的映射地址

</CORE RULE>

何时使用 / 何时不用

  • 前置:先判是哪一类虚拟化(宿主厂商串 / 配置格式 / 结构性证据)→ [[re-analyze/system-fingerprints]] 的 Hypervisor 段
  • 用:目标是 hypervisor / VMM 二进制或驱动(恶意 hypervisor、rootkit 虚拟化、VM-based 保护)
  • 用:样本/程序检测自己是否运行在虚拟机或嵌套虚拟化中(CPUID 指纹、时序检测)
  • 用:分析 VT-x(VMX)或 SVM 相关的启动代码、VMCS/VMCB 布局、EPT 相关操作
  • 用:目标跑在分区/嵌入式 hypervisor 之下——PV 设备、静态分区、vdev、跨 VM 共享内存与虚拟中断(见下方分支)
  • 不用:普通 Windows 驱动/rootkit(走 [[re-kernel]]);只要识别"我在不在 VM 里"(快速判断走 [[re-triage]] 思路或 virt-what)
  • 不用:无 CPU 虚拟化支持 / 无嵌套虚拟化环境时的动态验证(静态分析先行,见坑 1)
  • 注意:动态实验(QEMU/KVM 嵌套)按 [[re-analyze/platform-tips]] 最高原则在沙箱内进行;hypervisor 样本具有高特权,只在与宿主隔离的实验环境运行

工具准备

静态分析(CPUID 检查 / 反编译)免沙箱;QEMU/KVM 动态实验属动态执行,默认沙箱 + 快照([[re-analyze/platform-tips]] 最高原则)。

CPUID 检查工具(hypervisor 识别)

  • Linux 内置:grep -E 'vmx|svm' /proc/cpuinfo——VT-x/SVM 支持标志(零安装,先用它)
  • cpuid 工具(dump 各 CPUID 叶子的完整输出):
    • Debian/Ubuntu: apt install cpuid;Fedora: dnf install cpuid
    • Arch 无独立 cpuid 包 → 用 kcpuid(pacman -S kcpuid,linux-tools 组)或 libcpuid 附带的 cpuid_tool(pacman -S libcpuid)
    • 验证: cpuid -1 输出含各叶子详情;cpuid -1 -l 0x40000000(hypervisor 厂商字符串叶子)
  • Windows 侧:WinDbg 内核调试下 !cpuid([[re-windbg]] 扩展命令)

QEMU / KVM —— 嵌套虚拟化实验环境

  • Debian/Ubuntu: apt install qemu-system-x86(Debian 12+ 已移除 qemu-kvm 过渡包,直接装 qemu-system-x86 即含 qemu-system-x86_64;Ubuntu 的 qemu-kvm 过渡包仍存在,装了等价于 qemu-system-x86;Ubuntu 另加 libvirt-daemon-system)
  • Fedora: dnf install qemu-system-x86-core libvirt virt-install(或 dnf group install virtualization)
  • Arch: pacman -S qemu-system-x86 libvirt virt-manager(启用 systemctl enable --now libvirtd)
  • macOS: brew install qemu(无 KVM,用 HVF)
  • 验证: qemu-system-x86_64 --version;ls /dev/kvm(KVM 加速可用);kvm-ok(Debian/Ubuntu 专用,来自 cpu-checker 包——先 apt install cpu-checker)

Read the full file on GitHub · 170 lines

Files

What ships with it

9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · +46 lines · +122 tokens per session 36be9c963610
  2. 2mo ago Changed · +3 lines d087acec91dc
  3. 2mo ago First seen · 121 lines · 50 tokens per session scan B 93095e6b24c9

Subscribe to this mod's changes

re-hypervisor is a skill published in the GitHub repository dslsdzc/rev-skills (275 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 172 tokens to every session and 7,476 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

re-hypervisor compared with skills from other repositories

re-hypervisor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
re-hypervisordslsdzc/rev-skillsSkill2751mo agoApache-2.0B172Claude Code
analyzing-golang-malware-with-ghidraYoungmaidainon/Agent-Level-UpSkill43mo agoMITA95Claude Code, Codex
analyzing-golang-malware-with-ghidramukul975/Anthropic-Cybersecurity-SkillsSkill37k3mo agoApache-2.0A95Claude Code
redteam-cloud-detail-packNetw0rkNoob/VulnClawSkill4.0k1mo agoMITA55Claude Code, Codex
analyzing-golang-malware-with-ghidra26zl/cybersec-toolkitSkill114todayMITA95Claude Code
reverse-engineering-binaries-with-ghidrameltedinhex/analyst-ai-packSkill253d agoApache-2.0A80Claude Code, Codex
reverse-engineering-shellcodemeltedinhex/analyst-ai-packSkill253d agoApache-2.0A68Claude Code, Codex