Glossary
File carving
Recovering files from raw disk data using content signatures such as headers and footers, without relying on file system metadata.
File carving is the recovery of files from raw data by recognizing their content, rather than by following file system records. A carver scans a disk image, unallocated space, file slack or a memory dump for known signatures, such as the header bytes that start a JPEG or a PDF, and extracts data up to a matching footer, a size field or a maximum length.
Carving is useful when metadata is gone: the $MFT record of a deleted file has been reused, a volume has been reformatted, or the data sits in a file like pagefile.sys that has no internal file structure. Beyond whole files, carvers can also extract smaller records, such as event log records, MFT entries or URLs, from raw space.
Its limits are important to understand:
- Carved files have no original name, path or file system timestamps.
- Fragmented files are often recovered incomplete or mixed with unrelated data, because basic carving assumes the content is contiguous.
- Signature matches can be false positives, so every result needs validation.
Common free tools include PhotoRec, Scalpel, Foremost and bulk_extractor (which extracts features such as email addresses and URLs rather than whole files). Document the tool, version and settings used, since carving results can differ between tools. See also NTFS.
Related artifacts
- Browser artifacts (Chrome, Edge, Firefox)Browser forensics cheat sheet: Chromium and Firefox profile files, History and places.sqlite tables, WebKit and PRTime timestamps, downloads, cookies, cache.
- hiberfil.sys (hibernation file)hiberfil.sys cheat sheet: what hibernation and Fast Startup save, compression by Windows version, converting it to a raw memory image and what it can reveal.
- Notepad TabState (Windows 11)Notepad TabState cheat sheet: Windows 11 Notepad .bin tab files, unsaved text never written to disk, saved file paths, hashes, WindowState and parsing.
- Notification database (wpndatabase.db)Windows notification database cheat sheet: wpndatabase.db tables, toast Payload XML, FILETIME ArrivalTime and ExpiryTime, WAL recovery and legacy appdb.dat.
- pagefile.sys and swapfile.syspagefile.sys and swapfile.sys cheat sheet: paged-out memory on disk, what can be recovered, ClearPageFileAtShutdown, compression caveats and carving tools.
- Print spooler files (.SPL and .SHD)Print spool cheat sheet: .SPL and .SHD files in spool\PRINTERS, EMF content recovery, PrintService event 307, printer drivers and PrintNightmare traces.
- RDP bitmap cacheRDP bitmap cache cheat sheet: bcache*.bmc and Cache*.bin files on the RDP client, what screen tiles reveal, timestamps, and rebuilding screens with bmc-tools.
- Sticky Notes (plum.sqlite and StickyNotes.snt)Sticky Notes cheat sheet: plum.sqlite Note table and .NET tick timestamps on Windows 10/11, legacy StickyNotes.snt, WAL recovery, collection and parsing.
- ThumbcacheThumbcache cheat sheet: thumbcache_*.db files per Windows version, cache IDs, mapping to the Search index, legacy Thumbs.db and thumbnails of deleted files.
- Windows Search indexWindows Search index cheat sheet: Windows.edb (ESE) and Windows 11 SQLite Windows.db, indexed paths, dates and content, deleted records, esentutl collection.