Reference / Registry keys monitored

Registry keys monitored

The Reg Monitor tab shows changes between Snapshot 1 and Snapshot 2 across a curated set of registry locations chosen for their persistence and code-injection relevance. Three modes of monitoring are used:

HKEY_CURRENT_USER

ModePathPurpose
values\Software\Microsoft\Windows\CurrentVersion\RunUser-scope autorun on logon.
values\Software\Microsoft\Windows\CurrentVersion\RunOnceUser-scope one-shot autorun.
keys\SOFTWARE\Microsoft\Active Setup\Installed ComponentsPer-user component installation hook.
keys\Software\ClassesUser-scope COM and file-association hijacks (e.g. Kovter).
single value\Software\Microsoft\Windows NT\CurrentVersion\Winlogon, ShellUser-scope shell override (e.g. Nymaim).

HKEY_LOCAL_MACHINE

Autorun

ModePath
values\Software\Microsoft\Windows\CurrentVersion\Run
values\Software\Microsoft\Windows\CurrentVersion\RunOnce
values\Software\Microsoft\Windows\CurrentVersion\RunServices
values\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run

Services and drivers

ModePath
keys\SYSTEM\CurrentControlSet\Services

Image File Execution Options (debugger hijack)

ModePath
keys\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options

New sub-keys here are how malware redirects benign programs to itself: IFEO\notepad.exe -> Debugger = bad.exe means launching Notepad runs bad.exe instead.

Active Setup

ModePath
keys\SOFTWARE\Microsoft\Active Setup\Installed Components

Internet Explorer extensions

ModePath
keys\SOFTWARE\Microsoft\Internet Explorer\Extensions
keys\SOFTWARE\Microsoft\Internet Explorer\Explorer Bars

Application compatibility shims

ModePath
keys\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Custom
keys\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\InstalledSDB

SDB shim databases are a documented persistence vector and have been used in several APT toolkits.

Firewall rules

ModePath
values\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules
values\SYSTEM\CurrentControlSet\Services\SharedAccess\Defaults\FirewallPolicy\FirewallRules

DLL loading hooks (single values)

PathHijack mechanism
\Software\Microsoft\Windows NT\CurrentVersion\Windows, AppInit_DLLsEvery user-mode process linking user32.dll loads listed DLLs.
\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon, UserinitProcess spawned at logon. Malware appends to the comma-separated list.
\Software\Microsoft\Windows NT\CurrentVersion\Winlogon, ShellSystem shell override.

Reading the diff

New entries in any monitored location surface on the Reg Monitor tab in the form:

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run --> PayloadName

The path column contains the full registry path; the value column contains the new value name (for "enum values" mode), the new sub-key name (for "enum keys" mode), or the new data (for "single value" mode).

Right-click a row and choose Open In Regedit to jump straight to the key in the registry editor.

Limitations