Using OSForensics with RegRipper

The System Information function in OSForensics allows external tools, such as RegRipper, to be called to retrieve information and save it to the case or export the information as a file. RegRipper is a well know tool used to extract information from the Windows registry hive files via perl scripts (plugins) that target specific areas of interest.

For this example we are using the, and scripts in a plugin file named "info" (seen below) to retrieve the computer name, last shutdown time and timezone information from Windows\System32\config\SYSTEM registry hive;

#Retrieve the computer name, last shutdown time and timezone information from the registry

When downloading RegRipper the plugins are a separate download so make sure to get them as well. As this guide was written using RegRipper version 2.02 (May 2011) the plugins referenced may no longer be included in the regripper download. If the "info" file (no extension) is not in the plugins directory you can create it yourself though if the, or files are missing from the plugins directory this command won't run properly.

After downloading RegRipper, if using Win7/Vista copy the regripper folder into C:\ProgramData\PassMark\OSForensics\SysInfoTools\  or
C:\Documents and Settings\All Users\Application Data\PassMark\OSForensics\SysInfoTools\ in XP.

To add the command go to the System Information tab in OSF and click the Edit button, then click the Add button to open the new command dialog. In this example we are recovering data from the SYSTEM registry hive located on drive G, so we will enter the command "regripper/rip -r G:\Windows\System32\config\SYSTEM -f info". Note that we are using the command line version of RegRipper (rip) that outputs to stdout so OSForensics can read the output.

Adding the RegRipper command

Highlight the newly added command and select the preferred list, you can add the command to one of the existing lists or create a new one to hold this and other RegRipper commands.  Now click the "Add Selected" button to add the command to the list. Use the ok button to save the changes and close the dialog, you should now see the command listed in the System Information tab when you select the list.

After adding the RegRipper command

After running with the "Go" button the results will be displayed on the results tab and can be saved or exported as required.