220 likes | 354 Views
Intro to Cyber Crime and Computer Forensics CS 4273/6273 September 12, 2005. MISSISSIPPI STATE UNIVERSITY DEPARTMENT OF COMPUTER SCIENCE. Structure of Storage Media Chapter 3. MISSISSIPPI STATE UNIVERSITY DEPARTMENT OF COMPUTER SCIENCE. Storage Media. Floppy Disks Hard Disks CDs DVDs
E N D
Intro to Cyber Crime and Computer Forensics CS 4273/6273 September 12, 2005 MISSISSIPPI STATE UNIVERSITY DEPARTMENT OF COMPUTER SCIENCE
Structure of Storage MediaChapter 3 MISSISSIPPI STATE UNIVERSITY DEPARTMENT OF COMPUTER SCIENCE
Storage Media • Floppy Disks • Hard Disks • CDs • DVDs • Memory Sticks • PC Cards • ……
Floppy Disks • Single Sided/Double Sided • Mini Hard Disks • Fairly Rugged and Durable • Dynamic Storage
Nested Data Structures on HD Hard Drive Partition File System File Record Field
Hard Drives • IDE or SCSI • IDE (Integrated Drive Electronics) supports only two devices • EIDE can support four through two channels • SCSI (Small Computer Systems Interface) supports up to 7 devices • Each of them is identified by a unique ID
Sectors 512 Bytes
Blocks or Clusters 2, 4, 8, …., 64 Sectors per cluster
Nested Data Structures on HD Hard Drive Partition File System File Record Field
Partitions • Logical Divisions of a single hard drive • In Windows or MS-DOS, each is identified by a letter designation, e.g., C:, D:, Z: • In Unix or Linux, they are usually identified by a designation like: • /dev/hda1 • /dev/hda2
Partitions • Each partition is seen by the Operating System as a logical drive • Partition information may be seen using the FDISK utility, or a commercial utility like partinfo. • Partitions tell you where on the hard disk you can find the file allocation tables.
Nested Data Structures on HD Hard Drive Partition File System File Record Field
File Systems • Index System similar to Database • Series of Tables • Directories, etc. • File Allocation Table Systems • NT File Systems • Unix File Systems
File Allocation Tables • FAT-12 • MS-DOS, Floppy Disks • FAT-16 • Windows 95 • FAT-32 • Windows 98 • NTFS • Windows 2000, NT, XP
Nested Data Structures on HD Hard Drive Partition File System File Record Field
Files • Smallest addressable component. • Take up one or more clusters. • Clusters may contain forensic evidence in slack space. • Slack space = RAM Slack + File Slack • Free Space
0 0 0 1 1 1 2 2 2 3 3 3 4 4 4 5 5 5 511 511 511 Storage Media Basics • Sector: 512 Bytes • Cluster (Block): 2 or more sectors (up to 64) …
0 0 0 1 1 1 2 2 2 3 3 3 4 4 4 5 5 5 511 511 511 Slack Space • RAM Slack: That portion of a sector that is not overwritten in memory. • Disk Slack: Those sectors of the cluster that are not needed to store file. RAM Slack … EOF Disk Slack EOF
0 0 1 1 2 2 3 3 4 4 5 5 511 511 Slack Space • File Slack: Last cluster of file isn’t filled up completely, so data from the last use of that cluster isn’t overwritten. • File Slack = Disk Slack + RAM Slack File Slack RAM Slack Disk Slack EOF
Free Space • That portion of the Media that is not currently in use. • Could have been used before, but not overwritten. • Especially true today with very large disks • Can we really erase a hard drive? • Even if formatted, the data is not lost.