Forensic ArtifactWindows: Filesystem

System Restore Points

System Restore captures system snapshots before significant changes, storing registry hives, driver files, and system configuration at specific points in time.

System Restore Points are forensic time capsules — they capture registry hives, driver files, and system configuration at specific moments before significant changes. When an attacker modifies the registry, replaces system binaries, or tampers with security policy, the original state often survives in a restore point the adversary never knew existed.

What Are System Restore Points?

System Restore is a Windows feature introduced in Windows ME and substantially redesigned in Windows Vista to use the Volume Shadow Copy Service (VSS). It creates automatic snapshots of critical system files before events such as driver installations, Windows updates, and application installs. These snapshots contain copies of registry hives, system-protected files, COM+ databases, and WMI repositories — everything needed to roll the system back to a known-good state.

From a forensic perspective, restore points provide historical copies of registry hives and system files that may have since been modified by attackers, malware, or anti-forensics tools. If an adversary modifies HKLM\SYSTEM to install a malicious service, the pre-compromise version of the SYSTEM hive may still exist in a restore point created before the attack. Similarly, if a threat actor replaces sethc.exe with cmd.exe for sticky-key backdoor access, the original binary may survive in the restore point’s file store.

On modern Windows (Vista+), restore points are implemented as VSS snapshots stored in C:\System Volume Information\. The VSS framework maintains block-level differential snapshots of the volume, allowing the entire volume to be viewed as it existed at the snapshot time. Older Windows XP restore points used a file-copy mechanism that stored individual file backups in numbered RP### directories.

Key Insight

Restore points preserve historical copies of registry hives. If malware installed a service, added a Run key, or modified firewall rules in the registry, comparing the current hive to the restore-point copy reveals exactly what changed and when.

Location & Format

File Paths

ComponentPathNotes
VSS StoreC:\System Volume Information\Contains VSS snapshot metadata and diff data; SYSTEM-only ACL
XP Restore PointsC:\System Volume Information\_restore{GUID}\RP###\Legacy file-copy restore points (Windows XP only)
XP Snapshot FilesRP###\snapshot\Contains registry hive copies: _REGISTRY_MACHINE_SYSTEM, _REGISTRY_MACHINE_SOFTWARE, etc.
XP Change LogRP###\change.logBinary log of file operations tracked for this restore point

VSS Architecture (Vista+)

On Vista and later, System Restore uses VSS snapshots rather than file copies. The VSS provider maintains a copy-on-write differential store: when a block on the volume is about to be overwritten, the original block is saved to the diff area before the write proceeds. This means each snapshot represents the complete volume state at a point in time, accessible by mounting the shadow copy. The diff store grows as more blocks are modified between snapshots; Windows automatically purges the oldest snapshots when the allocated space (typically 5–10% of volume) is exceeded.

Format Note

VSS snapshots are block-level differentials, not file copies. You cannot browse them directly on disk. They must be mounted using vssadmin, mklink to a shadow copy path, or accessed through forensic tools that support VSS enumeration (Arsenal Image Mounter, X-Ways, FTK Imager).

What It Reveals

System Restore Points answer forensic questions that cannot be answered by examining only the current system state:

Registry Diffing

The highest-value forensic technique for restore points is registry diffing: loading both the current hive and the restore-point copy into a registry comparison tool and identifying every key and value that was added, modified, or deleted between the two states. This produces a precise change manifest of attacker activity.

Forensic Use Cases

1. Persistence Mechanism Discovery

An incident response engagement discovers a compromised host with no obvious persistence mechanism. The attacker has modified registry keys to install a service that loads a DLL from C:\Windows\Temp\. By mounting the most recent VSS snapshot and extracting the SYSTEM hive, the investigator compares the Services key tree and identifies the exact service entry that was added post-compromise, including the service name, DLL path, and start type.

2. Ransomware Pre-Encryption State Recovery

Ransomware typically deletes VSS snapshots as one of its first actions. However, if the ransomware execution was interrupted or if the vssadmin delete shadows command failed (e.g., due to insufficient privileges on the shadow copy provider), surviving snapshots contain the pre-encryption file system. Entire directories of unencrypted files can be recovered by mounting the surviving shadow copy.

3. Security Tool Tampering Timeline

