Guide to Computer Forensics and Investigations Fourth Edition. Chapter 6 Working with Windows and DOS Systems

Similar documents
Machine Language and System Programming

Chapter Two File Systems. CIS 4000 Intro. to Forensic Computing David McDonald, Ph.D.

Computer Forensics: Investigating Data and Image Files, 2nd Edition. Chapter 3 Forensic Investigations Using EnCase

makes floppy bootable o next comes root directory file information ATTRIB command used to modify name

Hard facts. Hard disk drives

CSE 4482 Computer Security Management: Assessment and Forensics. Computer Forensics: Working with Windows and DOS Systems

File System Concepts File Allocation Table (FAT) New Technology File System (NTFS) Extended File System (EXT) Master File Table (MFT)

NTFS Recoverability. CS 537 Lecture 17 NTFS internals. NTFS On-Disk Structure

Advanced Operating Systems

THOMAS RUSSELL, Information Technology Teacher

CHAPTER 11: IMPLEMENTING FILE SYSTEMS (COMPACT) By I-Chen Lin Textbook: Operating System Concepts 9th Ed.

Practice Test. Guidance Software GD Guidance Software GD0-110 Certification Exam for EnCE Outside North America. Version 1.6

Windows File System. File allocation table (FAT) NTFS - New Technology File System. used in Windows 95, and MS-DOS

Preview. COSC350 System Software, Fall

Chapter 11: Implementing File Systems. Operating System Concepts 8 th Edition,

COMP091 Operating Systems 1. File Systems

File Systems. What do we need to know?

File Directories Associated with any file management system and collection of files is a file directories The directory contains information about

Operating Systems. Lecture File system implementation. Master of Computer Science PUF - Hồ Chí Minh 2016/2017

Long-term Information Storage Must store large amounts of data Information stored must survive the termination of the process using it Multiple proces

File System. Preview. File Name. File Structure. File Types. File Structure. Three essential requirements for long term information storage

File System CS170 Discussion Week 9. *Some slides taken from TextBook Author s Presentation

Segmentation with Paging. Review. Segmentation with Page (MULTICS) Segmentation with Page (MULTICS) Segmentation with Page (MULTICS)

Introduction to Network Operating Systems

A file system is a clearly-defined method that the computer's operating system uses to store, catalog, and retrieve files.

File System Implementation. Sunu Wibirama

File System Management

FILE SYSTEMS. CS124 Operating Systems Winter , Lecture 23

Computer Systems. Assembly Language for x86 Processors 6th Edition, Kip Irvine

Table 12.2 Information Elements of a File Directory

Time Rules for NTFS File System for Digital Investigation

Hard Disk Organization. Vocabulary

FILE SYSTEM IMPLEMENTATION. Sunu Wibirama

ECCouncil Computer Hacking Forensic Investigator (V8)

CS3600 SYSTEMS AND NETWORKS

File system internals Tanenbaum, Chapter 4. COMP3231 Operating Systems

File Shredders. and, just what is a file?

Vorlesung Computerforensik. Kapitel 7: NTFS-Analyse

Chapter 11: File System Implementation. Objectives

Files & I/O. Today. Comp 104: Operating Systems Concepts. Operating System An Abstract View. Files and Filestore Allocation

Chapter 4. File Systems. Part 1

File systems Computer Forensics

Windows History 2009 Windows 7 2

Chapter 12: File System Implementation

ACCESSDATA SUPPLEMENTAL APPENDIX

A+ Guide to Managing and Maintaining Your PC. How Hardware and Software Work Together

Chapter 11: Implementing File-Systems

File System Interpretation

Implementing Hard Drives

The FAT File System. 1. FAT Overview. 2. Boot Sector, FAT, Root Directory, and Files The FAT F 䤀耄 le System

File system internals Tanenbaum, Chapter 4. COMP3231 Operating Systems

Chapter 12 File-System Implementation

File System Case Studies. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

A+ Guide to Managing and Maintaining your PC, 6e. Chapter 2 Introducing Operating Systems

Older geometric based addressing is called CHS for cylinder-head-sector. This triple value uniquely identifies every sector.

Main Points. File layout Directory layout

IT ESSENTIALS V. 4.1 Module 5 Fundamental Operating Systems

Binary Markup Toolkit Quick Start Guide Release v November 2016

Operating Systems. Operating Systems Professor Sina Meraji U of T

File Systems Forensics

Initial Bootloader. On power-up, when a computer is turned on, the following operations are performed:

Introduction to OS. File Management. MOS Ch. 4. Mahmoud El-Gayyar. Mahmoud El-Gayyar / Introduction to OS 1

Frequently asked questions from the previous class survey

Chapter 12: File System Implementation

File Systems. File system interface (logical view) File system implementation (physical view)

File-System Structure. Allocation Methods. Free-Space Management. Directory Implementation. Efficiency and Performance. Recovery

Che-Wei Chang Department of Computer Science and Information Engineering, Chang Gung University

CSN08101 Digital Forensics. Module Leader: Dr Gordon Russell Lecturers: Robert Ludwiniak

File System Case Studies. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

Operating Systems: Lecture 12. File-System Interface and Implementation

Testing the Date Maintenance of the File Allocation Table File System

Boot Process in details for (X86) Computers

Vendor: ECCouncil. Exam Code: EC Exam Name: Computer Hacking Forensic Investigator Exam. Version: Demo

Lecture S3: File system data layout, naming

CS333 Intro to Operating Systems. Jonathan Walpole

File Management. Ezio Bartocci.

Ed Ferrara, MSIA, CISSP

412 Notes: Filesystem

File System: Interface and Implmentation

OPERATING SYSTEMS CS136

