Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Week 3 - Extra-3 - MBR and NTFS File Systems Lab


Learning Objectives

  • Select suitable forensic tools and techniques to capture, analyse, and preserve forensic evidence in each scenario.

Objectives of this Lab Session

  • Investigate the structure of HDDs, SSDs, partitions, NTFS file systems, and Linux file systems.
  • Analyse a physical drive and file system through a Hex Editor.

Task 1 - Background Questions

Answer the following questions in your own words.

You may also include diagrams or images to support your answers.

No.QuestionYour Answer
1What is a disk drive track?
2What is a disk sector?
3What is a disk cluster?
4What does the Master Boot Record contain?
5Where does a Volume Boot Record (VBR) reside and what does it contain?
6Investigate and identify unused space on an SSD drive that could be used for hiding data.
7Research the NTFS log ($LogFile) and its role in logging file system activities, transactions, and metadata changes.
8List the main file systems used in the Windows operating system and discuss their limitations and advantages.

Task 2 - NTFS Boot Record Lab

This information is located in the first sector of every partition.
All values except strings should be stored in little-endian- https://en.wikipedia.org/wiki/Endianness format (read right to left).

Steps

  1. Log in to your Windows PC or Windows VM.
  2. Run HxD as Administrator → Tools → Open disk → Logical disks → Windows (C:).
  3. Complete the “Hexadecimal Value” column in the table below.

    Note: Record your findings in sperate document.


NTFS Boot Record Table

OffsetDescriptionSizeHexadecimal Value
00hAssembly code instructions to jump to boot code (mandatory in bootable partition)3 Bytes
03hOEM name in ASCII8 Bytes
0BhBytes per sector (512, 1024, 2048, or 4096) (Little Endian)2 Bytes
0DhSectors per cluster (Power of 2, cluster size ≤ 32 KB)1 Byte
0EhSize of reserved area (Little Endian)2 Bytes
10hUnused3 Bytes
13hNumber of sectors in partition smaller than 32MB (N/A for FAT32/NTFS)2 Bytes
15hMedia Descriptor (F8h for Hard Disks) (Little Endian)1 Byte
16hSize of each FAT (0 for FAT32)2 Bytes
18hSectors per track in storage device (Little Endian)2 Bytes
1AhNumber of heads in storage device (Little Endian)2 Bytes
1ChNumber of hidden sectors in partition (Little Endian)4 Bytes
20hUnused4 Bytes
24hUnused (Little Endian)4 Bytes
28hPartition size in sectors (Little Endian)8 Bytes
30hCluster containing the Master File Table (MFT) (Little Endian)8 Bytes
38h$MFTMirr cluster number (backup of MFT) (Little Endian)8 Bytes
40hClusters per file record segment1 Byte
41hUnused (Little Endian)3 Bytes
44hCluster per index buffer1 Byte
45hUnused (Little Endian)3 Bytes
48hVolume serial number (Little Endian)8 Bytes
50hChecksum (unused, Little Endian)4 Bytes
54hExecutable code - bootstrap code426 Bytes
1FEhBoot record signature (55h AAh) - Little Endian2 Bytes

Boot Sector Notes

The information above is found in the first sector of the reserved region, known as the boot sector.
This sector is typically 512 bytes, though it may be longer depending on the media.

It generally includes:

  • A 3-byte jump instruction to the bootstrap code
  • An 8-byte ASCII OEM string
  • A BIOS Parameter Block and Extended BIOS Parameter Block
  • Boot code and end-of-sector signature

Complete the Following Table

DescriptionValue
OEM
Bytes per Sector
Sectors per Cluster
Sectors per Track
Number of Heads
Number of Hidden Sectors
Total Sectors
Cluster containing the Master File Table (MFT)

Task 3 - Investigating GPT

  1. From a workstation in the Cyber Lab, run HxD as Administrator → Tools → Open disk → Hard disk.
  2. The GPT protective MBR is located at sector 0.
    • Identify the last two bytes of this sector and record their hexadecimal values.
  3. The partition table (16 bytes) is located at offset 1BEh.
    • Write down the hexadecimal values of these 16 bytes.
  4. Determine whether this partition is bootable. Explain your reasoning.
  5. Identify the next three bytes, which indicate the partition start (both hexadecimal and decimal values).
  6. The partition type is found at offset 1C2h. Identify both the hex value and the corresponding partition type.
  7. Determine the partition size.

Copyright © 2026 • Created by Ali Jaddoa

Page last updated: Thursday 29 January 2026 @ 09:27:38 | Commit: e54aea3