HVE ファイル形式とは?
.hveファイルはWindowsレジストリハイブであり、Microsoftのregf形式でレジストリキーと値を保存するバイナリデータベースです。この形式は、1993年のWindows NT 3.1以来、Windowsの一部となっています。すべてのハイブは4096バイトのベースブロックで始まり、最初の4バイトはregfと読み取れます。その後に、実際のキー、値、セキュリティ記述子を保持するハイブビンが続きます。
SYSTEM、SOFTWARE、NTUSER.DATなど、ほとんどの主要なWindowsハイブは拡張子なしでこの同じ形式を使用しています。明示的な.hve拡張子は、主にC:\Windows\appcompat\ProgramsにあるAmcache.hveで見られます。このファイルは、実行されたプログラム、そのパス、タイムスタンプ、および多くの場合SHA-1ハッシュを記録します。そのため、フォレンジックアナリストにとってお気に入りのアーティファクトとなっています。
セキュリティと安全性
リスク: MEDIUMA .hve file itself is passive data, not an executable, so opening it in a read-only viewer is safe. The risk is operational: deleting, moving or editing an in-use registry hive can stop applications or Windows from booting. Amcache.hve is also a privacy-sensitive forensic artifact because it records program execution history. Only handle live system hives with care, and prefer read-only tools on evidence copies.
形式の詳細
概要- Half-Life / GoldSrc HVE - Some game modding contexts reference .hve as a Half-Life engine data file, but this is rare and unrelated to registry hives.
- Generic hive backup files - Some backup and imaging tools save exported registry hives with a .hve extension regardless of original name.
HVE ファイルを開くプログラム
.hve hive with File > Live System or Load Hive, then browse keys and values, run plugins, and export findings. AmcacheParser.exe -f Amcache.hve --csv . to parse execution records into CSV for analysis. rip.exe -r Amcache.hve -p amcache (or the amcache_tln plugin) to extract structured data during triage. regedit, select HKEY_LOCAL_MACHINE, then File > Load Hive to mount a .hve under a temporary key for inspection. hivexsh Amcache.hve to inspect the hive tree from Terminal. hivexsh Amcache.hve or hivexregedit --export Amcache.hve '\\' to read hive contents from the shell. regview.py script or the library to enumerate keys and values from a .hve hive in scripts. 技術的詳細
詳細仕様| Encoding | Binary regf (Windows NT Registry File) format |
| Byte order | Little-endian |
| Container | Base block (4096 bytes) followed by hive bins (hbin blocks, each a multiple of 4096 bytes) |
| Encryption | None (hive data stored in cleartext) |
| Typical size | A few hundred KB to several MB; Amcache.hve is commonly 1-15 MB |
| Structure | A 4 KB base block holds the 'regf' signature, primary/secondary sequence numbers, last-written FILETIME, format version, root cell offset, hive bins data size and a XOR-32 checksum. Data lives in hive bins ('hbin' blocks), each carrying cells that encode keys (nk), values (vk), subkey lists, and security descriptors (sk). |
| Integrity | XOR-32 checksum over the first 508 bytes of the base block; dual sequence numbers detect interrupted writes and trigger recovery from the transaction log |
| Platforms | Windows NT, Windows 2000, Windows XP, Windows Vista, Windows 7, Windows 8, Windows 10, Windows 11 |
| Notes | The most widely encountered .hve file is Amcache.hve in C:\Windows\appcompat\Programs, a forensic artifact recording recently executed programs and connected devices. Most core Windows hives (SYSTEM, SOFTWARE, SAM, SECURITY, NTUSER.DAT) share the identical regf format but carry no extension. Hives use companion .LOG transaction logs for crash recovery. |
| リリース日 | 1993 (Windows NT 3.1; regf format) |
| 最新バージョン | Format version 1.5 (minor) |
| 仕様書 | github.com |
HVE の変換
コミュニティ Q&A
ユーザーからの質問まだ質問はありません。HVE ファイルについて最初の質問をしてみましょう。
よくある質問
Amcache.hveファイルとは何ですか?
.hveファイルです。これはC:\Windows\appcompat\Programsに保存されているWindowsレジストリハイブで、実行されたプログラムのフルパス、タイムスタンプ、および多くの場合SHA-1ハッシュを記録します。デジタルフォレンジックで広く使用されています。.hveファイルを開くにはどうすればよいですか?
.hveハイブを開くことができます。また、regeditの「ファイル」 > 「ハイブの読み込み」でマウントすることも可能です。自動解析には、AmcacheParserやRegRipperを使用してください。.hveファイルをダブルクリックして開くことはできますか?
.hveをビューアーに関連付けておらず、ハイブはドキュメントではなくバイナリデータベースです。レジストリビューアーまたはフォレンジックパーサーに読み込む必要があります。.hveファイルを削除しても安全ですか?
.hveファイルと.datレジストリファイルの違いは何ですか?
regfハイブ形式を使用しています。NTUSER.DATやUsrClass.datは.dat拡張子を持つユーザーごとのハイブであり、.hveは多くの場合Amcache.hveを指します。内部構造は同一です。実行中のWindowsシステムで.hveファイルを開けないのはなぜですか?
regeditの「ハイブの読み込み」を使用してください。