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
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

More Related Content

What's hot

File system
File systemFile system
File system
Harleen Johal
 
FAT vs NTFS
FAT vs NTFSFAT vs NTFS
FAT vs NTFS
Arshad Qureshi
 
File system.
File system.File system.
File system.
elyza12
 
Windows File Systems
Windows File SystemsWindows File Systems
Windows File Systems
primeteacher32
 
Disk management
Disk managementDisk management
Disk management
Agnas Jasmine
 
Computer Forensics Working with Windows and DOS Systems
Computer Forensics Working with Windows and DOS SystemsComputer Forensics Working with Windows and DOS Systems
Computer Forensics Working with Windows and DOS Systems
Jyothishmathi Institute of Technology and Science Karimnagar
 
Initial Response and Forensic Duplication
Initial Response and Forensic Duplication Initial Response and Forensic Duplication
Initial Response and Forensic Duplication
Jyothishmathi Institute of Technology and Science Karimnagar
 
Understanding the Windows Server Administration Fundamentals (Part-1)
Understanding the Windows Server Administration Fundamentals (Part-1)Understanding the Windows Server Administration Fundamentals (Part-1)
Understanding the Windows Server Administration Fundamentals (Part-1)
Tuan Yang
 
Disk and File System Management in Linux
Disk and File System Management in LinuxDisk and File System Management in Linux
Disk and File System Management in Linux
Henry Osborne
 
Disk partitioning
Disk partitioningDisk partitioning
Disk partitioning
AnuragNarula5
 
Backup and recovery
Backup and recoveryBackup and recovery
Backup and recovery
dhawal mehta
 
Forensics Analysis and Validation
Forensics Analysis and Validation  Forensics Analysis and Validation
Chapter06 Managing Disks And Data Storage
Chapter06      Managing  Disks And  Data  StorageChapter06      Managing  Disks And  Data  Storage
Chapter06 Managing Disks And Data StorageRaja Waseem Akhtar
 
comparing windows and linux ppt
comparing windows and linux pptcomparing windows and linux ppt
comparing windows and linux ppt
Shivalik college of engineering
 
Nfs
NfsNfs
Ntfs forensics
Ntfs forensicsNtfs forensics
Principles of operating system
Principles of operating systemPrinciples of operating system
Principles of operating system
Anil Dharmapuri
 
Backup And Recovery
Backup And RecoveryBackup And Recovery
Backup And Recovery
Wynthorpe
 
Course 102: Lecture 14: Users and Permissions
Course 102: Lecture 14: Users and PermissionsCourse 102: Lecture 14: Users and Permissions
Course 102: Lecture 14: Users and Permissions
Ahmed El-Arabawy
 
Forensics of a Windows System
Forensics of a Windows SystemForensics of a Windows System
Forensics of a Windows SystemConferencias FIST
 

What's hot (20)

File system
File systemFile system
File system
 
FAT vs NTFS
FAT vs NTFSFAT vs NTFS
FAT vs NTFS
 
File system.
File system.File system.
File system.
 
Windows File Systems
Windows File SystemsWindows File Systems
Windows File Systems
 
Disk management
Disk managementDisk management
Disk management
 
Computer Forensics Working with Windows and DOS Systems
Computer Forensics Working with Windows and DOS SystemsComputer Forensics Working with Windows and DOS Systems
Computer Forensics Working with Windows and DOS Systems
 
Initial Response and Forensic Duplication
Initial Response and Forensic Duplication Initial Response and Forensic Duplication
Initial Response and Forensic Duplication
 
Understanding the Windows Server Administration Fundamentals (Part-1)
Understanding the Windows Server Administration Fundamentals (Part-1)Understanding the Windows Server Administration Fundamentals (Part-1)
Understanding the Windows Server Administration Fundamentals (Part-1)
 
Disk and File System Management in Linux
Disk and File System Management in LinuxDisk and File System Management in Linux
Disk and File System Management in Linux
 
Disk partitioning
Disk partitioningDisk partitioning
Disk partitioning
 
Backup and recovery
Backup and recoveryBackup and recovery
Backup and recovery
 
