SlideShare una empresa de Scribd logo
1 de 18
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

Más contenido relacionado

La actualidad más candente

File System and File allocation tables
File System and File allocation tablesFile System and File allocation tables
File System and File allocation tablesshashikant pabari
 
Storage Management in Linux OS.ppt
Storage Management in Linux OS.pptStorage Management in Linux OS.ppt
Storage Management in Linux OS.pptRakesh Kadu
 
NTFS file system
NTFS file systemNTFS file system
NTFS file systemRavi Yasas
 
Ntfs and computer forensics
Ntfs and computer forensicsNtfs and computer forensics
Ntfs and computer forensicsGaurav Ragtah
 
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 SystemMeghaj Mallick
 
File system in operating system e learning
File system in operating system e learningFile system in operating system e learning
File system in operating system e learningLavanya Sharma
 
data hiding techniques.ppt
data hiding techniques.pptdata hiding techniques.ppt
data hiding techniques.pptMuzamil Amin
 
File system security
File system securityFile system security
File system securityAmmAr mobark
 
Memory Management in OS
Memory Management in OSMemory Management in OS
Memory Management in OSvampugani
 
file system in operating system
file system in operating systemfile system in operating system
file system in operating systemtittuajay
 
File Protection in Operating System
File Protection in Operating SystemFile Protection in Operating System
File Protection in Operating SystemMeghaj Mallick
 
Distributed file system
Distributed file systemDistributed file system
Distributed file systemAnamika Singh
 
Operating Systems: Device Management
Operating Systems: Device ManagementOperating Systems: Device Management
Operating Systems: Device ManagementDamian T. Gordon
 

La actualidad más candente (20)

FAT vs NTFS
FAT vs NTFSFAT vs NTFS
FAT vs NTFS
 
File System and File allocation tables
File System and File allocation tablesFile System and File allocation tables
File System and File allocation tables
 
NTFS vs FAT
NTFS vs FATNTFS vs FAT
NTFS vs FAT
 
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
 
Storage Management in Linux OS.ppt
Storage Management in Linux OS.pptStorage Management in Linux OS.ppt
Storage Management in Linux OS.ppt
 
NTFS file system
NTFS file systemNTFS file system
NTFS file system
 
Ntfs and computer forensics
Ntfs and computer forensicsNtfs and computer forensics
Ntfs and computer forensics
 
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
 
File system in operating system e learning
File system in operating system e learningFile system in operating system e learning
File system in operating system e learning
 
data hiding techniques.ppt
data hiding techniques.pptdata hiding techniques.ppt
data hiding techniques.ppt
 
File system security
File system securityFile system security
File system security
 
Memory Management in OS
Memory Management in OSMemory Management in OS
Memory Management in OS
 
file system in operating system
file system in operating systemfile system in operating system
file system in operating system
 
RAID LEVELS
RAID LEVELSRAID LEVELS
RAID LEVELS
 
File Protection in Operating System
File Protection in Operating SystemFile Protection in Operating System
File Protection in Operating System
 
Distributed Operating System_1
Distributed Operating System_1Distributed Operating System_1
Distributed Operating System_1
 
Ntfs forensics
Ntfs forensicsNtfs forensics
Ntfs forensics
 
Distributed file system
Distributed file systemDistributed file system
Distributed file system
 
Operating Systems: Device Management
Operating Systems: Device ManagementOperating Systems: Device Management
Operating Systems: Device Management
 
File System FAT And NTFS
File System FAT And NTFSFile System FAT And NTFS
File System FAT And NTFS
 

Destacado

Destacado (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
 
File system
File systemFile system
File system
 
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...
 

Similar a Windows File Systems

Windows Forensics- Introduction and Analysis
Windows Forensics- Introduction and AnalysisWindows Forensics- Introduction and Analysis
Windows Forensics- Introduction and AnalysisDon Caeiro
 
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
 
chapter10 - File structures.pdf
chapter10 - File structures.pdfchapter10 - File structures.pdf
chapter10 - File structures.pdfsatonaka3
 
Fat File Systems
Fat File SystemsFat File Systems
Fat File SystemsArthyR3
 
Btrfs by Chris Mason
Btrfs by Chris MasonBtrfs by Chris Mason
Btrfs by Chris MasonTerry 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 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
 
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
 

Similar a Windows File Systems (20)

Windows File Systems
Windows File SystemsWindows File Systems
Windows File Systems
 
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)
 
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)
 
