macOS
brew install hivexlocal Homebrew formula metadata
sudo port install hivexMacPorts ports tree · devel/hivex/Portfile · source: api.github.com
brew
Library and tools for extracting the contents of Windows Registry hive files. Version 1.3.24 via Homebrew; verified from local package data.
install
brew install hivexlocal Homebrew formula metadata
sudo port install hivexMacPorts ports tree · devel/hivex/Portfile · source: api.github.com
sudo apk add hivexAlpine Linux edge package indexes · hivex · source: dl-cdn.alpinelinux.org
sudo apt install libhivex-binDebian stable package indexes · libhivex-bin · source: deb.debian.org
sudo dnf install hivexFedora Rawhide package metadata · hivex · source: dl.fedoraproject.org
nix profile install nixpkgs#hivexnixpkgs package indexes · pkgs/by-name/hi/hivex/package.nix · source: api.github.com
sudo pacman -S hivexArch Linux sync databases · hivex · source: geo.mirror.pkgbuild.com
sudo zypper install hivexopenSUSE Tumbleweed package metadata · hivex · source: download.opensuse.org
overview
Library and tools for extracting the contents of Windows Registry hive files
history
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.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
hivexget | cli | global executable | |
hivexml | cli | global executable | |
hivexsh | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:hivex |
|---|---|
| Version | 1.3.24 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/hivex |
| Homepage | https://libguestfs.org |
| Repository | https://github.com/libguestfs/hivex |
| Upstream docs | https://libguestfs.org/hivex.3.html |
| License | GPL-2.0-or-later AND LGPL-2.1-only |
| Source archive | https://download.libguestfs.org/hivex/hivex-1.3.24.tar.gz |
| Dependencies | gettext, readline |
| Build dependencies | pkgconf |
| Uses from macOS | libxml2 |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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-hivexsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.