NTFS
New Technology File System
Allows for multiple filenames for same data.
Differentiates between upper and lower case.
NTFS Structure
No system area, all data area.
Everything is a file.
Max number of files unlimited (only limited by drive size).
NTFS System Files
Boot record, root directory, and system area all files.
Normally start with $.
When formatted, system files created on drive.
Clusters in NTFS
Start counting at 0.
Cluster size usually 4096.
$MFT
Master File Table.
Most important.
Takes the place of root directory and file allocation table.
Can take up to 12.5% of drive.
$MFT Structure
Composed of records.
Includes $MFT itself.
First 16 records reserved for metadata files.
Every file and directory has at least one record here.
$MFTMIRR
Backup Files.
First four records of $MFT.
$MFT (0)
$MFTMIRR (1)
$Logfile (2)
$Volume (3)$Logfile
Records operations affecting file structure.
Records file system changes.
Used for Recovery.
$Volume
Information about the volume. Volume name. NTFS version. State of volume. Dirty Flag: requires checkdisk to run). Checks for errors.
$Logfile: Forensic Significance
Can contain information on creating, moving, or deleting files.
$AttrDef
Info about all attributes defined on a volume.
Not the same as FAT Directory attributes.
List of attributes can be extended or change by modifying this file.
.-Root Directory
Does not have $.
Listing of all files and folders.
\
$Bitmap
Like file allocation table.
Tracks cluster usage.
Allocation state of each cluster in volume.
Each bit indicates if a cluster is free or not.
1 if occupied, 0 if empty.
Does not point to cluster.
$Boot
Volume Boot Record. Located in sector 0 of volume. Up to 16 sectors in length. # of sectors per cluster. Location of MFT. Total sectors in volume. Serial number. Back-up of first sector of $Boot at end of volume.
Resident Files
Files under 1024 are contained completely within $MFT.
Non-Resident Files
Files over 1024 will be stored somewhere other than $MFT.
Metadata Files
File system files that are created during formatting process.
Not create by Windows.
Some can be used to recover deleted partitions ($Boot).
$BadClus
File consisting of all bad clusters on volume.
If one cluster (sector?) entire cluster is marked bad.
1 for bad, 0 or good.
$Secure
Contains all security descriptors used on volume and their hash.
File’s “security ID” is an index into $Secure.
$UpCase
Translates upper and lower case letters.
Used to assist in sorting and searching file names.
Files
Series of attributes. Every file will have: Standard Information Attribute (SIA). Filename Attribute. Data Attribute.
Attributes
Anything that describe the file.
Name, Dates, Data.
Folders
Every folder will have:
Standard Information Attribute (SIA).
Filename Attribute.
Index Root Attributes.
$MFT Records
Records are 1024 bytes in length.
Each record begins with 56 byte record header.
Offsets start at beginning of record.