USN-Record-Carver
Python script to carve NTFS USN records from arbitrary binary data
Description
The NTFS USN Change journal is a volume-specific log which records metadata changes to files. It is a treasure trove of information during a forensic investigation. As the change journal reaches its maximum size, clusters of the journal’s disk space are marked unallocated by the operating system to be used when needed at a later time. As with many other artifacts, USN change journal records in unallocated space can be extremely valuable. Better yet, due to the compact nature of change journal records, I routinely find millions of records outside of the file system’s allocated clusters.
This script will carve NTFS USN journal records from arbitrary binary data, and output to a file in binary format. The investigator can then parse these records with a tool of their own choosing. At this time the script only supports raw/dd input files.
Usage and Output
Simply specify the input and output files:
dev@computer:$ python usncarve.py -f file.raw -o usn.raw
Command-Line Options
usage: usncarve.py [-h] -f FILE -o OUTFILE
optional arguments:
-h, --help show this help message and exit
-f FILE, --file FILE Carve USN records from the given file
-o OUTFILE, --outfile OUTFILE
Output to the given file
Installation
Using setup.py:
python setup.py install
Using pip:
pip install usncarve
Travis-CI |
|---|
|
|
Metadata
Release files for usncarve 1.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| usncarve-1.2.2.tar.gz | 2.8 kB | Without provenance | Details for usncarve-1.2.2.tar.gz |
Release files / usncarve-1.2.2.tar.gz
| Download URL | usncarve-1.2.2.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fa566a81b2a735cad54df1def9f9bb8f84da560b30a47d49e54f81b8f794fa3c
|
|
BLAKE2b-256 checksum How to use checksums |
80aedb6ae24e22b2355e923ac83601c6c8c3c40bd1bcc2858556680cf9861f86
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for usncarve 1.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.