Atlantiraptor Docs

carve_usn

Type: Plugin · Category: parsers

Carve for the USN journal entries from a device.

In practice the USN journal is set to roll over fairly quickly (default size is usually 32Mb). On busy systems this will lead to loss of valuable information.

This plugin carves the raw device for USN entries. Usual caveats apply for all carved data, however this will often recover entries from a long time before the roll over.

This plugin can take a long time!

Example

SELECT * FROM carve_usn(device='''\\.\C:''')
Argument Type Description
device accessors.OSPath The device file to open.
image_filename accessors.OSPath A raw image to open. You can also provide the accessor if using a raw image file.
accessor string The accessor to use.
mft_filename accessors.OSPath A path to a raw $MFT file to use for path resolution.
usn_filename accessors.OSPath A path to a raw USN file to carve. If not provided we carve the image file or the device.
start uint64 Starting offset.
length uint64 How long to scan for.

Required permissions: FILESYSTEM_READ

Platforms: macOS, Linux, Windows

Source: vql/parsers/usn/carver.go