Registry Hive in Memory
Also called In-Memory Hive, Cached Registry.
Live registry hives resident in RAM, recoverable from a capture.
What it is
The configuration-manager hives that Windows keeps mapped in kernel memory, including volatile keys that exist only at runtime. A memory image can yield current key and value data without touching the on-disk hive files.
Why it matters
In-memory hives expose the live state of persistence keys, recently set values, and volatile hives that never hit disk, sometimes the freshest evidence of an attacker's footholds. They also reveal values that were created and deleted between disk flushes.
In practice
Recovering a run-key value from an in-memory hive that pointed at an implant, even though the value had not yet been written to the on-disk hive.
What to look for
- Keys and values changed in memory but not yet flushed to disk.
- Volatile keys that never reach disk.
- Run keys and services added during the incident.
Common mistake
Only parsing hives from disk. Recent changes may exist only in memory.
Practice it nearby
CyberKit has no tool for this term itself. These are the closest places to practice it.
- Indicator Extractor
Pull every IOC out of a log or a report, then score the domains against published string heuristics.
- Regex Tester
A live regex playground, with a library of common DFIR patterns.
In the field
Well-known tools where this shows up on the job. They are listed to show the landscape, not as a recommendation.
-
Volatility 3 Open source
A widely used open source framework for analyzing memory images with plugins. Our notes.
-
Velociraptor Open source
Can collect memory and query live process memory across many hosts. Our notes.
-
CrowdStrike Falcon Commercial
EDR agents watch memory activity on the host, such as injection and unbacked code.
Read next
- Page Cache: File data kept resident in RAM that can be recovered from a capture.
- Kernel Pool: The kernel's heap, split into paged and nonpaged regions, for objects.
- Indicator Extraction from Memory: Pulling addresses, names, and strings from RAM to drive a hunt.