File System
File SystemFile System
File System
 

Más de primeteacher32

Más de 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
 

Último

B.tech Civil Engineering Major Project by Deepak Kumar ppt.pdf
B.tech Civil Engineering Major Project by Deepak Kumar ppt.pdfB.tech Civil Engineering Major Project by Deepak Kumar ppt.pdf
B.tech Civil Engineering Major Project by Deepak Kumar ppt.pdfDeepak15CivilEngg
 
怎样办理哥伦比亚大学毕业证(Columbia毕业证书)成绩单学校原版复制
怎样办理哥伦比亚大学毕业证(Columbia毕业证书)成绩单学校原版复制怎样办理哥伦比亚大学毕业证(Columbia毕业证书)成绩单学校原版复制
怎样办理哥伦比亚大学毕业证(Columbia毕业证书)成绩单学校原版复制yynod
 
Top profile Call Girls In Ratnagiri [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Ratnagiri [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In Ratnagiri [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Ratnagiri [ 7014168258 ] Call Me For Genuine Models...gajnagarg
 
Jual obat aborsi Jakarta ( 085657271886 )Cytote pil telat bulan penggugur kan...
Jual obat aborsi Jakarta ( 085657271886 )Cytote pil telat bulan penggugur kan...Jual obat aborsi Jakarta ( 085657271886 )Cytote pil telat bulan penggugur kan...
Jual obat aborsi Jakarta ( 085657271886 )Cytote pil telat bulan penggugur kan...ZurliaSoop
 
Only Cash On Delivery Call Girls Service In Amritsar 📞6378878445📞 Just📲 Call ...
Only Cash On Delivery Call Girls Service In Amritsar 📞6378878445📞 Just📲 Call ...Only Cash On Delivery Call Girls Service In Amritsar 📞6378878445📞 Just📲 Call ...
Only Cash On Delivery Call Girls Service In Amritsar 📞6378878445📞 Just📲 Call ...vershagrag
 
Call Girl Service in Ahmednagar { 9332606886 } VVIP NISHA Call Girls Near 5 S...
Call Girl Service in Ahmednagar { 9332606886 } VVIP NISHA Call Girls Near 5 S...Call Girl Service in Ahmednagar { 9332606886 } VVIP NISHA Call Girls Near 5 S...
Call Girl Service in Ahmednagar { 9332606886 } VVIP NISHA Call Girls Near 5 S...Sareena Khatun
 
Top profile Call Girls In Hubli [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Hubli [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Hubli [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Hubli [ 7014168258 ] Call Me For Genuine Models We ...gajnagarg
 
Call Girls In GOA North Goa +91-8588052666 Direct Cash Escorts Service
Call Girls In GOA North Goa +91-8588052666 Direct Cash Escorts ServiceCall Girls In GOA North Goa +91-8588052666 Direct Cash Escorts Service
Call Girls In GOA North Goa +91-8588052666 Direct Cash Escorts Servicenishakur201
 
Howrah [ Call Girls Kolkata ₹7.5k Pick Up & Drop With Cash Payment 8005736733...
Howrah [ Call Girls Kolkata ₹7.5k Pick Up & Drop With Cash Payment 8005736733...Howrah [ Call Girls Kolkata ₹7.5k Pick Up & Drop With Cash Payment 8005736733...
Howrah [ Call Girls Kolkata ₹7.5k Pick Up & Drop With Cash Payment 8005736733...HyderabadDolls
 
Dating Call Girls inTiruvallur { 9332606886 } VVIP NISHA Call Girls Near 5 St...
Dating Call Girls inTiruvallur { 9332606886 } VVIP NISHA Call Girls Near 5 St...Dating Call Girls inTiruvallur { 9332606886 } VVIP NISHA Call Girls Near 5 St...
Dating Call Girls inTiruvallur { 9332606886 } VVIP NISHA Call Girls Near 5 St...ruksarkahn825
 
Top profile Call Girls In Jabalpur [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Jabalpur [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Jabalpur [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Jabalpur [ 7014168258 ] Call Me For Genuine Models ...gajnagarg
 
Kannada Call Girls Mira Bhayandar WhatsApp +91-9930687706, Best Service
Kannada Call Girls Mira Bhayandar WhatsApp +91-9930687706, Best ServiceKannada Call Girls Mira Bhayandar WhatsApp +91-9930687706, Best Service
Kannada Call Girls Mira Bhayandar WhatsApp +91-9930687706, Best Servicemeghakumariji156
 
Call Girl In Gwalior Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class C...
Call Girl In Gwalior Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class C...Call Girl In Gwalior Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class C...
Call Girl In Gwalior Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class C...vershagrag
 
9352852248 Call Girls Sanand Escort Service Available 24×7 In Sanand
9352852248 Call Girls  Sanand Escort Service Available 24×7 In Sanand9352852248 Call Girls  Sanand Escort Service Available 24×7 In Sanand
9352852248 Call Girls Sanand Escort Service Available 24×7 In Sanandgargpaaro
 
Maninagar ^ best call girls in Ahmedabad ₹7.5k Pick Up & Drop With Cash Payme...
Maninagar ^ best call girls in Ahmedabad ₹7.5k Pick Up & Drop With Cash Payme...Maninagar ^ best call girls in Ahmedabad ₹7.5k Pick Up & Drop With Cash Payme...
Maninagar ^ best call girls in Ahmedabad ₹7.5k Pick Up & Drop With Cash Payme...gragchanchal546
 
Top profile Call Girls In Anantapur [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Anantapur [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In Anantapur [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Anantapur [ 7014168258 ] Call Me For Genuine Models...gajnagarg
 
一比一定(购)中央昆士兰大学毕业证(CQU毕业证)成绩单学位证
一比一定(购)中央昆士兰大学毕业证(CQU毕业证)成绩单学位证一比一定(购)中央昆士兰大学毕业证(CQU毕业证)成绩单学位证
一比一定(购)中央昆士兰大学毕业证(CQU毕业证)成绩单学位证eqaqen
 
Gabriel_Carter_EXPOLRATIONpp.pptx........
Gabriel_Carter_EXPOLRATIONpp.pptx........Gabriel_Carter_EXPOLRATIONpp.pptx........
Gabriel_Carter_EXPOLRATIONpp.pptx........deejay178
 
Top profile Call Girls In Etawah [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Etawah [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Etawah [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Etawah [ 7014168258 ] Call Me For Genuine Models We...nirzagarg
 

Último (20)

B.tech Civil Engineering Major Project by Deepak Kumar ppt.pdf
B.tech Civil Engineering Major Project by Deepak Kumar ppt.pdfB.tech Civil Engineering Major Project by Deepak Kumar ppt.pdf
B.tech Civil Engineering Major Project by Deepak Kumar ppt.pdf
 
怎样办理哥伦比亚大学毕业证(Columbia毕业证书)成绩单学校原版复制
怎样办理哥伦比亚大学毕业证(Columbia毕业证书)成绩单学校原版复制怎样办理哥伦比亚大学毕业证(Columbia毕业证书)成绩单学校原版复制
怎样办理哥伦比亚大学毕业证(Columbia毕业证书)成绩单学校原版复制
 
Top profile Call Girls In Ratnagiri [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Ratnagiri [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In Ratnagiri [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Ratnagiri [ 7014168258 ] Call Me For Genuine Models...
 
Jual obat aborsi Jakarta ( 085657271886 )Cytote pil telat bulan penggugur kan...
Jual obat aborsi Jakarta ( 085657271886 )Cytote pil telat bulan penggugur kan...Jual obat aborsi Jakarta ( 085657271886 )Cytote pil telat bulan penggugur kan...
Jual obat aborsi Jakarta ( 085657271886 )Cytote pil telat bulan penggugur kan...
 
Only Cash On Delivery Call Girls Service In Amritsar 📞6378878445📞 Just📲 Call ...
Only Cash On Delivery Call Girls Service In Amritsar 📞6378878445📞 Just📲 Call ...Only Cash On Delivery Call Girls Service In Amritsar 📞6378878445📞 Just📲 Call ...
Only Cash On Delivery Call Girls Service In Amritsar 📞6378878445📞 Just📲 Call ...
 
Call Girl Service in Ahmednagar { 9332606886 } VVIP NISHA Call Girls Near 5 S...
Call Girl Service in Ahmednagar { 9332606886 } VVIP NISHA Call Girls Near 5 S...Call Girl Service in Ahmednagar { 9332606886 } VVIP NISHA Call Girls Near 5 S...
Call Girl Service in Ahmednagar { 9332606886 } VVIP NISHA Call Girls Near 5 S...
 
Girls in Aiims Metro (delhi) call me [🔝9953056974🔝] escort service 24X7
Girls in Aiims Metro (delhi) call me [🔝9953056974🔝] escort service 24X7Girls in Aiims Metro (delhi) call me [🔝9953056974🔝] escort service 24X7
Girls in Aiims Metro (delhi) call me [🔝9953056974🔝] escort service 24X7
 
Top profile Call Girls In Hubli [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Hubli [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Hubli [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Hubli [ 7014168258 ] Call Me For Genuine Models We ...
 
Call Girls In GOA North Goa +91-8588052666 Direct Cash Escorts Service
Call Girls In GOA North Goa +91-8588052666 Direct Cash Escorts ServiceCall Girls In GOA North Goa +91-8588052666 Direct Cash Escorts Service
Call Girls In GOA North Goa +91-8588052666 Direct Cash Escorts Service
 
Howrah [ Call Girls Kolkata ₹7.5k Pick Up & Drop With Cash Payment 8005736733...
Howrah [ Call Girls Kolkata ₹7.5k Pick Up & Drop With Cash Payment 8005736733...Howrah [ Call Girls Kolkata ₹7.5k Pick Up & Drop With Cash Payment 8005736733...
Howrah [ Call Girls Kolkata ₹7.5k Pick Up & Drop With Cash Payment 8005736733...
 
Dating Call Girls inTiruvallur { 9332606886 } VVIP NISHA Call Girls Near 5 St...
Dating Call Girls inTiruvallur { 9332606886 } VVIP NISHA Call Girls Near 5 St...Dating Call Girls inTiruvallur { 9332606886 } VVIP NISHA Call Girls Near 5 St...
Dating Call Girls inTiruvallur { 9332606886 } VVIP NISHA Call Girls Near 5 St...
 
Top profile Call Girls In Jabalpur [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Jabalpur [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Jabalpur [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Jabalpur [ 7014168258 ] Call Me For Genuine Models ...
 
Kannada Call Girls Mira Bhayandar WhatsApp +91-9930687706, Best Service
Kannada Call Girls Mira Bhayandar WhatsApp +91-9930687706, Best ServiceKannada Call Girls Mira Bhayandar WhatsApp +91-9930687706, Best Service
Kannada Call Girls Mira Bhayandar WhatsApp +91-9930687706, Best Service
 
Call Girl In Gwalior Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class C...
Call Girl In Gwalior Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class C...Call Girl In Gwalior Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class C...
Call Girl In Gwalior Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class C...
 
9352852248 Call Girls Sanand Escort Service Available 24×7 In Sanand
9352852248 Call Girls  Sanand Escort Service Available 24×7 In Sanand9352852248 Call Girls  Sanand Escort Service Available 24×7 In Sanand
9352852248 Call Girls Sanand Escort Service Available 24×7 In Sanand
 
Maninagar ^ best call girls in Ahmedabad ₹7.5k Pick Up & Drop With Cash Payme...
Maninagar ^ best call girls in Ahmedabad ₹7.5k Pick Up & Drop With Cash Payme...Maninagar ^ best call girls in Ahmedabad ₹7.5k Pick Up & Drop With Cash Payme...
Maninagar ^ best call girls in Ahmedabad ₹7.5k Pick Up & Drop With Cash Payme...
 
Top profile Call Girls In Anantapur [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Anantapur [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In Anantapur [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Anantapur [ 7014168258 ] Call Me For Genuine Models...
 
一比一定(购)中央昆士兰大学毕业证(CQU毕业证)成绩单学位证
一比一定(购)中央昆士兰大学毕业证(CQU毕业证)成绩单学位证一比一定(购)中央昆士兰大学毕业证(CQU毕业证)成绩单学位证
一比一定(购)中央昆士兰大学毕业证(CQU毕业证)成绩单学位证
 
Gabriel_Carter_EXPOLRATIONpp.pptx........
Gabriel_Carter_EXPOLRATIONpp.pptx........Gabriel_Carter_EXPOLRATIONpp.pptx........
Gabriel_Carter_EXPOLRATIONpp.pptx........
 
Top profile Call Girls In Etawah [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Etawah [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Etawah [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Etawah [ 7014168258 ] Call Me For Genuine Models We...
 

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

Notas del editor

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