Forensics Analysis and Validation
Forensics Analysis and Validation  Forensics Analysis and Validation
Forensics Analysis and Validation
 
Chapter06 Managing Disks And Data Storage
Chapter06      Managing  Disks And  Data  StorageChapter06      Managing  Disks And  Data  Storage
Chapter06 Managing Disks And Data Storage
 
comparing windows and linux ppt
comparing windows and linux pptcomparing windows and linux ppt
comparing windows and linux ppt
 
Nfs
NfsNfs
Nfs
 
Ntfs forensics
Ntfs forensicsNtfs forensics
Ntfs forensics
 
Principles of operating system
Principles of operating systemPrinciples of operating system
Principles of operating system
 
Backup And Recovery
Backup And RecoveryBackup And Recovery
Backup And Recovery
 
Course 102: Lecture 14: Users and Permissions
Course 102: Lecture 14: Users and PermissionsCourse 102: Lecture 14: Users and Permissions
Course 102: Lecture 14: Users and Permissions
 
Forensics of a Windows System
Forensics of a Windows SystemForensics of a Windows System
Forensics of a Windows System
 

Viewers also liked

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 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
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 presdanmraz
 

Viewers also liked (20)

VSC Presentation
VSC PresentationVSC Presentation
VSC Presentation
 
Windows Registry
Windows RegistryWindows Registry
Windows Registry
 
Timelines
TimelinesTimelines
Timelines
 
Email Forensics
Email ForensicsEmail Forensics
Email Forensics
 
Virtual Machine Forensics
Virtual Machine ForensicsVirtual Machine Forensics
Virtual Machine Forensics
 
System Event Logs
System Event LogsSystem Event Logs
System Event Logs
 
Processing Crimes and Incident Scenes
Processing Crimes and Incident ScenesProcessing Crimes and Incident Scenes
Processing Crimes and Incident Scenes
 
Email Analysis
Email AnalysisEmail Analysis
Email Analysis
 
Manajemen File
Manajemen FileManajemen File
Manajemen File
 
Manajemen file and user pada linux
Manajemen file and user pada linuxManajemen file and user pada linux
Manajemen file and user pada linux
 
Manajemen file
Manajemen fileManajemen file
Manajemen file
 
Data Acquisition
Data AcquisitionData Acquisition
Data Acquisition
 
Instalasi windows 10
Instalasi windows 10Instalasi windows 10
Instalasi windows 10
 
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
 
Seminar 1
Seminar 1Seminar 1
Seminar 1
 
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
 
Advanced SEO - BlogPaws 2015
Advanced SEO - BlogPaws 2015Advanced SEO - BlogPaws 2015
Advanced SEO - BlogPaws 2015
 
Panda, Penguin, Hummingbird
Panda, Penguin, HummingbirdPanda, Penguin, Hummingbird
Panda, Penguin, Hummingbird
 
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...
 
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
 

Similar to Windows File Systems

Windows Forensics- Introduction and Analysis
Windows Forensics- Introduction and AnalysisWindows Forensics- Introduction and Analysis
Windows Forensics- Introduction and Analysis
Don Caeiro
 
Os
OsOs
9781111306366 ppt ch4
9781111306366 ppt ch49781111306366 ppt ch4
9781111306366 ppt ch4
Dr. Ahmed Al Zaidy
 
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 ntfsLucky Ali
 
Ext filesystem4
Ext filesystem4Ext filesystem4
Ext filesystem4
Neha Kulkarni
 
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
 
Fat File Systems
Fat File SystemsFat File Systems
Fat File Systems
ArthyR3
 
Btrfs by Chris Mason
Btrfs by Chris MasonBtrfs by Chris Mason
Btrfs by Chris MasonTerry Wang
 
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 userHarman 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 UserHarman Gahir
 
Course 102: Lecture 27: FileSystems in Linux (Part 2)
Course 102: Lecture 27: FileSystems in Linux (Part 2)Course 102: Lecture 27: FileSystems in Linux (Part 2)
Course 102: Lecture 27: FileSystems in Linux (Part 2)
Ahmed El-Arabawy
 
File System and File allocation tables
File System and File allocation tablesFile System and File allocation tables
File System and File allocation tables
shashikant pabari
 