ECE 598 Advanced Operating Systems Lecture 17

Files. File Structure. File Systems. Structure Terms. File Management System. Chapter 12 File Management 12/6/2018

There is a general need for long-term and shared data storage: Files meet these requirements The file manager or file system within the OS

File System Internals. Jo, Heeseung

CS370 Operating Systems

Digital Forensics method to analyze various data hiding spaces in NTFS file system

KillTest 䊾 䞣 催 ࢭ ད ᅌ㖦䊛 ᅌ㖦䊛 NZZV ]]] QORRZKYZ TKZ ϔᑈܡ䊏 ᮄ ࢭ

ECE 598 Advanced Operating Systems Lecture 14

File Services. Chapter 5. Topics in this Chapter: Understanding Windows File Systems. Understanding Linux File Systems

Digital Forensics. Also known as. General definition: Computer forensics or network forensics

File Systems and Volumes

Introduction. Secondary Storage. File concept. File attributes

EI 338: Computer Systems Engineering (Operating Systems & Computer Architecture)

bytes per disk block (a block is usually called sector in the disk drive literature), sectors in each track, read/write heads, and cylinders (tracks).

File System Internals. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

A+ Guide to Hardware, 4e. Chapter 7 Hard Drives

CS370 Operating Systems

Chapter 11: File System Implementation

TZWorks NTFS Copy Utility (ntfscopy) Users Guide

8/31/2015 BITS BYTES AND FILES. What is a bit. Representing a number. Technically, it s a change of voltage

Transcription:

Guide to Computer Forensics and Investigations Fourth Edition Chapter 6 Working with Windows and DOS Systems

Understanding Disk Drives Disk drives are made up of one or more platters coated with magnetic material Disk drive components Geometry Head Tracks Cylinders Sectors Guide to Computer Forensics and Investigations 7

Guide to Computer Forensics and Investigations 8

Guide to Computer Forensics and Investigations 9

Exploring Microsoft File Structures In Microsoft file structures, sectors are grouped to form clusters Storage allocation units of one or more sectors Clusters are typically 512, 1024, 2048, 4096, or more bytes each Combining sectors minimizes the overhead of writing or reading files to a disk Guide to Computer Forensics and Investigations 10

Exploring Microsoft File Structures (continued) Clusters are numbered sequentially starting at 2 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 Guide to Computer Forensics and Investigations 11

Disk Partitions A partition is a logical drive FAT16 does not recognize disks larger than 2 MB Large disks have to be partitioned Hidden partitions or voids Large unused gaps between partitions on a disk Partition gap Unused space between partitions Guide to Computer Forensics and Investigations 12

Examining FAT Disks File Allocation Table (FAT) File structure database that Microsoft originally designed for floppy disks Used before Windows NT and 2000 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 FAT versions FAT12, FAT16, FAT32, and VFAT Guide to Computer Forensics and Investigations 16

Examining FAT Disks (continued) 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 and file slack An unintentional side effect of FAT16 having large clusters was that it reduced fragmentation As cluster size increased Guide to Computer Forensics and Investigations 17

Examining FAT Disks (continued) Guide to Computer Forensics and Investigations 18

Examining FAT Disks (continued) 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 Guide to Computer Forensics and Investigations 19

Examining FAT Disks (continued) Guide to Computer Forensics and Investigations 20

Examining FAT Disks (continued) 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 Guide to Computer Forensics and Investigations 21

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 Guide to Computer Forensics and Investigations 22

Examining NTFS Disks New Technology File System (NTFS) Introduced with Windows NT Primary file system for Windows Vista 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 Guide to Computer Forensics and Investigations 23

Examining NTFS Disks (continued) In NTFS, everything written to the disk is considered a file On an NTFS disk First data set is the Partition Boot Sector Next is Master File Table (MFT) NTFS results in much less file slack space Clusters are smaller for smaller disk drives NTFS also uses Unicode An international data format Guide to Computer Forensics and Investigations 24

Examining NTFS Disks (continued) Guide to Computer Forensics and Investigations 25

NTFS File System 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 Guide to Computer Forensics and Investigations 26

NTFS File System (continued) Guide to Computer Forensics and Investigations 27

NTFS File System (continued) Guide to Computer Forensics and Investigations 28

MFT and File Attributes In the NTFS MFT 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 and nonresident Guide to Computer Forensics and Investigations 29

MFT and File Attributes (continued) Files larger than 512 bytes are stored outside the MFT MFT record provides cluster addresses where the file is stored on the drive s partition Referred to as data runs Each MFT record starts with a header identifying it as a resident or nonresident attribute Guide to Computer Forensics and Investigations 30

Deleting NTFS Files When a file is deleted in Windows XP, 2000, or NT 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 Guide to Computer Forensics and Investigations 31

Examining the Windows Registry Use ProDiscover Basic to extract System.dat and User.dat from an image file Guide to Computer Forensics and Investigations 32

Guide to Computer Forensics and Investigations 33

Examining the Windows Registry (continued) Guide to Computer Forensics and Investigations 34

Examining the Windows Registry (continued) Use AccessData Registry Viewer to see what information you can find in these files Guide to Computer Forensics and Investigations 35

Examining the Windows Registry (continued) Guide to Computer Forensics and Investigations 36

Examining the Windows Registry (continued) Guide to Computer Forensics and Investigations 37

Examining the Windows Registry (continued) Guide to Computer Forensics and Investigations 38

Summary (continued) 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 New Technology File System (NTFS) is more versatile because it uses the Master File Table (MFT) to track file information In NTFS, data streams can obscure information that might have evidentiary value Guide to Computer Forensics and Investigations 39