Newsletter
TechAnV Blog
Get updates on security engineering, Rust, eBPF, and DevSecOps. No spam, unsubscribe anytime.
Check your inbox and click the confirmation link to complete your subscription.
LetsDefend - RegistryHive#
Created: 21/03/2024 11:28 Last Updated: 22/03/2024 13:52
RegistryHive

Registry Files Location: C:\Users\LetsDefend\Desktop\RegistryHive\Regs
Start Investigation#
What is the Computer name of this machine?
We got all the registry hives that needed to complete this challenge
There are 3 tools that we can used which are RegRipper 2.8 and 3 and lastly RegistryExplorer from EZ tools
I started by using RegRipper 3 with SYSTEM hive which hold system information
Search for ComputerName

1DESKTOP-8K4U4R6What is the last shutdown time for this machine?
Format: YYYY/MM/DD HH:MM
Search by shutdown on the system hive output

12023-03-23 21:53:11What is the time zone name that the machine uses?
Search by timezone on the system hive output

1Pacific Standard TimeWhat is the IP address of the default gateway?
Search by gateway on the system hive output, We got only DHCP Default Gateway here

1192.168.235.2What is the last login date for the user “Work”?
Format: DD/MM/YYYY HH:MM
Now move to SAM hive for user information

123/03/2023 21:53:29How many logins did the “Work” user have?

13What is the OS “ProductName”?
use Registry Explorer to load Software Hive then go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion which hold information about Windows OS and Product

1Windows 10 ProWhat is the OS “BuildNumber”?
Still on HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion

119043How many programs run on startup for any user?
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run registry holds information for programs that will be run on startup

12What is the last installed app?
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall registry holds this information despite it names

1xamppWhat is the “DefaultGatewayMac”?
Registry NetworkList holds this information, so just search for this

100-50-56-FD-27-94What is the Machine SID?
This question can obtained by using RegRipper 2.8 only, and the hive that hold this information is SECURITY Hive

1S-1-5-21-1957816478-2793074591-1041990146Summary#
This challenge was designed for user to practice registry analysis and find basic information about system from 4 registry hives.
