macOS
brew install hivexlocal Homebrew formula metadata
sudo port install hivexMacPorts ports tree · devel/hivex/Portfile · 来源: api.github.com
安装
brew install hivexlocal Homebrew formula metadata
sudo port install hivexMacPorts ports tree · devel/hivex/Portfile · 来源: api.github.com
sudo apk add hivexAlpine Linux edge package indexes · hivex · 来源: dl-cdn.alpinelinux.org
sudo apt install libhivex-binDebian stable package indexes · libhivex-bin · 来源: deb.debian.org
sudo dnf install hivexFedora Rawhide package metadata · hivex · 来源: dl.fedoraproject.org
nix profile install nixpkgs#hivexnixpkgs package indexes · pkgs/by-name/hi/hivex/package.nix · 来源: api.github.com
sudo pacman -S hivexArch Linux sync databases · hivex · 来源: geo.mirror.pkgbuild.com
sudo zypper install hivexopenSUSE Tumbleweed package metadata · hivex · 来源: download.opensuse.org
概览
Library and tools for extracting the contents of Windows Registry hive files
历史
hivex is the libguestfs project's standalone C library and tool set for reading and writing Windows Registry hive files. It occupies a practical systems niche: it gives Unix and virtualization tooling a structured way to inspect binary Windows registry data without relying on Windows or on textual .REG conversion as the primary interface.
The hivex source identifies Richard W.M. Jones and Red Hat as the authorship line beginning in 2009. Its README describes a self-contained library for Windows Registry hive binary files, derived from earlier registry-format research and tools including NTREG, dumphive, old Samba editreg code, format papers, and reverse engineering work in the libguestfs tree.
The design emphasis was security and robustness around untrusted registry data. The manual describes hivex as designed to be secure against buggy or malicious hive files, and the README contrasts it with NTREG by emphasizing error handling, corrupt and malicious files, and endianness. That made it a natural companion to libguestfs, whose broader purpose is safe access to guest disk images.
hivex developed as a small but important subproject in the libguestfs family. The libguestfs download index lists hivex alongside libguestfs, supermin, nbdkit, and related components, and the libguestfs manual explains that Windows registry support routes through a separate C library called hivex.
hivex adoption has been strongest where Linux and Unix systems need to inspect Windows installations offline: virtualization, rescue, migration, forensics, and image-customization workflows. The libguestfs manual records that before libguestfs 1.19.35 users copied hives out, processed them locally with hivex, and copied them back; from that libguestfs version, major hivex APIs were exposed directly through libguestfs for registry operations inside opened Windows guests.
The Homebrew input facts show the package carried across multiple Unix package ecosystems under names such as brew:hivex, Debian/Ubuntu libhivex-bin, and distribution packages for Alpine, Fedora, Arch, openSUSE, MacPorts, and Nix. That pattern matches hivex's role as infrastructure: many users meet it through image tooling or distribution packages rather than as a standalone application brand.
Typical use is programmatic registry inspection through the C API or language bindings, or command-line inspection/conversion with tools such as hivexsh, hivexml, hivexget, and hivexregedit. The manual also points users who only need Windows VM registry export or modification toward virt-win-reg, which layers the registry workflow into libguestfs tooling.
Package users care that hivex treats the binary hive as the primary data source. Its README explicitly avoids making textual .REG the main interface because parsing that format can be as troublesome as parsing the binary registry hive itself.
hivex is a classic package-nerd package: small, old, sharp-edged, and disproportionately important when the job involves foreign operating-system internals. It is the kind of dependency that appears in rescue images, forensic toolchains, VM migration stacks, and distro repositories because it solves a format problem that general-purpose JSON/XML/text tools cannot solve.
Its significance also comes from the libguestfs ecosystem boundary. hivex is independent enough to package as its own formula and library, but close enough to libguestfs that Windows guest registry support in higher-level tools can rely on it.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
hivexget | cli | 全局可执行文件 | |
hivexml | cli | 全局可执行文件 | |
hivexsh | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:hivex |
|---|---|
| 版本 | 1.3.24 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/hivex |
| 主页 | https://libguestfs.org |
| 仓库 | https://github.com/libguestfs/hivex |
| 上游文档 | https://libguestfs.org/hivex.3.html |
| 许可证 | GPL-2.0-or-later AND LGPL-2.1-only |
| 源码归档 | https://download.libguestfs.org/hivex/hivex-1.3.24.tar.gz |
| 依赖 | gettext, readline |
| 构建依赖 | pkgconf |
| macOS 提供的库 | libxml2 |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | hivex |
| Version Scheme | 0 |
| Revision | 1 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
libhivex-bin 1.3.24-1+b10
utilities for reading and writing Windows Registry hives
sudo apt install libhivex-binlibhivex-dev 1.3.24-1+b10
library for reading and writing Windows Registry hives
sudo apt install libhivex-devlibhivex-ocaml 1.3.24-1+b10
OCaml bindings for hivex -- runtime files
sudo apt install libhivex-ocamllibhivex-ocaml-dev 1.3.24-1+b10
OCaml bindings for hivex -- development files
sudo apt install libhivex-ocaml-devlibhivex0 1.3.24-1+b10
library for reading and writing Windows Registry hives
sudo apt install libhivex0libwin-hivex-perl 1.3.24-1+b10
Perl bindings to hivex
sudo apt install libwin-hivex-perlpython3-hivex 1.3.24-1+b10
Python 3 bindings for hivex
sudo apt install python3-hivexruby-hivex 1.3.24-1+b10
Ruby bindings for hivex
sudo apt install ruby-hivexhivex
nix profile install nixpkgs#hivexlibhivex-bin 1.3.23-1build7
utilities for reading and writing Windows Registry hives
sudo apt install libhivex-binlibhivex-dev 1.3.23-1build7
library for reading and writing Windows Registry hives
sudo apt install libhivex-devlibhivex-ocaml 1.3.23-1build7
OCaml bindings for hivex -- runtime files
sudo apt install libhivex-ocamllibhivex-ocaml-dev 1.3.23-1build7
OCaml bindings for hivex -- development files
sudo apt install libhivex-ocaml-devlibhivex0 1.3.23-1build7
library for reading and writing Windows Registry hives
sudo apt install libhivex0libwin-hivex-perl 1.3.23-1build7
Perl bindings to hivex
sudo apt install libwin-hivex-perlpython3-hivex 1.3.23-1build7
Python 3 bindings for hivex
sudo apt install python3-hivex来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.