Automic VaultAutomic Vault

brew

Install hivex with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Library and tools for extracting the contents of Windows Registry hive files. Version 1.3.24 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install hivex

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install hivex

MacPorts ports tree · devel/hivex/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add hivex

Alpine Linux edge package indexes · hivex · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install libhivex-bin

Debian stable package indexes · libhivex-bin · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install hivex

Fedora Rawhide package metadata · hivex · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#hivex

nixpkgs package indexes · pkgs/by-name/hi/hivex/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S hivex

Arch Linux sync databases · hivex · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install hivex

openSUSE Tumbleweed package metadata · hivex · source: download.opensuse.org

overview

Package summary

Library and tools for extracting the contents of Windows Registry hive files

Commands and aliases

  • hivexget
  • hivexml
  • hivexsh

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2009: Richard W.M. Jones and Red Hat authorship line begins for hivex.
  • 2012: The GitHub repository for libguestfs/hivex was created as an official source-control mirror.
  • libguestfs 1.19.35 era: Major hivex APIs became available directly through the libguestfs API for Windows guest registry access.
  • 2024: The libguestfs download index continued listing hivex as a separate source archive family.

Related projects

  • libguestfs: the larger guest disk image toolkit that integrates hivex for Windows registry work.
  • virt-win-reg: the higher-level libguestfs tool recommended for exporting or modifying registry data in Windows virtual machines.
  • NTREG, dumphive, Samba editreg: earlier registry readers or tools named by hivex as source material or influence.

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 2 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
hivexgetcliglobal executable
hivexmlcliglobal executable
hivexshcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version1.3.24
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://libguestfs.org

  • infoNo package-manager update timestamp was available.low confidence
  • infoRelease/tag comparison is only available for GitHub repositories.https://libguestfs.orgnone confidence

install metadata

Package metadata

Package keybrew:hivex
Version1.3.24
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/hivex
Homepagehttps://libguestfs.org
Repositoryhttps://github.com/libguestfs/hivex
Upstream docshttps://libguestfs.org/hivex.3.html
LicenseGPL-2.0-or-later AND LGPL-2.1-only
Source archivehttps://download.libguestfs.org/hivex/hivex-1.3.24.tar.gz
Dependenciesgettext, readline
Build dependenciespkgconf
Uses from macOSlibxml2
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namehivex
Version Scheme0
Revision1
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libhivex-bin 1.3.24-1+b10

utilities for reading and writing Windows Registry hives

http://libguestfs.org/

sudo apt install libhivex-bin
  • Section: otherosfs
  • Architecture: amd64
  • Source Package: hivex
  • 4 dependencies
  • normalized package name match
  • Matched by: Hivex
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libhivex-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libhivex-dev 1.3.24-1+b10

library for reading and writing Windows Registry hives

http://libguestfs.org/

sudo apt install libhivex-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: hivex
  • 1 dependencies
  • normalized package name match
  • Matched by: Hivex
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libhivex-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libhivex-ocaml 1.3.24-1+b10

OCaml bindings for hivex -- runtime files

http://libguestfs.org/

sudo apt install libhivex-ocaml
  • Section: ocaml
  • Architecture: amd64
  • Source Package: hivex
  • 4 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Hivex
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libhivex-ocaml from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libhivex-ocaml-dev 1.3.24-1+b10

OCaml bindings for hivex -- development files

http://libguestfs.org/

sudo apt install libhivex-ocaml-dev
  • Section: ocaml
  • Architecture: amd64
  • Source Package: hivex
  • 4 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Hivex
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libhivex-ocaml-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libhivex0 1.3.24-1+b10

library for reading and writing Windows Registry hives

http://libguestfs.org/

sudo apt install libhivex0
  • Section: libs
  • Architecture: amd64
  • Source Package: hivex
  • 1 dependencies
  • normalized package name match
  • Matched by: Hivex
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libhivex0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libwin-hivex-perl 1.3.24-1+b10

Perl bindings to hivex

http://libguestfs.org/

sudo apt install libwin-hivex-perl
  • Section: perl
  • Architecture: amd64
  • Source Package: hivex
  • 4 dependencies
  • normalized package name match
  • Matched by: Hivex
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libwin-hivex-perl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-hivex 1.3.24-1+b10

Python 3 bindings for hivex

http://libguestfs.org/

sudo apt install python3-hivex
  • Section: python
  • Architecture: amd64
  • Source Package: hivex
  • 3 dependencies
  • normalized package name match
  • Matched by: Hivex
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-hivex from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

ruby-hivex 1.3.24-1+b10

Ruby bindings for hivex

http://libguestfs.org/

sudo apt install ruby-hivex
  • Section: ruby
  • Architecture: amd64
  • Source Package: hivex
  • 4 dependencies
  • normalized package name match
  • Matched by: Hivex
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ruby-hivex from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

hivex

nix profile install nixpkgs#hivex
  • normalized package name match
  • Matched by: Hivex
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/hi/hivex/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libhivex-bin 1.3.23-1build7

utilities for reading and writing Windows Registry hives

http://libguestfs.org/

sudo apt install libhivex-bin
  • Section: universe/otherosfs
  • Architecture: amd64
  • Source Package: hivex
  • 4 dependencies
  • normalized package name match
  • Matched by: Hivex
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libhivex-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libhivex-dev 1.3.23-1build7

library for reading and writing Windows Registry hives

http://libguestfs.org/

sudo apt install libhivex-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: hivex
  • 1 dependencies
  • normalized package name match
  • Matched by: Hivex
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libhivex-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libhivex-ocaml 1.3.23-1build7

OCaml bindings for hivex -- runtime files

http://libguestfs.org/

sudo apt install libhivex-ocaml
  • Section: universe/ocaml
  • Architecture: amd64
  • Source Package: hivex
  • 4 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Hivex
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libhivex-ocaml from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libhivex-ocaml-dev 1.3.23-1build7

OCaml bindings for hivex -- development files

http://libguestfs.org/

sudo apt install libhivex-ocaml-dev
  • Section: universe/ocaml
  • Architecture: amd64
  • Source Package: hivex
  • 4 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Hivex
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libhivex-ocaml-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libhivex0 1.3.23-1build7

library for reading and writing Windows Registry hives

http://libguestfs.org/

sudo apt install libhivex0
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: hivex
  • 1 dependencies
  • normalized package name match
  • Matched by: Hivex
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libhivex0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libwin-hivex-perl 1.3.23-1build7

Perl bindings to hivex

http://libguestfs.org/

sudo apt install libwin-hivex-perl
  • Section: universe/perl
  • Architecture: amd64
  • Source Package: hivex
  • 4 dependencies
  • normalized package name match
  • Matched by: Hivex
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libwin-hivex-perl from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

python3-hivex 1.3.23-1build7

Python 3 bindings for hivex

http://libguestfs.org/

sudo apt install python3-hivex
  • Section: universe/python
  • Architecture: amd64
  • Source Package: hivex
  • 3 dependencies
  • normalized package name match
  • Matched by: Hivex
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-hivex from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment