Unit 2: Understanding Hard Disks and File Systems - Subjective Questions
INT250 — Digital Evidence Analysis • Practice Questions with Detailed Answers
20 questions
Define a disk drive. Explain the major types of disk drives used in computer systems.
A disk drive is a hardware device that stores and retrieves digital data using magnetic, electronic, or optical storage technology.
Major types include:
- Hard Disk Drive (HDD): Stores data magnetically on rotating platters. It provides high capacity at a relatively low cost but contains mechanical parts.
- Solid-State Drive (SSD): Uses NAND flash memory and has no moving parts. It offers faster access, lower power consumption, and greater shock resistance.
- Optical Drive: Reads or writes CDs, DVDs, and Blu-ray discs with a laser. Optical media may contain software, backups, or evidentiary data.
- USB flash drive: A portable flash-based storage device connected through a USB interface.
- External drive: An HDD or SSD housed in an external enclosure and connected through USB, Thunderbolt, or another interface.
- Hybrid drive: Combines magnetic storage with a small flash-memory cache to improve performance.
In digital forensics, each drive type requires suitable acquisition methods because deleted-data behavior, interfaces, and internal data management differ.
Distinguish between Hard Disk Drives (HDDs) and Solid-State Drives (SSDs) from technical and forensic perspectives.
Technical differences:
| Feature | HDD | SSD |
|---|---|---|
| Storage medium | Magnetic platters | NAND flash memory |
| Moving parts | Present | Absent |
| Access speed | Comparatively slow | Comparatively fast |
| Shock resistance | Lower | Higher |
| Power consumption | Generally higher | Generally lower |
| Cost per unit of storage | Lower | Usually higher |
Forensic differences:
- An HDD commonly retains deleted data until the relevant sectors are overwritten.
- An SSD may use TRIM, which informs the controller that deleted blocks are no longer required.
- SSD garbage collection may erase or reorganize blocks even when the operating system is idle.
- SSD controllers perform wear leveling, so the logical block address visible to the operating system may not correspond to a fixed physical location.
- HDD acquisition is generally more predictable at the sector level.
- Both devices should be acquired using validated forensic tools and write-blocking mechanisms.
Thus, recovery of deleted data is often more difficult and time-sensitive on an SSD than on an HDD.
Explain the physical and logical organization of a hard disk, including platters, tracks, sectors, clusters, and logical block addresses.
A hard disk can be understood through its physical and logical organization.
Physical organization:
- A platter is a circular magnetic surface on which data is stored.
- A track is a concentric circular path on a platter.
- A sector is a subdivision of a track and is traditionally 512 bytes, although modern disks commonly use 4096-byte physical sectors.
- A read/write head accesses the magnetic surface.
- A cylinder traditionally refers to tracks at the same radius across multiple platter surfaces.
Logical organization:
- Modern systems address sectors using Logical Block Addressing (LBA) rather than physical cylinder-head-sector values.
- A cluster, or allocation unit, consists of one or more sectors and is the smallest unit normally allocated by a file system.
- A disk may be divided into partitions, and each partition may contain a file system.
- File systems maintain metadata that maps files to allocated clusters.
If the sector size is bytes and a cluster contains sectors, the cluster size is:
Understanding these structures helps investigators locate partitions, recover deleted files, and interpret file slack.
Compare the Master Boot Record (MBR) and GUID Partition Table (GPT) partitioning schemes.
| Characteristic | MBR | GPT |
|---|---|---|
| Typical firmware | Legacy BIOS | UEFI |
| Partition information | Stored in the first sector | Stored in GPT headers and partition-entry arrays |
| Maximum common disk size | About 2 TiB with 512-byte sectors | Supports much larger disks |
| Number of partitions | Four primary entries, or extended and logical partitions | Commonly supports 128 partitions in Windows |
| Redundancy | No standard backup partition table | Primary and backup GPT structures |
| Integrity checking | No built-in checksum for partition entries | Uses CRC checksums |
| Partition identifier | Type codes | Globally Unique Identifiers |
The MBR contains bootstrap code, a partition table, and the boot signature. GPT normally contains a protective MBR, a primary GPT header, partition entries, usable partition space, backup entries, and a backup header.
From a forensic perspective, investigators should examine both primary and backup GPT data. Inconsistencies between them may indicate corruption, manipulation, or incomplete disk imaging.
Describe the logical structure of a partitioned disk and explain the forensic significance of unallocated space, slack space, and hidden partitions.
A partitioned disk generally contains:
- Partitioning metadata, such as an MBR or GPT.
- One or more partitions, each covering a defined range of logical sectors.
- File-system structures, including boot records, allocation metadata, directories, and file data.
- Unallocated disk regions, which are not assigned to an active partition.
Forensic significance:
- Unallocated space: Clusters not currently assigned to files may contain deleted file content, fragments, or historical data.
- File slack: Unused bytes between the logical end of a file and the end of its final allocated cluster may preserve remnants of previous data.
- Partition gaps: Sectors located between declared partitions may contain old structures or deliberately concealed information.
- Hidden partitions: A partition may be omitted from normal mounting, assigned a hidden type, or created outside expected boundaries.
- Host Protected Area (HPA) and Device Configuration Overlay (DCO): Certain drives can report less capacity than physically available, potentially concealing sectors.
An examiner should therefore analyze the entire physical image rather than only mounted file systems.
Explain the Windows boot process on a legacy BIOS and MBR-based computer.
The Windows boot process on a BIOS and MBR system proceeds broadly as follows:
- Power-on and POST: The BIOS performs the Power-On Self-Test and initializes hardware.
- Boot-device selection: The BIOS selects a bootable device according to its configured order.
- MBR execution: The first disk sector is loaded into memory. Its bootstrap code examines the MBR partition table.
- Active partition selection: MBR code locates the partition marked active and loads its volume boot record.
- Windows Boot Manager: The boot record starts BOOTMGR.
- BCD processing: BOOTMGR reads the Boot Configuration Data (BCD) store and displays boot choices when necessary.
- Operating-system loader: winload.exe loads the Windows kernel, Hardware Abstraction Layer, boot-start drivers, and system registry data.
- Kernel initialization: The kernel initializes subsystems, mounts the system volume, and starts the Session Manager.
- User environment: Windows services start, followed by the logon interface and user session.
Forensic examination of the MBR, boot sector, BCD store, and boot files can reveal boot configuration changes, malware, or damaged startup structures.
Describe the Windows boot process on a UEFI and GPT-based system. How does it differ from legacy BIOS booting?
On a UEFI-based Windows system, the process is generally:
- UEFI firmware initializes hardware and performs startup checks.
- Firmware reads boot entries stored in non-volatile memory.
- It accesses the EFI System Partition (ESP), normally formatted with FAT.
- The Windows firmware boot manager, commonly bootmgfw.efi, is executed.
- Windows Boot Manager reads the BCD store.
- winload.efi loads the Windows kernel, required drivers, and supporting components.
- The kernel initializes the operating system and starts services and logon processes.
Differences from legacy BIOS:
- UEFI loads an executable from the ESP instead of executing MBR bootstrap code.
- GPT generally replaces the MBR partition table.
- UEFI supports larger disks and more partitions.
- Secure Boot can verify signatures of boot components and help prevent unauthorized boot loaders.
- Boot options are stored as firmware variables rather than relying only on an active-partition flag.
Investigators may examine the ESP, EFI executables, GPT structures, firmware boot entries, and Secure Boot configuration for evidence of boot-level tampering.
Explain the Linux boot process from firmware initialization to user-space startup.
The Linux boot process contains several stages:
- Firmware initialization: BIOS or UEFI initializes hardware and selects a boot device.
- Boot-loader execution: A boot loader such as GRUB is loaded from boot sectors or the EFI System Partition.
- Configuration selection: GRUB reads its configuration and allows selection of a kernel and boot parameters.
- Kernel loading: The compressed Linux kernel and an initial RAM file system, such as initramfs, are loaded into memory.
- Kernel initialization: The kernel detects hardware, initializes memory management and drivers, and mounts the temporary root environment.
- Root file-system mounting: Scripts and drivers in initramfs locate and mount the actual root file system.
- Init process: The kernel starts process ID 1, commonly systemd or another init system.
- Service startup: The init system starts targets, services, networking, logging, and device-management components.
- Login environment: A text login prompt or graphical display manager is presented.
Forensically important artifacts include GRUB configuration files, kernel command-line parameters, initramfs images, system logs, service definitions, and startup scripts.
Compare the Windows and Linux boot processes and identify boot-related evidence useful to a forensic investigator.
Similarities:
- Both begin with BIOS or UEFI firmware initialization.
- Both use a boot manager or boot loader.
- Both load a kernel and hardware drivers.
- Both initialize system services before presenting a login interface.
Differences:
- Windows commonly uses BOOTMGR, BCD, winload.exe, or their UEFI equivalents.
- Linux commonly uses GRUB, a selected kernel image, initramfs, and an init system such as systemd.
- Windows configuration is strongly tied to the BCD store and Registry, whereas Linux boot settings are often held in text-based configuration files.
- Linux commonly permits multiple kernels and flexible kernel command-line parameters.
Forensic evidence:
- MBR, GPT, and volume boot records.
- EFI System Partition contents.
- BCD entries and Windows boot logs.
- GRUB configuration and boot-loader files.
- Kernel and initramfs timestamps.
- Startup services, scheduled startup tasks, and systemd units.
- Secure Boot records and altered EFI executables.
Such artifacts can reveal unauthorized operating systems, persistence mechanisms, bootkits, configuration changes, and approximate system activity.
Explain the principal Windows file systems: FAT32, exFAT, and NTFS.
FAT32:
- Uses a File Allocation Table to track cluster chains.
- Offers broad compatibility with operating systems and embedded devices.
- Does not provide native file permissions, journaling, encryption, or compression.
- Has a maximum individual file size of approximately 4 GiB.
exFAT:
- Designed mainly for flash media and large removable devices.
- Supports files larger than the FAT32 limit.
- Uses allocation structures optimized for large storage media.
- Does not provide the complete security and journaling features of NTFS.
NTFS:
- Uses the Master File Table (MFT) to store file and directory records.
- Supports access-control lists, journaling, compression, encryption, hard links, and alternate data streams.
- Stores file metadata as attributes.
- Provides better reliability and forensic metadata than FAT-based systems.
Forensic tools interpret these structures to identify files, deleted entries, timestamps, cluster allocation, and concealed data.
Describe the internal structure of NTFS and explain why the Master File Table is important in digital forensics.
NTFS organizes information through metadata files and attribute-based records. Its central structure is the Master File Table (MFT).
Important NTFS components:
- $MFT: Contains a record for almost every file and directory.
- $MFTMirr: Stores a backup of critical initial MFT records.
- $Bitmap: Identifies allocated and unallocated clusters.
- $LogFile: Contains file-system transaction journal information.
- $Boot: Contains the NTFS volume boot record.
- $UsnJrnl: May record changes made to files and directories.
An MFT record contains attributes such as:
- $STANDARD_INFORMATION, including timestamps and flags.
- $FILE_NAME, including a name, parent reference, and another set of timestamps.
- $DATA, containing file content or references to external data runs.
Small files may be resident, meaning their content is stored inside the MFT record. Larger files are non-resident and are stored in disk clusters described by data runs.
The MFT is forensically important because it can reveal deleted files, multiple filenames, parent directories, allocation status, timestamps, alternate data streams, and storage locations. Comparing different timestamp attributes may also help identify timestamp manipulation.
Explain the structure of Linux extended file systems, with reference to ext2, ext3, ext4, superblocks, inodes, and journaling.
The ext family is widely used in Linux:
- ext2: A non-journaling file system.
- ext3: Adds journaling to improve recovery after an improper shutdown.
- ext4: Supports large volumes and files, extents, delayed allocation, and other performance improvements.
Main structures:
- Superblock: Stores critical information such as file-system size, block size, status, and inode counts.
- Block groups: Divide the file system into manageable regions.
- Block bitmap: Records used and free data blocks.
- Inode bitmap: Records used and free inodes.
- Inode table: Contains inode structures.
- Inode: Stores metadata such as ownership, permissions, size, timestamps, link count, and references to file data.
- Directory entry: Maps a filename to an inode number.
- Journal: Records pending metadata or data changes, depending on the journaling mode.
An inode generally does not store the filename; the filename is held in a directory entry. Therefore, forensic reconstruction may require correlating directory entries, inode metadata, journal records, and data blocks.
Compare NTFS and ext4 from the perspectives of file organization, metadata, security, journaling, and forensic examination.
| Aspect | NTFS | ext4 |
|---|---|---|
| Core metadata structure | MFT records | Inodes and directory entries |
| File naming | Stored in MFT attributes | Directory entry maps name to inode |
| Data mapping | Resident data or data runs | Commonly uses extents |
| Journaling | Uses $LogFile and other change records | Uses a journal, typically through JBD2 |
| Permissions | Windows ACL model | Unix permissions with optional ACLs |
| Special features | Alternate data streams, compression, EFS | Symbolic links, extents, delayed allocation |
| Change tracking | USN Journal may be available | Journal and logs may provide partial history |
Forensic implications:
- NTFS provides rich metadata through the MFT, $LogFile, and USN Journal.
- ext4 examination requires correlation of inodes, directory entries, bitmaps, extents, and journal data.
- Deleted NTFS records may retain filenames and attributes until reused.
- Deleted ext4 data recovery may be complicated when inode and extent information is cleared or reused.
- Timestamp meanings and update rules differ, so they must be interpreted in file-system context.
Neither file system should be mounted read-write during examination because mounting can alter metadata and journals.
Explain how deleted files, unallocated space, and file slack are examined in a file-system investigation.
Deleting a file usually removes or modifies its metadata reference and marks its storage space as available; the data may remain until overwritten.
Examination process:
- Inspect deleted directory entries, MFT records, or inodes.
- Determine the clusters or blocks previously assigned to the file.
- Recover content through metadata-based recovery when allocation information remains.
- Use file carving when metadata is unavailable. Carving identifies data through file headers, footers, and internal structure.
- Search unallocated space for keywords, fragments, and known file signatures.
- Inspect file slack, which is the unused portion of a file's final allocated cluster.
Limitations:
- Reallocated blocks may contain overwritten or mixed content.
- Fragmented files are difficult to carve accurately.
- Compression or encryption may prevent meaningful recovery.
- SSD TRIM and garbage collection may remove deleted content.
- Carving can produce false positives because a signature does not necessarily prove that a complete file exists.
Recovered material must be documented with its source offsets and validated where possible.
Describe a complete forensic workflow for examining a disk image using Autopsy.
A typical Autopsy workflow includes:
- Preserve the original: Acquire a forensic image with a write blocker and retain the original evidence securely.
- Verify integrity: Calculate and record cryptographic hashes of the acquired image.
- Create a case: Enter a case name, examiner details, and storage location in Autopsy.
- Add a data source: Select a disk image, local disk, or supported logical data source. Configure the correct time zone.
- Select ingest modules: Enable modules for file-type identification, hash lookup, keyword searching, web artifacts, recent activity, embedded files, and other relevant analysis.
- Review file systems: Examine partitions, directories, allocated files, deleted files, unallocated space, and orphan files.
- Analyze artifacts: Review browser history, downloads, accounts, documents, images, communications, metadata, and operating-system artifacts.
- Build a timeline: Correlate file-system and application timestamps while accounting for time-zone differences.
- Tag findings: Add comments, bookmarks, and tags to relevant evidence.
- Export and report: Export selected files when needed and generate a report containing findings and provenance.
- Validate results: Confirm significant findings with another tool or direct structure examination when appropriate.
Every action should be documented to maintain repeatability, integrity, and chain of custody.
Explain the role of ingest modules, hash sets, keyword searches, and timeline analysis in Autopsy.
Ingest modules automatically process a data source and extract selected categories of information. They may identify file types, parse application artifacts, calculate hashes, extract archives, and detect notable files.
Hash sets are used to:
- Identify known files through cryptographic hash comparison.
- Exclude known benign operating-system or application files.
- Flag files known to be relevant, prohibited, or malicious.
- Reduce the amount of material requiring manual review.
Keyword searching helps locate names, email addresses, phrases, identifiers, and regular-expression patterns. Searches should consider Unicode encodings, case variations, and false positives.
Timeline analysis arranges events by timestamps obtained from file systems and application artifacts. It can reveal creation, modification, access, deletion, execution, browsing, and download activity.
Investigators must verify time zones, clock drift, timestamp semantics, and potential manipulation. Automated results are investigative leads and should be validated against the underlying evidence.
Define DAS, NAS, and SAN. Compare their architectures and discuss their relevance to digital evidence acquisition.
Direct-Attached Storage (DAS): Storage connected directly to a computer, such as an internal SATA drive, external USB drive, or locally attached disk array.
Network-Attached Storage (NAS): A network appliance that provides file-level access through protocols such as SMB or NFS.
Storage Area Network (SAN): A specialized network that provides block-level storage, commonly through Fibre Channel or iSCSI. A server may treat SAN storage as a locally attached disk.
| Feature | DAS | NAS | SAN |
|---|---|---|---|
| Access level | Block level | File level | Block level |
| Connection | Direct hardware interface | General data network | Dedicated or specialized storage network |
| Management | Usually host-centered | Appliance-centered | Centralized enterprise management |
| Typical scale | Small to medium | Shared departmental storage | Large enterprise storage |
Forensic relevance:
- NAS evidence may include user shares, snapshots, access logs, and appliance metadata.
- SAN data may be distributed across logical units, controllers, and multiple physical disks.
- Live acquisition may be required when shutting down a business system is impractical.
- Investigators must preserve permissions, timestamps, snapshots, configuration records, and logs.
- A logical copy of a share may omit deleted files, unallocated blocks, and storage-level metadata.
Explain RAID storage and compare RAID 0, RAID 1, RAID 5, RAID 6, and RAID 10. Include their forensic challenges.
RAID combines multiple disks to improve performance, availability, or both.
| RAID level | Method | Fault tolerance | Approximate usable capacity for equal disks of size |
|---|---|---|---|
| RAID 0 | Striping | None | |
| RAID 1 | Mirroring | Usually one disk per mirror set | Commonly for a two-disk mirror |
| RAID 5 | Striping with single distributed parity | One disk | |
| RAID 6 | Striping with dual distributed parity | Two disks | |
| RAID 10 | Striped mirror sets | Depends on failed-disk locations | Approximately |
Forensic challenges:
- Disk order, stripe size, parity rotation, and starting offset must be identified correctly.
- A controller may store proprietary RAID metadata.
- Missing or failed members may require reconstruction using parity or mirror copies.
- Imaging disks separately without recording slot order can make reconstruction difficult.
- Controller caches and write-back behavior may affect consistency.
- Virtual disks presented by the controller may not reveal the complete physical organization.
Investigators should document controller configuration, disk serial numbers, bay positions, RAID level, stripe parameters, and acquisition method before altering the array.
Explain ASCII, Unicode, UTF-8, UTF-16, and endianness. Why are encoding standards important in digital evidence analysis?
ASCII is a character-encoding standard that represents basic English letters, digits, punctuation, and control characters using 7-bit values.
Unicode defines code points for characters from many writing systems. Common Unicode transformation formats include:
- UTF-8: Uses one to four bytes per code point. ASCII characters retain their original one-byte values.
- UTF-16: Uses one or two 16-bit code units. Characters outside the Basic Multilingual Plane use surrogate pairs.
- UTF-32: Uses a fixed 32-bit code unit for each code point, although storage byte order still matters.
Endianness specifies byte order for multi-byte values:
- Little-endian: Least significant byte appears first.
- Big-endian: Most significant byte appears first.
A byte order mark (BOM) may identify an encoding or byte order, such as UTF-16LE or UTF-16BE.
Encoding is forensically important because an incorrect interpretation can hide keywords, corrupt filenames, or produce misleading text. Search tools should test relevant encodings, and examiners should distinguish character encoding from encryption or compression.
Describe how a hex editor is used in disk and file-system examination. State the precautions an investigator should follow.
A hex editor displays raw data as hexadecimal byte values, usually alongside an ASCII or Unicode interpretation. It enables an examiner to inspect structures without relying entirely on file-system software.
Common uses include:
- Examining MBR, GPT, and volume boot records.
- Confirming sector signatures and file-system identifiers.
- Locating file headers, footers, and embedded content.
- Interpreting timestamps, flags, offsets, and numeric fields.
- Checking little-endian and big-endian values.
- Viewing file slack and unallocated data.
- Validating results produced by automated forensic tools.
For example, the bytes 4D 5A commonly appear at the beginning of a Windows PE executable, while 25 50 44 46 represents the ASCII characters %PDF.
Precautions:
- Work on a verified forensic copy rather than original evidence.
- Open the image in read-only mode.
- Record byte offsets and sector numbers for important findings.
- Use the correct sector size, structure specification, and byte order.
- Avoid assuming that a file signature proves the existence of a complete or authentic file.
- Recalculate hashes if an authorized working copy is modified.
A hex editor is powerful but requires careful interpretation because incorrect offsets or endianness can produce false conclusions.
Define a disk drive. Explain the major types of disk drives used in computer systems.
A disk drive is a hardware device that stores and retrieves digital data using magnetic, electronic, or optical storage technology.
Major types include:
- Hard Disk Drive (HDD): Stores data magnetically on rotating platters. It provides high capacity at a relatively low cost but contains mechanical parts.
- Solid-State Drive (SSD): Uses NAND flash memory and has no moving parts. It offers faster access, lower power consumption, and greater shock resistance.
- Optical Drive: Reads or writes CDs, DVDs, and Blu-ray discs with a laser. Optical media may contain software, backups, or evidentiary data.
- USB flash drive: A portable flash-based storage device connected through a USB interface.
- External drive: An HDD or SSD housed in an external enclosure and connected through USB, Thunderbolt, or another interface.
- Hybrid drive: Combines magnetic storage with a small flash-memory cache to improve performance.
In digital forensics, each drive type requires suitable acquisition methods because deleted-data behavior, interfaces, and internal data management differ.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill. The rest comes out of a student's own pocket: the domain, the storage, and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason. to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it. What it pays for →