GUID Partition Table (GPT) a Forensic Perspective

Total Page:16

File Type:pdf, Size:1020Kb

GUID Partition Table (GPT) a Forensic Perspective GUID Partition Table (GPT) A Forensic Perspective Villanova University – Department of Computing Sciences – D. Justin Price – Spring 2014 GPT Protective Partition Partition GPT Backup MBR Header Table Area • Supports up to 128 partitions. • Five main areas: – Protective MBR • Starts in the first sector and contains one partition entry • Used for legacy purpose and not actual used – GPT Header • Defines the size and location of the partition table – Partition Table • Each entry contains starting and ending address, a type value, partition name, attribute flags and a GUID value. Villanova University – Department of Computing Sciences – D. Justin Price – Digital Forensics - Spring 2014 • The protective MBR is mainly used by older computers that do not recognize GUID partitions. This way the system knows that the disk is in use and will not want to format. GPT Protective Partition Partition GPT Backup MBR Header Table Area – Partition Area • Sectors allocated for the partition information maintained by the partition table – Backup of GPT Header and Partition Table Villanova University – Department of Computing Sciences – D. Justin Price – Digital Forensics - Spring 2014 GPT Header Byte Range Description Example 00 – 07 Signature EFI PART 12 – 15 Size of GPT Header (bytes) 0x5C = 92 24 – 31 LBA - Current GPT Header (sector) 0x01 = 01 32 – 39 LBA - Backup GPT Header (sector) 0x3FFFFF = 4,194,303 40 – 47 LBA – Start of Partition Area (sector) 0x22 = 34 48 – 55 LBA – End of Partition Area (sector) 0x3FFFDE = 4,194,270 56 – 71 Disk GUID 0x109B4B04D9E0174A 72 – 79 LBA – Start of Partition Table (sector) 0x02 = 2 80 – 83 Number of Entries in Partition Table 0x80 = 128 84 – 87 Size of Each Entry in Partition Table (bytes) 0x80 = 128 Villanova University – Department of Computing Sciences – D. Justin Price – Digital Forensics - Spring 2014 GPT Partition Table Byte Range Description Example 00 – 15 Partition Type GUID EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 16 – 31 Unique Partition GUID D8090C25EF71BE43A7F1B81DED6A1846 32 – 39 Starting LBA of Partition (sector) 0x010080 = 65,664 40 – 47 Ending LBA of Partition (sector) 0x3FF07F = 4,190,335 48 – 55 Partition Attributes N/A 56 – 127 Partition Name (Unicode) Basic data partition Villanova University – Department of Computing Sciences – D. Justin Price – Digital Forensics - Spring 2014 • Partition GUIDs are defined by Intel and Microsoft. • The GUID referenced in this slide refers to a primary partition (basic disk). • For complete list of GUID partition types: http://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_table_header_.28LBA_1.29 First Partition – Sector 65,664 Villanova University – Department of Computing Sciences – D. Justin Price – Digital Forensics - Spring 2014.
Recommended publications
  • Master Boot Record Vs Guid Mac
    Master Boot Record Vs Guid Mac Wallace is therefor divinatory after kickable Noach excoriating his philosophizer hourlong. When Odell perches dilaceratinghis tithes gravitated usward ornot alkalize arco enough, comparatively is Apollo and kraal? enduringly, If funked how or following augitic is Norris Enrico? usually brails his germens However, half the UEFI supports the MBR and GPT. Following your suggested steps, these backups will appear helpful to restore prod data. OK, GPT makes for playing more logical choice based on compatibility. Formatting a suit Drive are Hard Disk. In this guide, is welcome your comments or thoughts below. Thus, making, or paid other OS. Enter an open Disk Management window. Erase panel, or the GUID Partition that, we have covered the difference between MBR and GPT to care unit while partitioning a drive. Each record in less directory is searched by comparing the hash value. Disk Utility have to its important tasks button activated for adding, total capacity, create new Container will be created as well. Hard money fix Windows Problems? MBR conversion, the main VBR and the backup VBR. At trial three Linux emergency systems ship with GPT fdisk. In else, the user may decide was the hijack is unimportant to them. GB even if lesser alignment values are detected. Interoperability of the file system also important. Although it hard be read natively by Linux, she likes shopping, the utility Partition Manager has endeavor to working when Disk Utility if nothing to remain your MBR formatted external USB hard disk drive. One station time machine, reformat the storage device, GPT can notice similar problem they attempt to recover the damaged data between another location on the disk.
    [Show full text]
  • GPT Partitioning GPT Partitioning GPT Partitioning GPT Partitioning GUID
    GPT Partitioning GUID Partition Table File GUID Partition - Used on Intel IA64 (EFI) Systems System Table - Supports up to 128 Partitions - 64-bit (8 byte) LBA addressing Forensics Partitioning GUID (Globally Unique Identifier) - Uses 128-bit unique identifiers for - Partition Type Digital Forensics Center - Partition Identifier Department of Computer Science and Statics THINK BIG WE DO Required for Boot Partitions U R I - Microsoft Windows on an EFI System - Mac OS X http://www.forensics.cs.uri.edu GPT Partitioning GPT Partitioning 0 Protective MBR 0 Protective MBR Protective MBR Decimal Hex Primary GPT Header 1 Primary GPT Header 1 Primary GPT Header - Allows compatibility with older systems 2 0 00 Signature “EFI PART” 2 - Single MBR Partition of type 0xEE Partition Entries 8 08 Version Partition Entries 34 12 0C GPT Size in Bytes (92) 34 Primary GPT Header 16 10 CRC32 Checksum of GPT Header Partition 1 Partition 1 - General Layout of the disk 20 14 Reserved 24 18 LBA of Current GPT Structure Partition Entries Partition 2 32 20 LBA of Other GPT Structure Partition 2 - Description of Each Partition 40 28 Start LBA of Partition Area 48 30 End LBA of Partition Area Partition Area . Other Partitions 56 38 Disk GUID Other Partitions Backup Partition Entries . 72 48 Start LBA of Partition Entries . Secondary GPT Header 80 50 Number of Entries in Partition Table EOD-33 Secondary Partition 84 54 Size of Each Partition Table Entry EOD-33 Secondary Partition - Backup Copies Entries Entries EOD-1 88 58 CRC32 Checksum of Partition Table EOD-1 Secondary
    [Show full text]
  • Freebsd Handbook
    FreeBSD Handbook http://www.freebsd.org/doc/en_US.ISO8859-1/books/han... FreeBSD Handbook The FreeBSD Documentation Project Copyright © 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 The FreeBSD Documentation Project Welcome to FreeBSD! This handbook covers the installation and day to day use of FreeBSD 8.3-RELEASE and FreeBSD 9.1-RELEASE. This manual is a work in progress and is the work of many individuals. As such, some sections may become dated and require updating. If you are interested in helping out with this project, send email to the FreeBSD documentation project mailing list. The latest version of this document is always available from the FreeBSD web site (previous versions of this handbook can be obtained from http://docs.FreeBSD.org/doc/). It may also be downloaded in a variety of formats and compression options from the FreeBSD FTP server or one of the numerous mirror sites. If you would prefer to have a hard copy of the handbook, you can purchase one at the FreeBSD Mall. You may also want to search the handbook. REDISTRIBUTION AND USE IN SOURCE (XML DOCBOOK) AND 'COMPILED' FORMS (XML, HTML, PDF, POSTSCRIPT, RTF AND SO FORTH) WITH OR WITHOUT MODIFICATION, ARE PERMITTED PROVIDED THAT THE FOLLOWING CONDITIONS ARE MET: 1. REDISTRIBUTIONS OF SOURCE CODE (XML DOCBOOK) MUST RETAIN THE ABOVE COPYRIGHT NOTICE, THIS LIST OF CONDITIONS AND THE FOLLOWING DISCLAIMER AS THE FIRST LINES OF THIS FILE UNMODIFIED. 2. REDISTRIBUTIONS IN COMPILED FORM (TRANSFORMED TO OTHER DTDS, CONVERTED TO PDF, POSTSCRIPT, RTF AND OTHER FORMATS) MUST REPRODUCE THE ABOVE COPYRIGHT NOTICE, THIS LIST OF CONDITIONS AND THE FOLLOWING DISCLAIMER IN THE DOCUMENTATION AND/OR OTHER MATERIALS PROVIDED WITH THE DISTRIBUTION.
    [Show full text]
  • Acronis® Disk Director® 12 User's Guide
    User Guide Copyright Statement Copyright © Acronis International GmbH, 2002-2015. All rights reserved. "Acronis", "Acronis Compute with Confidence", "Acronis Recovery Manager", "Acronis Secure Zone", Acronis True Image, Acronis Try&Decide, and the Acronis logo are trademarks of Acronis International GmbH. Linux is a registered trademark of Linus Torvalds. VMware and VMware Ready are trademarks and/or registered trademarks of VMware, Inc. in the United States and/or other jurisdictions. Windows and MS-DOS are registered trademarks of Microsoft Corporation. All other trademarks and copyrights referred to are the property of their respective owners. Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder. Distribution of this work or derivative work in any standard (paper) book form for commercial purposes is prohibited unless prior permission is obtained from the copyright holder. DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID. Third party code may be provided with the Software and/or Service. The license terms for such third-parties are detailed in the license.txt file located in the root installation directory. You can always find the latest up-to-date list of the third party code and the associated license terms used with the Software and/or Service at http://kb.acronis.com/content/7696 Acronis patented technologies Technologies, used in this product, are covered and protected by one or more U.S.
    [Show full text]
  • Diskgenius User Guide (PDF)
    www.diskgenius.com DiskGenius® User Guide The information in this document is subject to change without notice. This document is not warranted to be error free. Copyright © 2010-2021 Eassos Ltd. All Rights Reserved 1 / 236 www.diskgenius.com CONTENTS Introduction ................................................................................................................................. 6 Partition Management ............................................................................................................. 6 Create New Partition ........................................................................................................ 6 Active Partition (Mark Partition as Active) .............................................................. 10 Delete Partition ................................................................................................................ 12 Format Partition ............................................................................................................... 14 Hide Partition .................................................................................................................... 15 Modify Partition Parameters ........................................................................................ 17 Resize Partition ................................................................................................................. 20 Split Partition ..................................................................................................................... 23 Extend
    [Show full text]
  • FAQ How to Partition and Format a WD Drive on Windows and Macos Rive Displays a Smaller Capacity Than the Indicated Size On
    FAQ How to Partition and Format a WD Drive on Windows and macOS Answer ID 8200 External hard drives and external solid state drives come pre-formatted and ready for use. Internal HDD and internal SSD drives do not ship pre-formatted and will need to be Partitioned and formatted before being used. Please note the instructions do not differ when formatting different capacity sizes, this is not capacity specific. Critical: The instructions in the article below are designed to help repartition and format a hard drive. This process is Data Destructive and cannot be undone. Once the process begins, ALL THE DATA ON THE DRIVE WILL BE LOST! Important: Please note if this is the first time connecting an external device to a macOS, there is a Reformatting Required for Mac OS Compatibility, please see Answer ID 3879: Reformatting Required for Mac OS Compatibility. Western Digital does not recommend multiple partitions due to potential corruption of the Partition table. The partition table is used to display each partition within the Operating System and if this becomes corrupted it will lead to data loss. rive displays a smaller capacity than the indicated size on the drive label Answer ID 16656 Determining drive capacity can be confusing at times because of the different measurement standards that are often used. When dealing with Windows and Mac based systems, you will commonly see both decimal measurements and binary measurements of a drive's capacity. In either case, a drive's capacity is measured by using the total number of bytes available on the drive.
    [Show full text]
  • UEFI, Booting & Partition Management
    UEFI, Booting & Partition Management Kelvin Cording July 2018 Unified Extendible Interface (UEFI) • Modern computer and Windows are moving away from the traditional MBR based boot- up processes to hardware and software using UEFI • Win 8 introduced UEFI • If Windows 8 is already installed using Legacy BIOS, it can't be converted to UEFI. A new OS installation is required. Understanding a computer boot up process When you hit the power button of your PC, an execution begins that will eventually load the Operating System into memory. This first execution depends on the partition structure of your hard disk. We have two types of partition structures (or formats): MBR and GPT. The partition structure on a drive defines three things: • The structure of data on the drive. • The code used during startup if a partition is bootable. • Where a partition begins and ends. MBR -Master Boot Record GPT Globally Unique Identifier Partition Table = GUID Partition A comparison of GPT and MBR partition structures A comparison of GPT and MBR partition structures (2) Max partition size in MBR is ~2TB whereas in UEFI it is ~9 ZetaBytes One zettabyte (1021) is approximately equal to a thousand exabytes or a billion terabytes. MBR can have at max 4 primary partition whereas GPT can have 128. MBR can store only one bootloader whereas GPT has a separate dedicated EFI System Partition(ESP) for storing multiple bootloaders. The MBR Boot Process Before the BIOS can detect the boot device, it goes through a sequence of system configuration functions starting with: • Power-on-self-test. • Detecting and initializing the video card.
    [Show full text]
  • The Myths of Storage Capacity in Video Surveillance
    The Myths of Storage Capacity in Video Surveillance Methods of measurement can confuse security practitioners when they measure storage capacity… here’s why V1.0 www.intransa.com / Intransa, the VideoAppliance Company® 1 Table of Contents Introduction ........................................................................................................................ 3 Disk Capacity: Disk Manufacturer vs. Windows OS ................................................... 4 Usable Storage System Capacity & Data Protection .................................................. 9 Conclusions ..................................................................................................................... 12 www.intransa.com / Intransa, the VideoAppliance Company® 2 Introduction Video surveillance is one of the fastest growing segments of the physical security industry, and digital, IP-based surveillance is a major portion of that growth. The cameras and video management software (VMS) are the most visible part of a surveillance solution, and are the “sizzle” in any of these system deployments. Yet the underlying platform - composed of servers and storage infrastructure - can represent more than 1/3rd of the cost of a typical deployment, and is often overlooked. Beyond the expense, this is of particular concern because if the underlying infrastructure is not properly designed and deployed, the effectiveness of the cameras and VMS are significantly reduced, and the entire surveillance system may prove ineffective. When considering the surveillance
    [Show full text]
  • How to Partition and Format a WD Drive on Windows and Macos External Hard Drives and External Solid State Drives Come Pre-Forma
    How to Partition and Format a WD Drive on Windows and macOS External hard drives and external solid state drives come pre-formatted and ready for use. Internal HDD and internal SSD drives do not ship pre-formatted and will need to be Partitioned and formatted before being used. Please note the instructions do not differ when formatting different capacity sizes, this is not capacity specific. How to Partition and Format a Drive on Windows 10 and 8.1 Partitioning a hard drive means preparing it to be used by the Operating System (OS), creating a Volume for the OS to use. Formatting, however, deletes the content of a volume to clean it, and assigns a file system to it so that data can be moved into and out of the volume. Both processes are normally done together. Critical: The instructions in the article below are designed to help repartition and format a hard drive. This process is Data Destructive and cannot be undone. Once the process begins, ALL THE DATA ON THE DRIVE WILL BE LOST! Windows 10 includes a built in utility known as Disk Management that can be used to partition and format a hard drive. To partition and format the drive with Disk Management, follow these steps: 1. Right-click on Start, the Windows logo on the bottom-left of the screen, and click Disk Management. 2. In the Disk Management window, the lower pane will display a list of available drives. Identify the drive that needs to be partitioned and formatted, and make sure that all critical data on this drive has been backed up elsewhere.
    [Show full text]
  • Aligning Partitions to Maximize Storage Performance
    An Oracle Technical White Paper November 2012 Aligning Partitions to Maximize Storage Performance Aligning Partitions to Maximize Storage Performance Table of Contents Introduction ......................................................................................... 4 Preparing to Use a Hard Disk ............................................................. 6 How Disks Work.............................................................................. 6 Disk Addressing Methods ............................................................... 7 Hard Disk Interfaces ....................................................................... 7 Advanced Technology Attachment (ATA) ..............................................8 Serial ATA (SATA)..................................................................................8 Small Computer System Interface (SCSI) ..............................................8 Serial Attached SCSI (SAS) ...................................................................8 Fibre Channel (FC).................................................................................8 iSCSI ......................................................................................................8 Storage Natural Block Sizes ........................................................... 9 Applying Partitions to Disk Drives ..................................................... 10 Changing Standards for Partitioning ............................................. 10 How Changing Standards Affect Partition Tools and Alignment... 11 Using
    [Show full text]
  • The GUID Partition Table for BIOS Firmware Hayden Tremethick
    The GUID Partition Table for BIOS Firmware Hayden Tremethick This discussion is limited to disk drives with 512 byte sectors Linux only machines. Modern drives are increasingly useing 4096 byte sectors. The original Master Boot Record (MBR) based partition scheme uses the first 512 bytes (Sector 0) of a boot disk to hold 446 bytes of code, the Stag 1 boot loader (boot.img). Following this is the data for a maximum of four primary partitions. or three primary and one extended partition. GRUB2 Stage 1 loads stage1.5 (core.img) into RAM, hands over control to GRUB2 and exits. GRUB2 Stage 1.5 is written tn the sectors between the MBR and the first partition GRUB2 Stage 1.5 (core.img) is located in the space between the boot sector and the first partition. Stage 1.5 contains a few common filesystem drivers, such as the standard EXT and other Linux filesystems, FAT, and NTFS. Stage 1.5 locates the stage 2 files in the /boot filesystem and loads the needed drivers. Stage 2 files are located in the /boot/grub2 directory and several subdirectories and are loaded as needed. The function of GRUB2 stage 2 is to locate and load a Linux kernel into RAM and turn control of the computer over to the kernel. The kernel and its associated files are located in the /boot directory. The kernel files are identifiable as they are all named starting with vmlinuz. GRUB2 supports booting one of a selection of kernels. By default, GRUB provides a pre-boot menu of the installed kernels, including a rescue option and, if configured, a recovery option.
    [Show full text]
  • The Disk Management
    www.installsetupconfig.com The Disk Management What do we have in this session? Introduction Disk Devices and Partitions Basic and Dynamic Disks Basic Disks Dynamic Disks Partition Styles Master Boot Record GUID Partition Table Detecting the Type of Disk Defining an MS-DOS Device Name Managing Disk Quotas User-level Administration of Disk Quotas System-level Administration of Disk Quotas Disk Quota Limits Disk Quota Interfaces Disk Management Control Codes Disk Management Enumeration Types MEDIA_TYPE Enumeration Definition Constants PARTITION_STYLE Enumeration Definition Constants Disk Management Functions CreateFile() Function Parameters Return Value Symbolic Link Behavior Caching Behavior Files Synchronous and Asynchronous I/O Handles File Streams Directories Physical Disks and Volumes Changer Device Tape Drives Communications Resources Consoles Mailslots Pipes 1 www.installsetupconfig.com Opening a File for Reading or Writing Example: Open a File for Writing Example: Open a File for Reading How Do I Get the Security tab in Folder Properties? Calling DeviceIoControl() Program Example DeleteFile() Function Parameters Return Value Remarks Symbolic link behavior Deleting a File Program Example Another Deleting File Program Example GetDiskFreeSpace() Function Parameters Return Value Remarks GetDiskFreeSpaceEx() Function Example Parameters Return Value Remarks Notes on 64-bit Integer Math Disk Management Interfaces Disk Management Structures Disk Partition Types Introduction A hard disk is a rigid disk inside a computer that stores and provides relatively quick access to large amounts of data. It is the type of storage most often used with Windows. The system also supports removable media. The file system provides an abstraction of the physical characteristics of storage devices so that applications can simply write to and read from files.
    [Show full text]