Skip to Content
iPhone Forensics
book

iPhone Forensics

by Jonathan Zdziarski
September 2008
Intermediate to advanced
140 pages
3h 31m
English
O'Reilly Media, Inc.
Content preview from iPhone Forensics

Mounting the Disk Image

When you transmit the disk image from an iPhone, you’re getting a complete HFS/X filesystem (or HFS+ if you converted it). As a filesystem, this can be mounted on a Mac or Windows machine with a little work.

Note

Be sure you are working with a copy of the disk image by now, and not the original. The section Unencrypted Recovery in Chapter 4 explains why.

Disk Analysis Software

Before the disk image can be mounted, you may need to perform certain tasks or install software so that your computer can properly read the disk image.

Mac OS X and native HFS support

Mac OS X supports the HFS+ filesystem natively, so it is already able to read the disk image without any additional software. You’ll need to rename the file you downloaded, however, to have a .dmg extension. You can then directly mount it from the finder:

$ mv rdisk0s2 rdisk0s2.dmg
$ hdid –readonly rdisk0s2.dmg

Once mounted, the volume should appear on the desktop and on the Finder’s sidebar, listed under Devices. It can then be browsed to with the Finder or examined using Unix tools from a terminal window. The volume will be mounted in /Volumes.

Windows and HFSExplorer

Windows doesn’t understand the HFS/X disk image format by default, so you’ll need a tool that’s capable of reading the format. HFSExplorer is an application that can extract files from an HFS+ volume and load raw image files such as the one you dumped from the iPhone. It is published under the GNU General Public License (GPL) and is freely available ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

iPhone and iOS Forensics

iPhone and iOS Forensics

Andrew Hoog, Katie Strzempka

Publisher Resources

ISBN: 9780596153588Errata Page