CNIT 121: 12 Investigating Windows Systems (Part 1 of 3)
CNIT 121: 12 Investigating Windows Systems (Part 1 of 3)CNIT 121: 12 Investigating Windows Systems (Part 1 of 3)
CNIT 121: 12 Investigating Windows Systems (Part 1 of 3)
Sam Bowne
 
Introduction to filesystems and computer forensics
Introduction to filesystems and computer forensicsIntroduction to filesystems and computer forensics
Introduction to filesystems and computer forensics
Mayank Chaudhari
 

Similar to Windows File Systems (20)

Windows Forensics- Introduction and Analysis
Windows Forensics- Introduction and AnalysisWindows Forensics- Introduction and Analysis
Windows Forensics- Introduction and Analysis
 
Os
OsOs
Os
 
9781111306366 ppt ch4
9781111306366 ppt ch49781111306366 ppt ch4
9781111306366 ppt ch4
 
NTFS Forensics.pptx
NTFS Forensics.pptxNTFS Forensics.pptx
NTFS Forensics.pptx
 
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)
 
Fat and ntfs
Fat and ntfsFat and ntfs
Fat and ntfs
 
Windowsforensics
WindowsforensicsWindowsforensics
Windowsforensics
 
Ext filesystem4
Ext filesystem4Ext filesystem4
Ext filesystem4
 
chapter10 - File structures.pdf
chapter10 - File structures.pdfchapter10 - File structures.pdf
chapter10 - File structures.pdf
 
NTFS and Inode
NTFS and InodeNTFS and Inode
NTFS and Inode
 
Fat File Systems
Fat File SystemsFat File Systems
Fat File Systems
 
Btrfs by Chris Mason
Btrfs by Chris MasonBtrfs by Chris Mason
Btrfs by Chris Mason
 
File system
File systemFile system
File system
 
File system
File systemFile system
File system
 
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
 
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
 
Course 102: Lecture 27: FileSystems in Linux (Part 2)
Course 102: Lecture 27: FileSystems in Linux (Part 2)Course 102: Lecture 27: FileSystems in Linux (Part 2)
Course 102: Lecture 27: FileSystems in Linux (Part 2)
 
File System and File allocation tables
File System and File allocation tablesFile System and File allocation tables
File System and File allocation tables
 
CNIT 121: 12 Investigating Windows Systems (Part 1 of 3)
CNIT 121: 12 Investigating Windows Systems (Part 1 of 3)CNIT 121: 12 Investigating Windows Systems (Part 1 of 3)
CNIT 121: 12 Investigating Windows Systems (Part 1 of 3)
 
Introduction to filesystems and computer forensics
Introduction to filesystems and computer forensicsIntroduction to filesystems and computer forensics
Introduction to filesystems and computer forensics
 

More from primeteacher32

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

More from primeteacher32 (20)

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

Recently uploaded

欧洲杯投注app-欧洲杯投注app推荐-欧洲杯投注app| 立即访问【ac123.net】
欧洲杯投注app-欧洲杯投注app推荐-欧洲杯投注app| 立即访问【ac123.net】欧洲杯投注app-欧洲杯投注app推荐-欧洲杯投注app| 立即访问【ac123.net】
欧洲杯投注app-欧洲杯投注app推荐-欧洲杯投注app| 立即访问【ac123.net】
foismail170
 
Transferable Skills - Your Roadmap - Part 1 and 2 - Dirk Spencer Senior Recru...
Transferable Skills - Your Roadmap - Part 1 and 2 - Dirk Spencer Senior Recru...Transferable Skills - Your Roadmap - Part 1 and 2 - Dirk Spencer Senior Recru...
Transferable Skills - Your Roadmap - Part 1 and 2 - Dirk Spencer Senior Recru...
Dirk Spencer Corporate Recruiter LION
 
DOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdf
DOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdfDOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdf
DOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdf
Pushpendra Kumar
 
han han widi kembar tapi beda han han dan widi kembar tapi sama
han han widi kembar tapi beda han han dan widi kembar tapi samahan han widi kembar tapi beda han han dan widi kembar tapi sama
han han widi kembar tapi beda han han dan widi kembar tapi sama
IrlanMalik
 
