Exam 3 Flashcards
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.
Standard Information Attribute
SIA. Present in every record. 96 bytes in length. Contains dates and times associated with file. 0x10 00 00 00. SIA always resident.
Update Sequence Array
If information goes over a sector (?) this keeps track of overflow data so it doesn’t get rewritten.
Has code so can find the rest elsewhere.
“fix-up” array.
Record Header
Offsets 0-4 signature (FILE is good to search for in records in unallocated space).
Update Sequence Array.
Sequence Count: Number of times $MFT has reused this record.
Filename Attribute
FNA.
Every file and folder has one.
Dates not updated as frequently as SIA so unreliable.
0x30 00 00 00
Data Attribute
Every file has one.
0x80 00 00 00.
Can be Resident or Non-Resident.
Folders do not have a Data Attribute.
Record Slack
Data from the End of Record Marker to end of 1024 record is Record Slack.
Data Attribute: Non-Resident
If data exceeds $MFT record (1024) it is placed in next available cluster.
A runlist of clusters will point to their location.
Runlist
Has number of clusters and starting location.
If file is fragmented, there will be multiple run lists.
If multiple lists, location can be a negative value.
Location is a signed integer.
UTC
Grenich Mean Time.
Paris, France.
We are UTC-6.
Triage Rules
#1: If the computer is off, leave it off! #2: If the computer is on, it depends!
Triage Documentation
Make, model, serial number.
What state is it in?
On? Off? Disconnected? Damaged?
Photograph.
Triage: Live Computer First Steps
Wake computer (mouse, shift key). Document and photograph all open windows. Check task tray for open applications. Check for encryption. Do as little as possible.
Triage: Live Computer: Things to Check
Check task tray for open applications.
Check for encryption or encryption programs that are running.
Triage: Live Computer: Things to Get
Make image. Check online/cloud storage. Try to get encryption passwords and codes. Consider logical acquisition/RAM dump. Capture RAM.