Comprehensive List of DumpHive Commands with Descriptions - Printable Version +- WildlandsTech (https://wildlandstech.com) +-- Forum: Programming (https://wildlandstech.com/forumdisplay.php?fid=3) +--- Forum: Batch & Shell Scripting (https://wildlandstech.com/forumdisplay.php?fid=42) +--- Thread: Comprehensive List of DumpHive Commands with Descriptions (/showthread.php?tid=143) |
Comprehensive List of DumpHive Commands with Descriptions - Sneakyone - 09-03-2024 Comprehensive List of DumpHive Commands with Descriptions **DumpHive** is a command-line utility used to extract and analyze the contents of Windows registry hive files. Below is a detailed list of DumpHive commands, along with descriptions and examples. 1. Dumping a Hive File Description: Extracts the contents of a specified registry hive file and dumps it into a text file. Code: dumphive.exe [HiveFilePath] [OutputFilePath] Code: dumphive.exe C:\Windows\System32\config\SYSTEM C:\output\system_dump.txt 2. Dumping a Specific Key Description: Extracts the contents of a specific registry key within a hive file. Code: dumphive.exe [HiveFilePath] [OutputFilePath] [RegistryKey] Code: dumphive.exe C:\Windows\System32\config\SOFTWARE C:\output\microsoft_dump.txt "Microsoft" 3. Displaying Help Information Description: Displays the help information for the DumpHive command. Code: dumphive.exe -h Code: dumphive.exe -h 4. Parsing a SAM Hive Description: Extracts and displays user account information from the SAM (Security Account Manager) hive. Code: dumphive.exe C:\Windows\System32\config\SAM C:\output\sam_dump.txt Code: dumphive.exe C:\Windows\System32\config\SAM C:\output\sam_dump.txt 5. Extracting Security Descriptors Description: Extracts and displays the security descriptors from a registry hive. Code: dumphive.exe [HiveFilePath] [OutputFilePath] -sd Code: dumphive.exe C:\Windows\System32\config\SECURITY C:\output\security_sd.txt -sd 6. Extracting Last Written Time of Keys Description: Extracts the last written time of registry keys within a hive. Code: dumphive.exe [HiveFilePath] [OutputFilePath] -lastwritten Code: dumphive.exe C:\Windows\System32\config\SYSTEM C:\output\system_lastwritten.txt -lastwritten 7. Dumping All Subkeys of a Specific Key Description: Dumps all subkeys of a specific key in a hive to a text file. Code: dumphive.exe [HiveFilePath] [OutputFilePath] -subkeys [RegistryKey] Code: dumphive.exe C:\Windows\System32\config\SYSTEM C:\output\ccs_subkeys.txt -subkeys "CurrentControlSet" 8. Dumping Values Only Description: Dumps only the values (and not the keys) from a registry hive to a text file. Code: dumphive.exe [HiveFilePath] [OutputFilePath] -values Code: dumphive.exe C:\Windows\System32\config\SOFTWARE C:\output\software_values.txt -values 9. Extracting Data in Hexadecimal Format Description: Extracts and displays the data from the registry hive in hexadecimal format. Code: dumphive.exe [HiveFilePath] [OutputFilePath] -hex Code: dumphive.exe C:\Windows\System32\config\SYSTEM C:\output\system_hex.txt -hex 10. Extracting Binary Data from Registry Values Description: Extracts binary data from specific registry values within a hive. Code: dumphive.exe [HiveFilePath] [OutputFilePath] -binary [RegistryKey] [ValueName] Code: dumphive.exe C:\Windows\System32\config\SYSTEM C:\output\tcpip_parameters.bin -binary "Tcpip\Parameters" "BinaryValueName" Conclusion DumpHive is a powerful tool for extracting and analyzing the contents of Windows registry hive files. By mastering these commands, you can efficiently gather important information from registry hives for forensic analysis or system administration purposes. Happy Scripting! |