Friday, March 29, 2024

Windows Registry Analysis – Tracking Every Activity That You Do on the Windows System

The purpose of this article is to provide you with a depth understanding of the Windows Registry and the Wealth of information it holds.

Today most administrators and forensic analysts, the registry probably looks like the entrance to a dark.

Besides Configuration information, the Windows Registry holds information regarding recently accessed files and considerable information about user activities.

The truth is that the Registry is a veritable goldmine of information for both the administrator and forensics investigator.

What is the Registry?

If you remember back to DOS and early versions of Windows(3.1,3.11 and so on ), configuration information (drivers, settings) for the system was largely managed by several files-specifically, autoexec.bat, config.sys, win.ini (on Windows), and system.ini.

Various settings within these files determined what programs were loaded and how the system looked and responded to user input, Later versions of Windows replaced these files with the Registry, a central hierarchical database that maintains configuration settings for the application, hardware devices, and users.

How Windows Registry Structure Looks!

When the administrator or Forensics expects to open Regedit.exe, he sees a tree-like structure with five root folders, or “hives”.

  • HKEY_CLASSES_ROOT hive contains configuration information relating to which application is used to open various files on the system.
  • HKEY_CURRENT_USER hive is the active, loaded user profile for the currently logged-on-user.
  • HKEY_LOCAL_MACHINE hive contains vast configuration information for the system, including hardware settings and software settings.
  • HKEY_USERS hive contains all the actively loaded user profiles for that system.
  • HKEY_CURRENT_CONFIG hive contains the hardware profile the system uses at startup.

Registry Examination

MRU lists:

MRU, throughout or”most recently used” list, contains entries made due to specific actions performed by the user. There are numerous MRU LISs throughout various Registry keys.

The Registry maintains these lists of items in case the user returns to them in the future. It is similar to how the history and cookies act in a web browser.

The location of this key is HKEY_CURRENT_USER\software\microsoft\windows\currentversion\Explorer\RunMRU and it contains

With the information provided by the RunMRU key, an examiner can gain a better understanding of the user they are investigating and the application that is being used. In the above figure, you can see the user has opened cmd, Notepad, MSPaint, etc.

USB Devices:

Anytime a device is connected to the Universal Serial Bus (USB), Drivers are queried and the device’s information is stored in the Registry(Thumb Drives).

This key stores the contents of the product and device ID values of any USB devices that have ever been connected to the system.

So forensics experts will drill down to the path HKEY_LOCAL_MACHINE\SYSTEM\controlset001\Enum\USBSTOR.

Internet Explorer:

Internet Explorer is the native Web browser in the Windows operating system. It utilizes the Registry extensively in the storage of data, like many applications.

Internet Explorer stores its data in the HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TypedURLs.

Attached Hardware:

Navigating to the following key HKEY_LOCAL_MACHINE\SYSTEM|MountedDevices.This information can be useful to a forensic examiner as it shows any connected storage device has been recognized by the operating system.

If the examiner notes a discrepancy between the physically attached devices and the ones reported here, it can be an indication that some device was removed prior to the evidence being seized.

Malicious Software:

Navigating to this following key HKEY_CURRENT_USER\Software\  this information will be juicy stuff for Forensics Examiner as it could see the hacker used CyberGhost Vpn which is used for being anonymous.

Recent Applications:

Navigating to this following key will give information for the last accessed applications list HKEY_CURRENT_USER\SOFTWARE\Microsoft\Currentversion\Search\RecentApps.

This user has a vast list of applications, one of which was Vmworkstation found.

Crucial information can be obtained by performing an efficient and effective forensic examination.

So you can investigate to find ongoing malicious Activities in your Environment. Happy Investigating !!!!!

You can follow us on Linkedin, Twitter, and Facebook for daily Cybersecurity updates also you can take the Best Cybersecurity course online to keep yourself updated.

Also, Read

Website

Latest articles

Beware Of Weaponized Air Force invitation PDF Targeting Indian Defense And Energy Sectors

EclecticIQ cybersecurity researchers have uncovered a cyberespionage operation dubbed "Operation FlightNight" targeting Indian government...

WarzoneRAT Returns Post FBI Seizure: Utilizing LNK & HTA File

The notorious WarzoneRAT malware has made a comeback, despite the FBI's recent efforts to...

Google Revealed Kernel Address Sanitizer To Harden Android Firmware And Beyond

Android devices are popular among hackers due to the platform’s extensive acceptance and open-source...

Compromised SaaS Supply Chain Apps: 97% of Organizations at Risk of Cyber Attacks

Businesses increasingly rely on Software as a Service (SaaS) applications to drive efficiency, innovation,...

IT and security Leaders Feel Ill-Equipped to Handle Emerging Threats: New Survey

A comprehensive survey conducted by Keeper Security, in partnership with TrendCandy Research, has shed...

How to Analyse .NET Malware? – Reverse Engineering Snake Keylogger

Utilizing sandbox analysis for behavioral, network, and process examination provides a foundation for reverse...

GoPlus’s Latest Report Highlights How Blockchain Communities Are Leveraging Critical API Security Data To Mitigate Web3 Threats

GoPlus Labs, the leading Web3 security infrastructure provider, has unveiled a groundbreaking report highlighting...

Mitigating Vulnerability Types & 0-day Threats

Mitigating Vulnerability & 0-day Threats

Alert Fatigue that helps no one as security teams need to triage 100s of vulnerabilities.

  • The problem of vulnerability fatigue today
  • Difference between CVSS-specific vulnerability vs risk-based vulnerability
  • Evaluating vulnerabilities based on the business impact/risk
  • Automation to reduce alert fatigue and enhance security posture significantly

Related Articles