15385-LESSON PLAN- 7TH - SS-Insian Constitution an Introduction.pdf
15385-LESSON PLAN- 7TH - SS-Insian Constitution an Introduction.pdf15385-LESSON PLAN- 7TH - SS-Insian Constitution an Introduction.pdf
15385-LESSON PLAN- 7TH - SS-Insian Constitution an Introduction.pdf
gobogo3542
 
皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】
皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】
皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】
larisashrestha558
 
135. Reviewer Certificate in Journal of Engineering
135. Reviewer Certificate in Journal of Engineering135. Reviewer Certificate in Journal of Engineering
135. Reviewer Certificate in Journal of Engineering
Manu Mitra
 
Full Sail_Morales_Michael_SMM_2024-05.pptx
Full Sail_Morales_Michael_SMM_2024-05.pptxFull Sail_Morales_Michael_SMM_2024-05.pptx
Full Sail_Morales_Michael_SMM_2024-05.pptx
mmorales2173
 
132. Acta Scientific Pharmaceutical Sciences
132. Acta Scientific Pharmaceutical Sciences132. Acta Scientific Pharmaceutical Sciences
132. Acta Scientific Pharmaceutical Sciences
Manu Mitra
 
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
foismail170
 
131. Reviewer Certificate in BP International
131. Reviewer Certificate in BP International131. Reviewer Certificate in BP International
131. Reviewer Certificate in BP International
Manu Mitra
 
How to Master LinkedIn for Career and Business
How to Master LinkedIn for Career and BusinessHow to Master LinkedIn for Career and Business
How to Master LinkedIn for Career and Business
ideatoipo
 
太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】
太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】
太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】
foismail170
 
How to create an effective K-POC tutorial
How to create an effective K-POC tutorialHow to create an effective K-POC tutorial
How to create an effective K-POC tutorial
vencislavkaaa
 
Interactive Dictionary AIDS-B.pptx aaaaaaaaaaaaaaaaaaaaaaaaaa
Interactive Dictionary AIDS-B.pptx aaaaaaaaaaaaaaaaaaaaaaaaaaInteractive Dictionary AIDS-B.pptx aaaaaaaaaaaaaaaaaaaaaaaaaa
Interactive Dictionary AIDS-B.pptx aaaaaaaaaaaaaaaaaaaaaaaaaa
23211a7274
 
My Story of Getting into Tech By Gertrude Chilufya Westrin
My Story of Getting into Tech By Gertrude Chilufya WestrinMy Story of Getting into Tech By Gertrude Chilufya Westrin
My Story of Getting into Tech By Gertrude Chilufya Westrin
AlinaseFaith
 
Chapters 3 Contracts.pptx Chapters 3 Contracts.pptx
Chapters 3  Contracts.pptx Chapters 3  Contracts.pptxChapters 3  Contracts.pptx Chapters 3  Contracts.pptx
Chapters 3 Contracts.pptx Chapters 3 Contracts.pptx
Sheldon Byron
 
Personal Brand Exploration Comedy Jxnelle.
Personal Brand Exploration Comedy Jxnelle.Personal Brand Exploration Comedy Jxnelle.
Personal Brand Exploration Comedy Jxnelle.
alexthomas971
 
134. Reviewer Certificate in Computer Science
134. Reviewer Certificate in Computer Science134. Reviewer Certificate in Computer Science
134. Reviewer Certificate in Computer Science
Manu Mitra
 
Operating system. short answes and Interview questions .pdf
Operating system. short answes and Interview questions .pdfOperating system. short answes and Interview questions .pdf
Operating system. short answes and Interview questions .pdf
harikrishnahari6276
 

Recently uploaded (20)

欧洲杯投注app-欧洲杯投注app推荐-欧洲杯投注app| 立即访问【ac123.net】
欧洲杯投注app-欧洲杯投注app推荐-欧洲杯投注app| 立即访问【ac123.net】欧洲杯投注app-欧洲杯投注app推荐-欧洲杯投注app| 立即访问【ac123.net】
欧洲杯投注app-欧洲杯投注app推荐-欧洲杯投注app| 立即访问【ac123.net】
 
