Section 5.2: Recovery of Deleted Files via VSS Flashcards

1
Q

What is the Volumne Shadow Copy Service?

A

It backs up key system files such as registry, applications, executables, drivers, and DLLs with the exception of some files.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Where can I find the files that aren’t backed by VSS? What memory files might not be included by this service?

A

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Backup\FilesNotToSnapshot. Memory files that may be exclude are the hibernation and page files depending on the Windows version.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How does the Volumne Shadow Copy Service function?

A

It monitors for any writes to the filesystem and creates a backup copy of data blocks before writing new data to the disk called Copy-on-Write (COW). Those data blocks are 16 KB in size and stored inside the System Volumne Information directory at the root volumne.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What do I expect to find inside the System Volumne Information directory?

A

Inside I will find a file that tracks active volumne shadow copies along with a VSC ID and a timestamp of creation. This tracking file is called the catalog and its name format is set in GUID. For each active shadow copy, a new catalog is made.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is ScopeSnapshots? Is it enabled?

A

Its a defaulted Windows 8+ feature that only monitors boot system files relevant to the computer for backup and ignores the rest.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do I disable ScopeSnapshots?

A

Adding a DWORD key value in the registry called ScopeSnapshots with a value of 0.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Path to ScopeSnapshots:

A

HKLM\Software\Microsoft\Windows NT\CurrentVersion\SystemRestore

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What tools can I use to get VSC?

A

For fast gathering, triage tools such as KAPE and Velociraptor work. For full volumne captures, Arsenal Image Mounter, F-Response, and vshadowmount.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

For deep-dive forensics, what type of acquisition is recommended for VSC?

A

Full disk image.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How can I get access to the VSC files once I have an image? What other features can I access?

A

Mount it to a tool like Arsenal Image Mounter to trick the image to act like a disk to get access to those copies. It can also access BitLocker and other drive encryption technologies.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Once VSC files are exposed, what tool do I use to recover previous versions of the system files?

A

Shadow Explorer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What tool, that are not Windows-based, can I use to access VSC?

A

libvshadow’s vshadowinfo & vshadowmount. These also expose copies as raw disk images.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What Windows command outputs how many VSC I have?

A

“Vssadmin list shadows”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does vshadowinfo do?

A

It lists all the VSC files from a raw disk image. The image can’t be E01. Use the offset parameter if the disk is an actual physical disk and not an image.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Since libvshadow must use a raw disk image to expose VSC and not E01files, what tool must I use beforehand?

A

Ewfmount. This tool makes the file accessable for libvshadow to run its vshadowmount command.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What does mountwin alias do? What do the commands mean?

A

It adds additional features to the mount. [ro] read-only,
[loop] mount file as a block device,
[show_sys_files] show hidden files like $Logfile, [streams_interface=windows] expose data streams.

17
Q

Can VSC be used with log2timeline.py?

A

Yes. If a full disk or volumne image is being used on log2timeline.py, it will ask if VSC should be integrated to the timeline. Psort can deduplicate the extra data.