registry analysis what is it? what does it contain?

21
Registry Analysis What is it? What does it contain?

Post on 19-Dec-2015

228 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Registry Analysis What is it? What does it contain?

Registry Analysis

What is it?

What does it contain?

Page 2: Registry Analysis What is it? What does it contain?

Objectives

• Logical and physical structure of the Registry

• Format of Registry files

• Examination of the Registry

• Forensically important keys

• Analyzing Registry information

Page 3: Registry Analysis What is it? What does it contain?

The Registry

• Hierarchal database

• Maintains configuration settings– Applications– Hardware– Devices– Users

Page 4: Registry Analysis What is it? What does it contain?

Registry Access

• Regedit.exe – A “GUI” interface to the Registry

• Native to XP and above

• NT and 2000 has regedit.exe but with limited capablities

Page 5: Registry Analysis What is it? What does it contain?

Physical Structure

• Binary files

• Stored in RAM and hard drive

• Limited data types

Page 6: Registry Analysis What is it? What does it contain?

File Locations

Page 7: Registry Analysis What is it? What does it contain?

Registry Data Types

Series of nested arrays designed to store a list of resources

A list of resources used by a physical HW device

A list of HW resources used by a device driver

Page 8: Registry Analysis What is it? What does it contain?

Logical Structure

• Highest Level• My Computer

• Contains Five Root Hives

• Each Hive consists of• Keys

• Each key has a set of • <Name Type Value> triples

• Subkeys

Page 9: Registry Analysis What is it? What does it contain?

Root Hives

• HKEY_USERS• Contains all the actively loaded user profiles for the

system

• HKEY_CURRENT_USER• Is the active, loaded user profile currently logged on

• HKEY_LOCAL_MACHINE• Contains configuration information for the system

both HW and SW

Page 10: Registry Analysis What is it? What does it contain?

Root Hives (cont’d)

• HKEY_CURRENT_CONFIG• Contains the hardware profile the system uses at

startup

• HKEY_CLASSES_ROOT• Contains configuration information for which apps

open which files

Page 11: Registry Analysis What is it? What does it contain?

Five Root Hives

Page 12: Registry Analysis What is it? What does it contain?

HKEY_USERSUser Profiles

Page 13: Registry Analysis What is it? What does it contain?

HKEY_CURRENT_USERLogged on user profile

Page 14: Registry Analysis What is it? What does it contain?

Current User One of those listed in HKEY_USERS

Page 15: Registry Analysis What is it? What does it contain?

HKEY_LOCAL_MACHINEHW and SW Configs

Page 16: Registry Analysis What is it? What does it contain?

HKEY_CURRENT_CONFIGStartup Profile

Page 17: Registry Analysis What is it? What does it contain?

HKEY_CLASSES_ROOTApplication to File Mapping

This hive is subclassed to HKCU\Software\ClassesHKLM \Software\Classes

Page 18: Registry Analysis What is it? What does it contain?

Registry Cell Types

• Key cell• Key info, offsets to subkeys and LastWrite time

• Value cell• Holds a value/name and its data

• Subkey list cell• Series of subkey offsets

• Value list cell• Series of offsets to value cells

Page 19: Registry Analysis What is it? What does it contain?

Registry StructureKeys Subkeys Values Type Data

Page 20: Registry Analysis What is it? What does it contain?

Raw Registry File

Key Cell

Value Cell

Page 21: Registry Analysis What is it? What does it contain?