SlideShare a Scribd company logo
Windows File Systems
Exploring Microsoft File Structures
• In Microsoft file structures, sectors are grouped to form clusters
• Storage allocation units of one or more sectors(blocks)
• Clusters range from 512 bytes up to 32,000 bytes each
• Combining sectors minimizes the overhead of writing or reading files to a
disk
• Clusters are numbered sequentially starting at 0 in NTFS and 2 in FAT
• First sector of all disks contains a system area, the boot record, and a file structure
database
• OS assigns these cluster numbers, called logical addresses
• Sector numbers are called physical addresses
• Clusters and their addresses are specific to a logical disk drive, which is a
disk partition
Disk Partitions
• A partition is a logical drive
• Windows OSs can have three primary partitions
followed by an extended partition that can
contain one or more logical drives
• Question: How many partitions on a Linux drive?
• Hidden partitions or voids are known as
Partition gap
• Unused space between partitions
Disk Partitions
• The partition table is in the Master Boot Record (MBR)
• Located at sector 0 of the disk drive
• MBR stores information about
partitions on a disk and their locations, size, and other important
items
• In a hexadecimal editor, such as
HxD, you can find the first partition at
offset 0x1BE
• The file system’s hexadecimal code is offset
3 bytes from 0x1BE for the first partition
Examining FAT Disks
• File AllocationTable (FAT)
• File structure database that Microsoft originally designed for floppy
disks
• FAT database is typically written to a disk’s outermost track
and contains:
• Filenames, directory names, date and time stamps, the starting cluster
number, and file attributes
• Three current FAT versions
• FAT16, FAT32, and exFAT (Xbox systems)
• Cluster sizes vary according to the hard disk
size and file system
Examining FAT Disks
• Microsoft OSs allocate disk space for files by clusters
• Results in drive slack
• Unused space in a cluster between the end of an active file and the end of
the cluster
• Drive slack includes:
• RAM slack – Space between end of file and sector
• File slack – Space between end of file and end of cluster
• An unintentional side effect of
FAT16 having large clusters was
that it reduced fragmentation
• As cluster size increased
Examining FAT Disks
• When you run out of room for an allocated cluster
• OS allocates another cluster for your file, which creates more slack space
on the disk
• As files grow and require more disk space, assigned clusters are chained
together
• The chain can be broken or fragmented
• When the OS stores data in a FAT file system, it assigns a starting cluster
position to a file
• Data for the file is written to the first sector of the first assigned cluster
• When this first assigned cluster is filled and runs out of room
• FAT assigns the next available cluster to the file
• If the next available cluster isn’t contiguous to the current cluster
• File becomes fragmented
Deleting FAT Files
• In Microsoft OSs, when a file is deleted
• Directory entry is marked as a deleted file
• With the HEX E5 character replacing the first letter of the
filename
• FAT chain for that file is set to 0
• Data in the file remains on the disk drive
• Area of the disk where the deleted file resides becomes
unallocated disk space
• Available to receive new data from newly created files or other files
needing more space
Examining NTFS Disks
• NT File System (NTFS)
• Improvements over FAT file systems
• NTFS provides more information about a file
• NTFS gives more control over files and folders
• NTFS was Microsoft’s move toward a journaling file system
• It records a transaction before the system carries it out
• NTFS results in much less file slack space
• Clusters are smaller for smaller disk drives
• NTFS also uses Unicode
• An international data format (Encoding Scheme)
• On an NTFS disk
• First data set is the Partition Boot Sector
• Next is Master FileTable (MFT)
NTFS System Files
• MFT contains information about all files
on the disk
• Including the system files the OS uses
• In the MFT, the first 15 records are
reserved for system files
• Records in the MFT are called metadata
MFT and File Attributes
• In the NTFS MFT
• Begins after the Partition table
• All files and folders are stored in separate records of 1024 bytes each
• Each record contains file or folder information
• This information is divided into record fields containing metadata
• A record field is referred to as an attribute ID
• File or folder information is typically stored in one of two ways in
an MFT record:
• Resident - Files less than or equal to 512 bytes are stored inside the MFT
• Nonresident - Files larger than 512 bytes are stored outside the MFT
• Question: What address is stored for file location if it is nonresident?
• Each MFT record starts with a header identifying it as a resident or
nonresident attribute
• First 42 bytes contains the File Record Header (file or dir, in use or deleted,
allocated size
Windows File Systems
MFT $SIA
• All have a $STANDARD_INFORMATION_ATTRIBUTE
• 72 Bytes Contains the 64bit timestamps for MAC
• Written in UTC
• Times do not always match the activity
• NTFS delays writing the last accessed time to improve disk performance
• Values stored in the $SIA can be an Indicator of Compromise (IOC)
• Question:Why would the $SIA values indicate a compromise?
MFT $FNA
• All have a $FILE_NAME_ATTRIBUTE
• 66 Bytes of metadata plus the filename
• Contains a reference to the parent directory
NTFS Data Streams
• Each file can contain multiple streams
• Similar to a DVD with multiple language tracks
• Used to store additional file attributes
• Not displayed inWindows Explorer
• Show as attribute 0x80 in
Deleting NTFS Files
• When a file is deleted inWindows NT and later
• The OS renames it and moves it to the Recycle Bin
• Can use the Del (delete) MS-DOS command
• Eliminates the file from the MFT listing in the same way FAT does
Understanding Microsoft Startup Tasks
• Learn what files are accessed when Windows starts
• This information helps you determine when a suspect’s computer was last
accessed
• Important with computers that might have been used after an incident was reported
• When you start aWindows XP NTFS workstation, several files are accessed
immediately
• The last access date and time stamp for the files change to the current date and time
• Destroys any potential evidence
• Startup Files for Windows:
• The Ntldr program inWindows XP used to load the OS has been replaced with these
three boot utilities:
• Bootmgr.exe
• Winload.exe
• Winresume.exe
Summary
• The Master Boot Record (MBR) stores information about partitions
on a disk
• When files are deleted in a FAT file system, the Greek letter sigma
(0x05) is inserted in the first character of the filename in the directory
• NTFS is more versatile because it uses the Master FileTable (MFT) to
track file information
• Records in the MFT contain attribute IDs that store metadata about
files
• Analysis of MFT can provide indicator of compromise (IOC)
• File slack, RAM slack, and drive slack are areas in which valuable
information can reside on a drive
Ad

More Related Content

What's hot (20)

NTFS file system
NTFS file systemNTFS file system
NTFS file system
Ravi Yasas
 
Linux standard file system
Linux standard file systemLinux standard file system
Linux standard file system
Taaanu01
 
File system
File systemFile system
File system
Harleen Johal
 
Mac Forensics
Mac ForensicsMac Forensics
Mac Forensics
CTIN
 
Linux security
Linux securityLinux security
Linux security
trilokchandra prakash
 
Linux security introduction
Linux security introduction Linux security introduction
Linux security introduction
Mohamed Gad
 
Windows forensic
Windows forensicWindows forensic
Windows forensic
MD SAQUIB KHAN
 
Hard drive partitions
Hard drive partitionsHard drive partitions
Hard drive partitions
Gabriela_Technoteacher
 
Partitioning a Hard Drive
Partitioning a Hard DrivePartitioning a Hard Drive
Partitioning a Hard Drive
Jamaica Olazo
 
introduction to system administration
introduction to system administrationintroduction to system administration
introduction to system administration
gamme123
 
HARD DISK DRIVE ppt
HARD DISK DRIVE pptHARD DISK DRIVE ppt
HARD DISK DRIVE ppt
silveroak engineering collage
 
Microsoft Windows File System in Operating System
Microsoft Windows File System in Operating SystemMicrosoft Windows File System in Operating System
Microsoft Windows File System in Operating System
Meghaj Mallick
 
Fat File Systems
Fat File SystemsFat File Systems
Fat File Systems
ArthyR3
 
Operating system components
Operating system componentsOperating system components
Operating system components
Syed Zaid Irshad
 
Windowsforensics
WindowsforensicsWindowsforensics
Windowsforensics
Santosh Khadsare
 
File system Os
File system OsFile system Os
File system Os
Nehal Naik
 
Server operating system
Server operating systemServer operating system
Server operating system
Tapan Khilar
 
Disk formatting
Disk formattingDisk formatting
Disk formatting
Dan Louie Bernardino
 
file system in operating system
file system in operating systemfile system in operating system
file system in operating system
tittuajay
 
Nfs
NfsNfs
Nfs
tmavroidis
 
NTFS file system
NTFS file systemNTFS file system
NTFS file system
Ravi Yasas
 
Linux standard file system
Linux standard file systemLinux standard file system
Linux standard file system
Taaanu01
 
Mac Forensics
Mac ForensicsMac Forensics
Mac Forensics
CTIN
 
Linux security introduction
Linux security introduction Linux security introduction
Linux security introduction
Mohamed Gad
 
Partitioning a Hard Drive
Partitioning a Hard DrivePartitioning a Hard Drive
Partitioning a Hard Drive
Jamaica Olazo
 
introduction to system administration
introduction to system administrationintroduction to system administration
introduction to system administration
gamme123
 
Microsoft Windows File System in Operating System
Microsoft Windows File System in Operating SystemMicrosoft Windows File System in Operating System
Microsoft Windows File System in Operating System
Meghaj Mallick
 
Fat File Systems
Fat File SystemsFat File Systems
Fat File Systems
ArthyR3
 
Operating system components
Operating system componentsOperating system components
Operating system components
Syed Zaid Irshad
 
File system Os
File system OsFile system Os
File system Os
Nehal Naik
 
Server operating system
Server operating systemServer operating system
Server operating system
Tapan Khilar
 
file system in operating system
file system in operating systemfile system in operating system
file system in operating system
tittuajay
 

Viewers also liked (20)

VSC Presentation
VSC PresentationVSC Presentation
VSC Presentation
primeteacher32
 
Windows Registry
Windows RegistryWindows Registry
Windows Registry
primeteacher32
 
Timelines
TimelinesTimelines
Timelines
primeteacher32
 
Email Forensics
Email ForensicsEmail Forensics
Email Forensics
primeteacher32
 
Virtual Machine Forensics
Virtual Machine ForensicsVirtual Machine Forensics
Virtual Machine Forensics
primeteacher32
 
System Event Logs
System Event LogsSystem Event Logs
System Event Logs
primeteacher32
 
Processing Crimes and Incident Scenes
Processing Crimes and Incident ScenesProcessing Crimes and Incident Scenes
Processing Crimes and Incident Scenes
primeteacher32
 
Email Analysis
Email AnalysisEmail Analysis
Email Analysis
primeteacher32
 
Manajemen File
Manajemen FileManajemen File
Manajemen File
SMK Kartika XX-1 Makassar
 
Manajemen file and user pada linux
Manajemen file and user pada linuxManajemen file and user pada linux
Manajemen file and user pada linux
ReskyRian
 
Manajemen file
Manajemen fileManajemen file
Manajemen file
Setia Juli Irzal Ismail
 
Data Acquisition
Data AcquisitionData Acquisition
Data Acquisition
primeteacher32
 
Instalasi windows 10
Instalasi windows 10Instalasi windows 10
Instalasi windows 10
anafatwa21
 
Major Google Algorithm Updates: A Brief Overview
Major Google Algorithm Updates: A Brief OverviewMajor Google Algorithm Updates: A Brief Overview
Major Google Algorithm Updates: A Brief Overview
OneThingMKT
 
Seminar 1
Seminar 1Seminar 1
Seminar 1
Ahmad Amin
 
Comparison of android and black berry forensic techniques
Comparison of android and black berry forensic techniquesComparison of android and black berry forensic techniques
Comparison of android and black berry forensic techniques
Yury Chemerkin
 
Advanced SEO - BlogPaws 2015
Advanced SEO - BlogPaws 2015Advanced SEO - BlogPaws 2015
Advanced SEO - BlogPaws 2015
Jill Caren
 
Panda, Penguin, Hummingbird
Panda, Penguin, HummingbirdPanda, Penguin, Hummingbird
Panda, Penguin, Hummingbird
MnSearch, The Minnesota Search Engine Marketing Association
 
What One Digital Forensics Expert Found on Hundreds of Hard Drives, iPhones a...
What One Digital Forensics Expert Found on Hundreds of Hard Drives, iPhones a...What One Digital Forensics Expert Found on Hundreds of Hard Drives, iPhones a...
What One Digital Forensics Expert Found on Hundreds of Hard Drives, iPhones a...
Blancco
 
Brev loc cloud data storage, backup and recovery pres
Brev loc cloud data storage, backup and recovery presBrev loc cloud data storage, backup and recovery pres
Brev loc cloud data storage, backup and recovery pres
danmraz
 
Virtual Machine Forensics
Virtual Machine ForensicsVirtual Machine Forensics
Virtual Machine Forensics
primeteacher32
 
Processing Crimes and Incident Scenes
Processing Crimes and Incident ScenesProcessing Crimes and Incident Scenes
Processing Crimes and Incident Scenes
primeteacher32
 
Manajemen file and user pada linux
Manajemen file and user pada linuxManajemen file and user pada linux
Manajemen file and user pada linux
ReskyRian
 
Instalasi windows 10
Instalasi windows 10Instalasi windows 10
Instalasi windows 10
anafatwa21
 
Major Google Algorithm Updates: A Brief Overview
Major Google Algorithm Updates: A Brief OverviewMajor Google Algorithm Updates: A Brief Overview
Major Google Algorithm Updates: A Brief Overview
OneThingMKT
 
Comparison of android and black berry forensic techniques
Comparison of android and black berry forensic techniquesComparison of android and black berry forensic techniques
Comparison of android and black berry forensic techniques
Yury Chemerkin
 
Advanced SEO - BlogPaws 2015
Advanced SEO - BlogPaws 2015Advanced SEO - BlogPaws 2015
Advanced SEO - BlogPaws 2015
Jill Caren
 
What One Digital Forensics Expert Found on Hundreds of Hard Drives, iPhones a...
What One Digital Forensics Expert Found on Hundreds of Hard Drives, iPhones a...What One Digital Forensics Expert Found on Hundreds of Hard Drives, iPhones a...
What One Digital Forensics Expert Found on Hundreds of Hard Drives, iPhones a...
Blancco
 
Brev loc cloud data storage, backup and recovery pres
Brev loc cloud data storage, backup and recovery presBrev loc cloud data storage, backup and recovery pres
Brev loc cloud data storage, backup and recovery pres
danmraz
 
Ad

Similar to Windows File Systems (20)

Windows File Systems
Windows File SystemsWindows File Systems
Windows File Systems
primeteacher32
 
Windows Forensics- Introduction and Analysis
Windows Forensics- Introduction and AnalysisWindows Forensics- Introduction and Analysis
Windows Forensics- Introduction and Analysis
Don Caeiro
 
Working with Windows and DOS Systems (1).ppt
Working with Windows and DOS Systems (1).pptWorking with Windows and DOS Systems (1).ppt
Working with Windows and DOS Systems (1).ppt
mcjaya2024
 
Digital Information Forensics Lecture on the topic of Partion Table
Digital Information Forensics Lecture on the topic of Partion TableDigital Information Forensics Lecture on the topic of Partion Table
Digital Information Forensics Lecture on the topic of Partion Table
muhammadqasim586302
 
Os
OsOs
Os
Raghuraaman Raghu
 
Ntfs forensics
Ntfs forensicsNtfs forensics
Ntfs forensics
n|u - The Open Security Community
 
NTFS Forensics.pptx
NTFS Forensics.pptxNTFS Forensics.pptx
NTFS Forensics.pptx
AndreMeneghin1
 
Course 102: Lecture 26: FileSystems in Linux (Part 1)
Course 102: Lecture 26: FileSystems in Linux (Part 1) Course 102: Lecture 26: FileSystems in Linux (Part 1)
Course 102: Lecture 26: FileSystems in Linux (Part 1)
Ahmed El-Arabawy
 
Fat and ntfs
Fat and ntfsFat and ntfs
Fat and ntfs
Lucky Ali
 
file system overview in oerating system .
file system overview in oerating system .file system overview in oerating system .
file system overview in oerating system .
pavanm6360
 
Ext filesystem4
Ext filesystem4Ext filesystem4
Ext filesystem4
Neha Kulkarni
 
6-File Systems logically for storage and retrieval..pptx
6-File Systems logically for storage and retrieval..pptx6-File Systems logically for storage and retrieval..pptx
6-File Systems logically for storage and retrieval..pptx
FahadBurhanAhmad1
 
chapter10 - File structures.pdf
chapter10 - File structures.pdfchapter10 - File structures.pdf
chapter10 - File structures.pdf
satonaka3
 
NTFS and Inode
NTFS and InodeNTFS and Inode
NTFS and Inode
Amit Seal Ami
 
Btrfs by Chris Mason
Btrfs by Chris MasonBtrfs by Chris Mason
Btrfs by Chris Mason
Terry Wang
 
File system
File systemFile system
File system
harleen_johal
 
File system
File systemFile system
File system
Harleen Johal
 
File System, Dual Boot, Addon Components, Create User
File System, Dual Boot, Addon Components, Create UserFile System, Dual Boot, Addon Components, Create User
File System, Dual Boot, Addon Components, Create User
Harman Gahir
 
File system, dual boot, addon components, create user
File system, dual boot, addon components, create userFile system, dual boot, addon components, create user
File system, dual boot, addon components, create user
Harman Gahir
 
NTFS vs FAT
NTFS vs FATNTFS vs FAT
NTFS vs FAT
Tanveer Ahmed
 
Windows Forensics- Introduction and Analysis
Windows Forensics- Introduction and AnalysisWindows Forensics- Introduction and Analysis
Windows Forensics- Introduction and Analysis
Don Caeiro
 
Working with Windows and DOS Systems (1).ppt
Working with Windows and DOS Systems (1).pptWorking with Windows and DOS Systems (1).ppt
Working with Windows and DOS Systems (1).ppt
mcjaya2024
 
Digital Information Forensics Lecture on the topic of Partion Table
Digital Information Forensics Lecture on the topic of Partion TableDigital Information Forensics Lecture on the topic of Partion Table
Digital Information Forensics Lecture on the topic of Partion Table
muhammadqasim586302
 
Course 102: Lecture 26: FileSystems in Linux (Part 1)
Course 102: Lecture 26: FileSystems in Linux (Part 1) Course 102: Lecture 26: FileSystems in Linux (Part 1)
Course 102: Lecture 26: FileSystems in Linux (Part 1)
Ahmed El-Arabawy
 
Fat and ntfs
Fat and ntfsFat and ntfs
Fat and ntfs
Lucky Ali
 
file system overview in oerating system .
file system overview in oerating system .file system overview in oerating system .
file system overview in oerating system .
pavanm6360
 
6-File Systems logically for storage and retrieval..pptx
6-File Systems logically for storage and retrieval..pptx6-File Systems logically for storage and retrieval..pptx
6-File Systems logically for storage and retrieval..pptx
FahadBurhanAhmad1
 
chapter10 - File structures.pdf
chapter10 - File structures.pdfchapter10 - File structures.pdf
chapter10 - File structures.pdf
satonaka3
 
Btrfs by Chris Mason
Btrfs by Chris MasonBtrfs by Chris Mason
Btrfs by Chris Mason
Terry Wang
 
File System, Dual Boot, Addon Components, Create User
File System, Dual Boot, Addon Components, Create UserFile System, Dual Boot, Addon Components, Create User
File System, Dual Boot, Addon Components, Create User
Harman Gahir
 
File system, dual boot, addon components, create user
File system, dual boot, addon components, create userFile system, dual boot, addon components, create user
File system, dual boot, addon components, create user
Harman Gahir
 
Ad

More from primeteacher32 (20)

Software Development Life Cycle
Software Development Life CycleSoftware Development Life Cycle
Software Development Life Cycle
primeteacher32
 
Variable Scope
Variable ScopeVariable Scope
Variable Scope
primeteacher32
 
Returning Data
Returning DataReturning Data
Returning Data
primeteacher32
 
Intro to Functions
Intro to FunctionsIntro to Functions
Intro to Functions
primeteacher32
 
Introduction to GUIs with guizero
Introduction to GUIs with guizeroIntroduction to GUIs with guizero
Introduction to GUIs with guizero
primeteacher32
 
Function Parameters
Function ParametersFunction Parameters
Function Parameters
primeteacher32
 
Nested Loops
Nested LoopsNested Loops
Nested Loops
primeteacher32
 
Conditional Loops
Conditional LoopsConditional Loops
Conditional Loops
primeteacher32
 
Introduction to Repetition Structures
Introduction to Repetition StructuresIntroduction to Repetition Structures
Introduction to Repetition Structures
primeteacher32
 
Input Validation
Input ValidationInput Validation
Input Validation
primeteacher32
 
Nesting Conditionals
Nesting ConditionalsNesting Conditionals
Nesting Conditionals
primeteacher32
 
Conditionals
ConditionalsConditionals
Conditionals
primeteacher32
 
Intro to Python with GPIO
Intro to Python with GPIOIntro to Python with GPIO
Intro to Python with GPIO
primeteacher32
 
Variables and Statements
Variables and StatementsVariables and Statements
Variables and Statements
primeteacher32
 
Variables and User Input
Variables and User InputVariables and User Input
Variables and User Input
primeteacher32
 
Intro to Python
Intro to PythonIntro to Python
Intro to Python
primeteacher32
 
Raspberry Pi
Raspberry PiRaspberry Pi
Raspberry Pi
primeteacher32
 
Hardware vs. Software Presentations
Hardware vs. Software PresentationsHardware vs. Software Presentations
Hardware vs. Software Presentations
primeteacher32
 
Block chain security
Block chain securityBlock chain security
Block chain security
primeteacher32
 
Hashes
HashesHashes
Hashes
primeteacher32
 

Recently uploaded (20)

HCollege ppt guidance and counselin.pptx
HCollege ppt guidance and counselin.pptxHCollege ppt guidance and counselin.pptx
HCollege ppt guidance and counselin.pptx
liajohn0808
 
COMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELS
COMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELS
COMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELS
johncena77770789
 
remakingyourselfpresentation-250430095415-6476ade1.pptx
remakingyourselfpresentation-250430095415-6476ade1.pptxremakingyourselfpresentation-250430095415-6476ade1.pptx
remakingyourselfpresentation-250430095415-6476ade1.pptx
lakhmanpindariya9176
 
SEMINAR REPORT PPT.pptxSDJADADGGDYSADGSGJSFDH
SEMINAR REPORT PPT.pptxSDJADADGGDYSADGSGJSFDHSEMINAR REPORT PPT.pptxSDJADADGGDYSADGSGJSFDH
SEMINAR REPORT PPT.pptxSDJADADGGDYSADGSGJSFDH
123candemet2003
 
UPSC+BAProgramme Syllabus for students who want to pursue UPSC coaching from ...
UPSC+BAProgramme Syllabus for students who want to pursue UPSC coaching from ...UPSC+BAProgramme Syllabus for students who want to pursue UPSC coaching from ...
UPSC+BAProgramme Syllabus for students who want to pursue UPSC coaching from ...
Tushar kumar
 
material-17438335 to the third floor in 47-gsms.pptx
material-17438335 to the third floor in 47-gsms.pptxmaterial-17438335 to the third floor in 47-gsms.pptx
material-17438335 to the third floor in 47-gsms.pptx
JyotirmayNirankari
 
Pixida, Simplifying Success in Germany, the USA, Brazil, China and Portugal
Pixida, Simplifying Success in Germany, the USA, Brazil, China and PortugalPixida, Simplifying Success in Germany, the USA, Brazil, China and Portugal
Pixida, Simplifying Success in Germany, the USA, Brazil, China and Portugal
TechMeetups
 
CHAPTER 7 - Foreign Direct Investment.pptx
CHAPTER 7 - Foreign Direct Investment.pptxCHAPTER 7 - Foreign Direct Investment.pptx
CHAPTER 7 - Foreign Direct Investment.pptx
72200337
 
Stakeholders Management GT 11052021.cleaned.pptx
Stakeholders Management GT 11052021.cleaned.pptxStakeholders Management GT 11052021.cleaned.pptx
Stakeholders Management GT 11052021.cleaned.pptx
SaranshJeena
 
RCM-billing in medical coding0000 1.pptx
RCM-billing in medical coding0000 1.pptxRCM-billing in medical coding0000 1.pptx
RCM-billing in medical coding0000 1.pptx
liajohn0808
 
For ssrvm school Admission Campaign.pptx
For ssrvm school Admission Campaign.pptxFor ssrvm school Admission Campaign.pptx
For ssrvm school Admission Campaign.pptx
ArunTYltp
 
Huckel_MO_Theory_Colorful_Presentation (1).pptx
Huckel_MO_Theory_Colorful_Presentation (1).pptxHuckel_MO_Theory_Colorful_Presentation (1).pptx
Huckel_MO_Theory_Colorful_Presentation (1).pptx
study2022bsc
 
When Is the Best Time to Use Job Finding Apps?
When Is the Best Time to Use Job Finding Apps?When Is the Best Time to Use Job Finding Apps?
When Is the Best Time to Use Job Finding Apps?
SnapJob
 
Traditional Medicine aDRTYSRTYSRTnd HIV.ppt
Traditional Medicine aDRTYSRTYSRTnd HIV.pptTraditional Medicine aDRTYSRTYSRTnd HIV.ppt
Traditional Medicine aDRTYSRTYSRTnd HIV.ppt
XolaniRadebe7
 
English For Carrier, It enhance your Communication Skills
English For Carrier, It enhance your Communication SkillsEnglish For Carrier, It enhance your Communication Skills
English For Carrier, It enhance your Communication Skills
ankitbeherabiru
 
Latest Questions & Answers | Prepare for H3C GB0-961 Certification
Latest Questions & Answers | Prepare for H3C GB0-961 CertificationLatest Questions & Answers | Prepare for H3C GB0-961 Certification
Latest Questions & Answers | Prepare for H3C GB0-961 Certification
NWEXAM
 
RightShip-Inspection-Maritime-Safety-Simplified.pptx
RightShip-Inspection-Maritime-Safety-Simplified.pptxRightShip-Inspection-Maritime-Safety-Simplified.pptx
RightShip-Inspection-Maritime-Safety-Simplified.pptx
ultronmeg
 
Green Colorful House Simple Illustration Presentation.pdf.pdf
Green Colorful House Simple Illustration Presentation.pdf.pdfGreen Colorful House Simple Illustration Presentation.pdf.pdf
Green Colorful House Simple Illustration Presentation.pdf.pdf
RhyzCharmSolis
 
GENERAL INFORMATION for the most beautiful
GENERAL INFORMATION for the most beautifulGENERAL INFORMATION for the most beautiful
GENERAL INFORMATION for the most beautiful
12213013
 
LCL216_2024-2_WEEKS 4 & 5_IF CLAUSES (1).pdf
LCL216_2024-2_WEEKS 4 & 5_IF CLAUSES (1).pdfLCL216_2024-2_WEEKS 4 & 5_IF CLAUSES (1).pdf
LCL216_2024-2_WEEKS 4 & 5_IF CLAUSES (1).pdf
rafaelsago2015
 
HCollege ppt guidance and counselin.pptx
HCollege ppt guidance and counselin.pptxHCollege ppt guidance and counselin.pptx
HCollege ppt guidance and counselin.pptx
liajohn0808
 
COMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELS
COMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELS
COMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELS
johncena77770789
 
remakingyourselfpresentation-250430095415-6476ade1.pptx
remakingyourselfpresentation-250430095415-6476ade1.pptxremakingyourselfpresentation-250430095415-6476ade1.pptx
remakingyourselfpresentation-250430095415-6476ade1.pptx
lakhmanpindariya9176
 
SEMINAR REPORT PPT.pptxSDJADADGGDYSADGSGJSFDH
SEMINAR REPORT PPT.pptxSDJADADGGDYSADGSGJSFDHSEMINAR REPORT PPT.pptxSDJADADGGDYSADGSGJSFDH
SEMINAR REPORT PPT.pptxSDJADADGGDYSADGSGJSFDH
123candemet2003
 
UPSC+BAProgramme Syllabus for students who want to pursue UPSC coaching from ...
UPSC+BAProgramme Syllabus for students who want to pursue UPSC coaching from ...UPSC+BAProgramme Syllabus for students who want to pursue UPSC coaching from ...
UPSC+BAProgramme Syllabus for students who want to pursue UPSC coaching from ...
Tushar kumar
 
material-17438335 to the third floor in 47-gsms.pptx
material-17438335 to the third floor in 47-gsms.pptxmaterial-17438335 to the third floor in 47-gsms.pptx
material-17438335 to the third floor in 47-gsms.pptx
JyotirmayNirankari
 
Pixida, Simplifying Success in Germany, the USA, Brazil, China and Portugal
Pixida, Simplifying Success in Germany, the USA, Brazil, China and PortugalPixida, Simplifying Success in Germany, the USA, Brazil, China and Portugal
Pixida, Simplifying Success in Germany, the USA, Brazil, China and Portugal
TechMeetups
 
CHAPTER 7 - Foreign Direct Investment.pptx
CHAPTER 7 - Foreign Direct Investment.pptxCHAPTER 7 - Foreign Direct Investment.pptx
CHAPTER 7 - Foreign Direct Investment.pptx
72200337
 
Stakeholders Management GT 11052021.cleaned.pptx
Stakeholders Management GT 11052021.cleaned.pptxStakeholders Management GT 11052021.cleaned.pptx
Stakeholders Management GT 11052021.cleaned.pptx
SaranshJeena
 
RCM-billing in medical coding0000 1.pptx
RCM-billing in medical coding0000 1.pptxRCM-billing in medical coding0000 1.pptx
RCM-billing in medical coding0000 1.pptx
liajohn0808
 
For ssrvm school Admission Campaign.pptx
For ssrvm school Admission Campaign.pptxFor ssrvm school Admission Campaign.pptx
For ssrvm school Admission Campaign.pptx
ArunTYltp
 
Huckel_MO_Theory_Colorful_Presentation (1).pptx
Huckel_MO_Theory_Colorful_Presentation (1).pptxHuckel_MO_Theory_Colorful_Presentation (1).pptx
Huckel_MO_Theory_Colorful_Presentation (1).pptx
study2022bsc
 
When Is the Best Time to Use Job Finding Apps?
When Is the Best Time to Use Job Finding Apps?When Is the Best Time to Use Job Finding Apps?
When Is the Best Time to Use Job Finding Apps?
SnapJob
 
Traditional Medicine aDRTYSRTYSRTnd HIV.ppt
Traditional Medicine aDRTYSRTYSRTnd HIV.pptTraditional Medicine aDRTYSRTYSRTnd HIV.ppt
Traditional Medicine aDRTYSRTYSRTnd HIV.ppt
XolaniRadebe7
 
English For Carrier, It enhance your Communication Skills
English For Carrier, It enhance your Communication SkillsEnglish For Carrier, It enhance your Communication Skills
English For Carrier, It enhance your Communication Skills
ankitbeherabiru
 
Latest Questions & Answers | Prepare for H3C GB0-961 Certification
Latest Questions & Answers | Prepare for H3C GB0-961 CertificationLatest Questions & Answers | Prepare for H3C GB0-961 Certification
Latest Questions & Answers | Prepare for H3C GB0-961 Certification
NWEXAM
 
RightShip-Inspection-Maritime-Safety-Simplified.pptx
RightShip-Inspection-Maritime-Safety-Simplified.pptxRightShip-Inspection-Maritime-Safety-Simplified.pptx
RightShip-Inspection-Maritime-Safety-Simplified.pptx
ultronmeg
 
Green Colorful House Simple Illustration Presentation.pdf.pdf
Green Colorful House Simple Illustration Presentation.pdf.pdfGreen Colorful House Simple Illustration Presentation.pdf.pdf
Green Colorful House Simple Illustration Presentation.pdf.pdf
RhyzCharmSolis
 
GENERAL INFORMATION for the most beautiful
GENERAL INFORMATION for the most beautifulGENERAL INFORMATION for the most beautiful
GENERAL INFORMATION for the most beautiful
12213013
 
LCL216_2024-2_WEEKS 4 & 5_IF CLAUSES (1).pdf
LCL216_2024-2_WEEKS 4 & 5_IF CLAUSES (1).pdfLCL216_2024-2_WEEKS 4 & 5_IF CLAUSES (1).pdf
LCL216_2024-2_WEEKS 4 & 5_IF CLAUSES (1).pdf
rafaelsago2015
 

Windows File Systems

  • 2. Exploring Microsoft File Structures • In Microsoft file structures, sectors are grouped to form clusters • Storage allocation units of one or more sectors(blocks) • Clusters range from 512 bytes up to 32,000 bytes each • Combining sectors minimizes the overhead of writing or reading files to a disk • Clusters are numbered sequentially starting at 0 in NTFS and 2 in FAT • First sector of all disks contains a system area, the boot record, and a file structure database • OS assigns these cluster numbers, called logical addresses • Sector numbers are called physical addresses • Clusters and their addresses are specific to a logical disk drive, which is a disk partition
  • 3. Disk Partitions • A partition is a logical drive • Windows OSs can have three primary partitions followed by an extended partition that can contain one or more logical drives • Question: How many partitions on a Linux drive? • Hidden partitions or voids are known as Partition gap • Unused space between partitions
  • 4. Disk Partitions • The partition table is in the Master Boot Record (MBR) • Located at sector 0 of the disk drive • MBR stores information about partitions on a disk and their locations, size, and other important items • In a hexadecimal editor, such as HxD, you can find the first partition at offset 0x1BE • The file system’s hexadecimal code is offset 3 bytes from 0x1BE for the first partition
  • 5. Examining FAT Disks • File AllocationTable (FAT) • File structure database that Microsoft originally designed for floppy disks • FAT database is typically written to a disk’s outermost track and contains: • Filenames, directory names, date and time stamps, the starting cluster number, and file attributes • Three current FAT versions • FAT16, FAT32, and exFAT (Xbox systems) • Cluster sizes vary according to the hard disk size and file system
  • 6. Examining FAT Disks • Microsoft OSs allocate disk space for files by clusters • Results in drive slack • Unused space in a cluster between the end of an active file and the end of the cluster • Drive slack includes: • RAM slack – Space between end of file and sector • File slack – Space between end of file and end of cluster • An unintentional side effect of FAT16 having large clusters was that it reduced fragmentation • As cluster size increased
  • 7. Examining FAT Disks • When you run out of room for an allocated cluster • OS allocates another cluster for your file, which creates more slack space on the disk • As files grow and require more disk space, assigned clusters are chained together • The chain can be broken or fragmented • When the OS stores data in a FAT file system, it assigns a starting cluster position to a file • Data for the file is written to the first sector of the first assigned cluster • When this first assigned cluster is filled and runs out of room • FAT assigns the next available cluster to the file • If the next available cluster isn’t contiguous to the current cluster • File becomes fragmented
  • 8. Deleting FAT Files • In Microsoft OSs, when a file is deleted • Directory entry is marked as a deleted file • With the HEX E5 character replacing the first letter of the filename • FAT chain for that file is set to 0 • Data in the file remains on the disk drive • Area of the disk where the deleted file resides becomes unallocated disk space • Available to receive new data from newly created files or other files needing more space
  • 9. Examining NTFS Disks • NT File System (NTFS) • Improvements over FAT file systems • NTFS provides more information about a file • NTFS gives more control over files and folders • NTFS was Microsoft’s move toward a journaling file system • It records a transaction before the system carries it out • NTFS results in much less file slack space • Clusters are smaller for smaller disk drives • NTFS also uses Unicode • An international data format (Encoding Scheme) • On an NTFS disk • First data set is the Partition Boot Sector • Next is Master FileTable (MFT)
  • 10. NTFS System Files • MFT contains information about all files on the disk • Including the system files the OS uses • In the MFT, the first 15 records are reserved for system files • Records in the MFT are called metadata
  • 11. MFT and File Attributes • In the NTFS MFT • Begins after the Partition table • All files and folders are stored in separate records of 1024 bytes each • Each record contains file or folder information • This information is divided into record fields containing metadata • A record field is referred to as an attribute ID • File or folder information is typically stored in one of two ways in an MFT record: • Resident - Files less than or equal to 512 bytes are stored inside the MFT • Nonresident - Files larger than 512 bytes are stored outside the MFT • Question: What address is stored for file location if it is nonresident? • Each MFT record starts with a header identifying it as a resident or nonresident attribute • First 42 bytes contains the File Record Header (file or dir, in use or deleted, allocated size
  • 13. MFT $SIA • All have a $STANDARD_INFORMATION_ATTRIBUTE • 72 Bytes Contains the 64bit timestamps for MAC • Written in UTC • Times do not always match the activity • NTFS delays writing the last accessed time to improve disk performance • Values stored in the $SIA can be an Indicator of Compromise (IOC) • Question:Why would the $SIA values indicate a compromise?
  • 14. MFT $FNA • All have a $FILE_NAME_ATTRIBUTE • 66 Bytes of metadata plus the filename • Contains a reference to the parent directory
  • 15. NTFS Data Streams • Each file can contain multiple streams • Similar to a DVD with multiple language tracks • Used to store additional file attributes • Not displayed inWindows Explorer • Show as attribute 0x80 in
  • 16. Deleting NTFS Files • When a file is deleted inWindows NT and later • The OS renames it and moves it to the Recycle Bin • Can use the Del (delete) MS-DOS command • Eliminates the file from the MFT listing in the same way FAT does
  • 17. Understanding Microsoft Startup Tasks • Learn what files are accessed when Windows starts • This information helps you determine when a suspect’s computer was last accessed • Important with computers that might have been used after an incident was reported • When you start aWindows XP NTFS workstation, several files are accessed immediately • The last access date and time stamp for the files change to the current date and time • Destroys any potential evidence • Startup Files for Windows: • The Ntldr program inWindows XP used to load the OS has been replaced with these three boot utilities: • Bootmgr.exe • Winload.exe • Winresume.exe
  • 18. Summary • The Master Boot Record (MBR) stores information about partitions on a disk • When files are deleted in a FAT file system, the Greek letter sigma (0x05) is inserted in the first character of the filename in the directory • NTFS is more versatile because it uses the Master FileTable (MFT) to track file information • Records in the MFT contain attribute IDs that store metadata about files • Analysis of MFT can provide indicator of compromise (IOC) • File slack, RAM slack, and drive slack are areas in which valuable information can reside on a drive

Editor's Notes

  • #12: Question – cluster or logical address Manipulation of data in the MFT is an anit-forensic activity (used for hiding data and access)