Transferable Skills - Your Roadmap - Part 1 and 2 - Dirk Spencer Senior Recru...
Transferable Skills - Your Roadmap - Part 1 and 2 - Dirk Spencer Senior Recru...Transferable Skills - Your Roadmap - Part 1 and 2 - Dirk Spencer Senior Recru...
Transferable Skills - Your Roadmap - Part 1 and 2 - Dirk Spencer Senior Recru...
 
DOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdf
DOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdfDOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdf
DOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdf
 
han han widi kembar tapi beda han han dan widi kembar tapi sama
han han widi kembar tapi beda han han dan widi kembar tapi samahan han widi kembar tapi beda han han dan widi kembar tapi sama
han han widi kembar tapi beda han han dan widi kembar tapi sama
 
15385-LESSON PLAN- 7TH - SS-Insian Constitution an Introduction.pdf
15385-LESSON PLAN- 7TH - SS-Insian Constitution an Introduction.pdf15385-LESSON PLAN- 7TH - SS-Insian Constitution an Introduction.pdf
15385-LESSON PLAN- 7TH - SS-Insian Constitution an Introduction.pdf
 
皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】
皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】
皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】
 
135. Reviewer Certificate in Journal of Engineering
135. Reviewer Certificate in Journal of Engineering135. Reviewer Certificate in Journal of Engineering
135. Reviewer Certificate in Journal of Engineering
 
Full Sail_Morales_Michael_SMM_2024-05.pptx
Full Sail_Morales_Michael_SMM_2024-05.pptxFull Sail_Morales_Michael_SMM_2024-05.pptx
Full Sail_Morales_Michael_SMM_2024-05.pptx
 
132. Acta Scientific Pharmaceutical Sciences
132. Acta Scientific Pharmaceutical Sciences132. Acta Scientific Pharmaceutical Sciences
132. Acta Scientific Pharmaceutical Sciences
 
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
 
131. Reviewer Certificate in BP International
131. Reviewer Certificate in BP International131. Reviewer Certificate in BP International
131. Reviewer Certificate in BP International
 
How to Master LinkedIn for Career and Business
How to Master LinkedIn for Career and BusinessHow to Master LinkedIn for Career and Business
How to Master LinkedIn for Career and Business
 
太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】
太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】
太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】
 
How to create an effective K-POC tutorial
How to create an effective K-POC tutorialHow to create an effective K-POC tutorial
How to create an effective K-POC tutorial
 
Interactive Dictionary AIDS-B.pptx aaaaaaaaaaaaaaaaaaaaaaaaaa
Interactive Dictionary AIDS-B.pptx aaaaaaaaaaaaaaaaaaaaaaaaaaInteractive Dictionary AIDS-B.pptx aaaaaaaaaaaaaaaaaaaaaaaaaa
Interactive Dictionary AIDS-B.pptx aaaaaaaaaaaaaaaaaaaaaaaaaa
 
My Story of Getting into Tech By Gertrude Chilufya Westrin
My Story of Getting into Tech By Gertrude Chilufya WestrinMy Story of Getting into Tech By Gertrude Chilufya Westrin
My Story of Getting into Tech By Gertrude Chilufya Westrin
 
Chapters 3 Contracts.pptx Chapters 3 Contracts.pptx
Chapters 3  Contracts.pptx Chapters 3  Contracts.pptxChapters 3  Contracts.pptx Chapters 3  Contracts.pptx
Chapters 3 Contracts.pptx Chapters 3 Contracts.pptx
 
Personal Brand Exploration Comedy Jxnelle.
Personal Brand Exploration Comedy Jxnelle.Personal Brand Exploration Comedy Jxnelle.
Personal Brand Exploration Comedy Jxnelle.
 
134. Reviewer Certificate in Computer Science
134. Reviewer Certificate in Computer Science134. Reviewer Certificate in Computer Science
134. Reviewer Certificate in Computer Science
 
Operating system. short answes and Interview questions .pdf
Operating system. short answes and Interview questions .pdfOperating system. short answes and Interview questions .pdf
Operating system. short answes and Interview questions .pdf
 

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
  • 12.
  • 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

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