Presentation on theme: "BACS 371 Computer Forensics"— Presentation transcript: 1 BACS 371 Computer Forensics Show
2 Data Hierarchy Computer Hard Disk Drive Partition File Cluster Sector
3 File Collection of Information written to a disk 4 Files Logical File Size Physical File Size Disk Slack 5 Disk & Ram Slack Example 6
Partitions A partition is a logical volume within a physical volume (i.e., disk). The Master Boot Record (MBR) of a disk defines the partitions found on the physical disk. An MBR can define 4 primary partitions (max). These partitions can be defined as “logical partitions.” Logical partitions are capable of being further subdivided into smaller logical partitions. The logical partition created from the
MBR is called a primary extended partition. Logical partitions within this are called secondary extended partitions, etc. 7 Master Boot Record (MBR) 8 Disk Partitions (Physical and extended) 9 Partition Layout 10 Extended Partition Layout 11 MBR with Extended Boot Record 12 Extended Boot Record 446 Once you jump to the location indicated by the MBR, you will find a sector that is very similar to the MBR in
that it has it’s own local partition table. It points to the first logical partition within the extended partition. This one only has 1 extended partition and it 13 FAT File System
14 File Systems (See http://www.ntfs.com) 15 A FAT file system is composed of four different sections. 16 FAT File System Partition Boot Sector FAT 1 FAT 2
(Duplicate) 17 Partition Boot Record AKA File System Boot Sector 18 Partition Boot Record (PBR) 19 Partition Boot Record (FAT32 File system) 20 Decoding a Partition Boot Record (BIOS Parameter Block – BPB) 21 Partition Boot Sector Decoded 22 File Allocation Table A partition is divided up into identically sized clusters, small blocks of contiguous space. Cluster sizes vary depending on the type of FAT file system being used and the size of the partition, typically cluster sizes lie somewhere between 2KB and 32KB. Each file may occupy one or more of these clusters depending on its size; thus, a file is represented by a chain of these clusters (referred to as a singly linked list).
However these chains are not necessarily stored adjacently on the disk's surface but are often instead fragmented throughout the Data Region. The File Allocation Table (FAT) is a list of entries that map to each cluster on the partition. Each entry records one of five things: the address of the next cluster in a chain a special end of file (EOF) character that indicates the end of a chain a special character to mark a bad cluster a
special character to mark a reserved cluster a zero to note that that cluster is unused 23 FAT Content Database of Located on outermost track of disk File names 24 File Allocation
Table (FAT) 25 Directory table A directory table is a special type of file that represents a directory (nowadays commonly known as a folder). Each file or directory stored within it is represented by a 32 byte entry in the table. Each entry records the name, extension, attributes (archive, directory, hidden,
read-only, system and volume), the date and time of creation, the address of the first cluster of the file/directory's data and finally the size of the file/directory. Aside from the Root Directory Table in FAT12 and FAT16 file systems which occupies the special Root Directory Region location, all Directory Tables are stored in the Data Region. Legal characters for DOS file names include the following: Upper case letters A-Z Numbers 0-9
Space (though trailing spaces are considered to be padding and not a part of the file name) ! # $ % & ( ) ^ _ ` { } ~ ' Values 26 Directory to FAT interaction
27 Root Directory 28 FAT32 32-bit Cluster Numbers Only 28 bits actually used 29 Advantages of FAT32 over FAT16 30 Long File Names “Trick” 31 Long File Names Entries 32 FAT Root Directory
Volume ID Directory Entry
33 File System Comparisons
34 Criteria NTFS5 NTFS FAT32 FAT16 35 Overall Performance Criteria NTFS5 NTFS FAT32 FAT16 Built-In Security Is the unused space between the logical end of a file and the physical end of a file?Slack Space is the space between the logical end and the physical end of file and is called the file slack. The logical end of a file comes before the physical end of the cluster in which it is stored.
What is the unused space between clusters called?Since computers store information into sectors, and groups of sectors called clusters, it is rare that a file will fit perfectly into the amount of space it is given. The excess space between the end of the file and the unfilled portion of the file's cluster is called slack space.
What is the space on a drive called when a file is deleted?Instead, the space occupied by the deleted file becomes “unallocated” and available for saving other data. Slack space is another source of unallocated space on a hard drive. Slack space is created when only a portion of space allocated to save information (called a cluster) is used.
Which of the following is the definition of a virus in relation to a computer?A computer virus is a type of malicious software, or malware, that spreads between computers and causes damage to data and software. Computer viruses aim to disrupt systems, cause major operational issues, and result in data loss and leakage.
|