An attacker disables Windows Defender by modifying HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\DisableAntiSpyware. The restore-point SOFTWARE hive shows this value did not exist before the attack, proving the attacker explicitly disabled endpoint protection. The restore point timestamp establishes the latest known-good configuration.

4. Backdoor Binary Detection

An attacker replaces C:\Windows\System32\utilman.exe with a copy of cmd.exe to enable unauthenticated command-line access at the login screen. The restore-point copy of utilman.exe has a different hash than the current file, proving the replacement. The legitimate file can be recovered from the shadow copy for hash verification against Microsoft’s catalog.

5. Deleted File Recovery

Files deleted after a restore point was created may still exist in the shadow copy. If the restore point was taken at 14:00 and the attacker deleted their tooling at 16:00, mounting the 14:00 shadow copy provides access to the original files. This is particularly valuable for recovering malware samples that the attacker cleaned up.

Acquisition Methods

Collection Warning

C:\System Volume Information\ has a SYSTEM-only ACL. Even administrators cannot access it without taking ownership or using a forensic tool that bypasses NTFS permissions. On a live system, enumerate shadow copies with vssadmin list shadows and mount them via symbolic link. On a forensic image, use tools that support VSS enumeration natively.

Live System — VSS Enumeration

CMD / ADMIN
:: List all available shadow copies
vssadmin list shadows

:: Create a symbolic link to access a specific shadow copy
mklink /d C:\ShadowMount \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy3\

:: Extract registry hives from the shadow copy
copy C:\ShadowMount\Windows\System32\config\SYSTEM C:\Evidence\VSS_SYSTEM
copy C:\ShadowMount\Windows\System32\config\SOFTWARE C:\Evidence\VSS_SOFTWARE
copy C:\ShadowMount\Windows\System32\config\SAM C:\Evidence\VSS_SAM

:: Remove the symbolic link when done
rmdir C:\ShadowMount

Forensic Image — VSS Extraction

BASH / FORENSICS
# Use libvshadow to enumerate shadow copies in a forensic image
vshadowinfo /path/to/image.E01

# Mount a specific shadow copy
vshadowmount /path/to/image.E01 /mnt/vss

# List available shadow copies (appear as vss1, vss2, etc.)
ls /mnt/vss/

# Mount a specific VSS volume
mount -o ro,loop /mnt/vss/vss1 /mnt/shadow1

# Extract registry hives from the shadow copy
cp /mnt/shadow1/Windows/System32/config/SYSTEM /analysis/vss/
cp /mnt/shadow1/Windows/System32/config/SOFTWARE /analysis/vss/

Parsing Tools & Analysis

ToolAuthorLicenseOutputNotes
Arsenal Image MounterArsenal ReconFree/CommercialMounted driveMounts forensic images with full VSS support; can expose all shadow copies
libvshadowJoachim MetzOpen sourceMountable volumesLinux-native VSS access; vshadowmount exposes each snapshot as a device
X-Ways ForensicsX-WaysCommercialGUI + exportNative VSS enumeration within forensic images
FTK ImagerExterroFreeGUICan mount and browse VSS snapshots from forensic images
RegRipperHarlan CarveyOpen sourceTextParse extracted registry hives from restore points
Registry ExplorerEric ZimmermanFreeGUICompare two registry hives side-by-side for diffing

Registry Diff Analysis

POWERSHELL / FORENSICS
# Mount VSS hive and current hive, then compare Services keys
reg load HKLM\VSS_SYSTEM C:\Evidence\VSS_SYSTEM
reg load HKLM\CURRENT_SYSTEM C:\Evidence\CURRENT_SYSTEM

# Export both Services trees
reg export HKLM\VSS_SYSTEM\ControlSet001\Services C:\Analysis\vss_services.reg
reg export HKLM\CURRENT_SYSTEM\ControlSet001\Services C:\Analysis\current_services.reg

# Diff the exports to find new/modified services
fc /N C:\Analysis\vss_services.reg C:\Analysis\current_services.reg > C:\Analysis\services_diff.txt

Retention & Persistence

PropertyWindows XPWindows Vista – 10Windows 11
MechanismFile-copy snapshotsVSS block-level differentialsVSS block-level differentials
Default space~12% of volume~5–15% of volume~5–15% of volume
Automatic triggersSoftware install, driver install, scheduled (24hr)Windows Update, driver install, app installWindows Update, driver install, app install
Survives rebootYesYesYes
Purge mechanismOldest RP directories deleted when space exceededOldest VSS snapshots purged when diff area is fullOldest VSS snapshots purged when diff area is full

