Che cos'è il formato di file HVE?
Un file .hve è un hive del Registro di Windows, un database binario che memorizza chiavi e valori del registro nel formato regf di Microsoft. Tale formato fa parte di Windows fin da Windows NT 3.1 nel 1993. Ogni hive si apre con un blocco di base di 4096 byte i cui primi quattro byte leggono regf, seguiti dai bin dell'hive che contengono le chiavi effettive, i valori e i descrittori di sicurezza.
La maggior parte degli hive principali di Windows, come SYSTEM, SOFTWARE e NTUSER.DAT, utilizza questo stesso formato senza alcuna estensione. L'estensione esplicita .hve appare principalmente su Amcache.hve, un file in C:\Windows\appcompat\Programs che registra quali programmi sono stati eseguiti, insieme ai loro percorsi, timestamp e spesso un hash SHA-1. Ciò lo rende un reperto preferito per gli analisti forensi.
Sicurezza e incolumità
RISCHIO: 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.
Dettagli del formato
in sintesi- 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.
Programmi che aprono file 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. Dettagli tecnici
specifiche approfondite| 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. |
| Rilasciato | 1993 (Windows NT 3.1; regf format) |
| Ultima versione | Format version 1.5 (minor) |
| Specifica | github.com |
Conversioni HVE
Domande e risposte della community
chiesto dagli utentiAncora nessuna domanda - sii il primo a chiedere informazioni sui file HVE.
Domande frequenti
Cos'è un file Amcache.hve?
.hve più comune. È un hive del Registro di Windows memorizzato in C:\Windows\appcompat\Programs che registra quali programmi sono stati eseguiti, inclusi il loro percorso completo, i timestamp e spesso un hash SHA-1. È ampiamente utilizzato nell'informatica forense.Come apro un file .hve?
.hve offline per la navigazione, oppure puoi montarlo in regedit con File > Carica hive. Per l'analisi automatizzata, usa AmcacheParser o RegRipper.Posso aprire un file .hve con un doppio clic?
.hve a un visualizzatore, e un hive è un database binario piuttosto che un documento. È necessario caricarlo in un visualizzatore di registro o in un parser forense.È sicuro eliminare un file .hve?
Qual è la differenza tra un file .hve e un file di registro .dat?
NTUSER.DAT e UsrClass.dat sono hive per utente con l'estensione .dat, mentre .hve etichetta più spesso Amcache.hve. La struttura interna è identica.Perché non riesco ad aprire un file .hve su un sistema Windows in esecuzione?
regedit su una copia offline.