VeriSigma
Menu

Module 04 of 12

The File System

Working in the Files workspace: browsing the tree, reading deleted entries, spotting content that does not match its extension, finding near-duplicates, and diffing folders.

Objectives

What you will be able to do

  1. Find your way through the folder tree and narrow the file table with filters.
  2. Read deleted entries, hard links, 8.3 short names and type mismatches correctly.
  3. Use TLSH similarity, and state what a close match does not prove.
  4. Diff two folders and read the four result groups.
  5. Check a deleted-file listing against a second tool's view of the file system.

Knowledge check

Try this before you read

Pick an answer and write one sentence on why. The explanation appears once you have. Come back to it after the key ideas and see whether your reasoning changed.

A file named invoice.txt has Type “Executable”. What is the soundest first conclusion?

Show the answer

Answer: Its content is an executable whatever the name says, so find out why it was named that way

Signature analysis reads the file's leading bytes and ignores its name, so the content really is an executable. That raises questions; it does not answer them. Look at its location, times and hash, whether copies exist elsewhere, and whether any artifact shows it running.

Key ideas

One idea at a time

  1. Three panes

    On the left is the folder tree: every evidence item, its volumes and its folders, each with a count. Checkboxes let you pull files from several folders into one selection. In the middle is the file table. Besides Name, Kind and Size, it has Type, which comes from signature analysis, and four timestamp columns: Created, Modified, Accessed, Metadata. The last one is when the file's own record changed. On the right is the details pane, with location, short name, type, size and times, and tabs for Hex, Text and Hashes. Ctrl+K opens the command bar, which filters the table or runs commands.

  2. A deleted file is a record, not a file

    When NTFS deletes a file, it flags the MFT entry as unused. The entry still carries the name, the times and pointers to where the content was. The content survives only until those clusters are reused. Times on a deleted entry are frozen at the deletion, and Metadata is often the strongest hint of when that happened, though other operations update it too. Two traps. A file with hard links has several names, and each name gets a separate row in VeriSigma, all pointing at one record. And Windows can assign an 8.3 alias such as PROGRA~1; some artifacts store only that alias.

  3. The content says what it is

    The Type column is decided by reading the first bytes of the file. The name plays no part. A mismatch deserves a question: an executable called .txt or .jpg, an archive dressed up as a document, a common format with no extension. Plenty of mismatches are harmless. Office files like .docx and .xlsx, and Java .jar files, are ZIP containers. Plain ASCII has no signature at all, so an empty Type is expected. Some mismatches, though, are someone hiding a file in plain view.

  4. Similar is not the same

    On the Hashes tab, SHA-256 is always present, and TLSH is too if the evidence was processed with it. MD5 and SHA-1 show only when a run was told to compute them, so an empty field means nobody computed it. Duplicates counts other files with the same SHA-256. Similar content lists files whose TLSH digest sits within a set distance of this one, 75 unless changed; smaller numbers mean closer. Closeness tells you the bytes resemble each other. It says nothing about copying, editing or derivation. It points you at files to compare, and the comparing is still yours to do.

  5. Diff two folders

    Diff takes two sets of files and puts every file in one of four buckets: Identical, Differ, Only A or Only B. Matching tries content hash first, then the path below each root, then the name without regard to case. For each matched pair, Diff checks SHA-256, size, and the created and modified times. Rename a copy and it still matches on hash; edit it and rename it, and it won't. Reach for Diff when the question is what one machine has that the other lacks, or what changed in a folder between two points in time.

  6. Validation lab

    Deleted files and type mismatches

    Take VeriSigma's list of deleted files and its type-mismatch results and set them against the file system view in the second tool. Reconcile the two lists before you compare any fields. Label each difference using the categories from the tool validation module, with one sentence of evidence.

Scope

Before you move on

Could you explain each item on the left to a colleague without looking back? If not, reread that idea. The right-hand list is where this module stops.

What this covers

  • The folder tree, file table and details pane
  • Deleted entries, hard links and 8.3 names
  • Type signatures against extensions
  • Exact duplicates and TLSH similarity
  • Comparing folders with Diff

What it does not

  • Recovering content from unallocated space (see Searching with Lightgrep for byte-level hits)
  • File systems other than NTFS in depth
  • What the four times mean and how they conflict (Timeline Analysis)

Have a matter that turns on evidence like this? VeriSigma examinations are quoted at a fixed fee.

Request a fixed-fee quote