Version Differences

FeatureWindows XPWindows Vista+
TechnologyFile-level copy to _restore{GUID}\RP###\Volume Shadow Copy Service (VSS)
Registry hivesExplicit copies in snapshot\ directoryAccessible via mounted shadow copy at original paths
File recoveryOnly monitored file types backed upEntire volume state available at block level
Access methodDirect file browsing in RP directoryMust mount shadow copy via vssadmin or forensic tool
Forensic tool supportRp.log parser, manual extractionlibvshadow, Arsenal Image Mounter, X-Ways, FTK

Anti-Forensics Resilience

System Restore and VSS snapshots are commonly targeted by ransomware and sophisticated attackers, making them a moderate-resilience artifact.

Tool/ActionDestroys Restore Points?Explanation
Ransomware (vssadmin delete shadows)YesMost ransomware families delete all VSS snapshots as a first step
wmic shadowcopy deleteYesAlternative WMI-based shadow copy deletion method
Disk CleanupPartialRemoves all but the most recent restore point
CCleanerOptionalCan delete restore points if user enables that option
System Restore disabledPrevents creationDisabling System Restore purges existing points and prevents new ones
Manual deletionYesAdmin can delete specific or all shadow copies
Ransomware Detection Signal

The absence of VSS snapshots on a system that should have them is itself a forensic finding. If System Restore was enabled and Windows Update recently ran, but no shadow copies exist, the most likely explanation is that they were deliberately deleted — a hallmark of ransomware or destructive attacks. Check Event ID 8194 (VSS) and 7036 (service stop) for corroboration.

MITRE ATT&CK Detection Mapping

System Restore analysis supports detection of the following techniques:

TechniqueNameRestore Point Evidence
T1490 T1490Inhibit System RecoveryDeleted VSS snapshots; vssadmin delete shadows in event logs
T1112 T1112Modify RegistryRegistry diff between current and restore-point hives reveals attacker modifications
T1543.003 T1543.003Windows ServiceNew services visible in current SYSTEM hive but absent from restore-point copy
T1562.001 T1562.001Disable or Modify ToolsSecurity tool registry keys modified between restore point and current state
T1547.001 T1547.001Registry Run KeysNew Run/RunOnce entries visible in registry diff

Related Artifacts & Cross-References

ArtifactRelationshipCross-Correlation Value
Registry HivesRestore points contain historical copies of SYSTEM, SOFTWARE, SAM, SECURITYRegistry diffing reveals attacker modifications between known-good and compromised state
Event LogsEvent ID 8194 (VSS), 7036 (service state changes)Confirm restore point creation/deletion timing
$MFTFile system metadata at time of snapshotShadow copy preserves historical $MFT state for file timeline analysis
PrefetchHistorical Prefetch files accessible via shadow copyExecution evidence from before attacker cleanup
Scheduled TasksTask XML files in shadow copy vs. current stateDetects persistence tasks added by attacker

References

  1. Microsoft, “Volume Shadow Copy Service” — https://learn.microsoft.com
  2. libvshadow, “Library and tools to access VSS” — https://github.com/libyal/libvshadow
  3. Arsenal Recon, “Arsenal Image Mounter” — https://arsenalrecon.com
  4. SANS Institute, “VSS Forensics” — https://www.sans.org/blog/
  5. Harlan Carvey, “RegRipper” — https://github.com/keydet89/RegRipper3.0
  6. Eric Zimmerman, “Registry Explorer” — https://ericzimmerman.github.io/
  7. 13Cubed, “Volume Shadow Copy Forensics” — https://www.13cubed.com/

Mjolnir Security — Digital Forensics & Incident Response

Mjolnir Security provides 24/7 incident response, digital forensics, and expert witness testimony. Our DFIR team specializes in VSS forensics, registry diffing, and pre-compromise state recovery for ransomware and APT investigations.

Digital ForensicsIncident ResponseExpert WitnessRegistry AnalysisRansomware RecoveryVSS Forensics

mjolnirsecurity.com — 24/7: +1 833 403 5875