Archive for the ‘Forensics’ Category

Running Concurrent Versions of iTunes

Tuesday, May 11th, 2010

In my forensics classes, I get a lot of requests for help to run two different versions of iTunes, as different versions provide different functionality and interoperability depending on the device and firmware version. This is a quick how-to to set up a Mac with iTunes 9 and iTunes 8.1.1 in such a way that you can run a simple shell command to switch between the two, with a reboot in-between. The following files/directories are specific to each version of iTunes. As a result, you’ll need a separate copy for each version you want to switch between:

  • /Applications/iTunes.app
  • /System/Library/PrivateFrameworks/iTunesAccess.framework
  • /System/Library/PrivateFrameworks/MobileDevice.framework
  • /System/Library/PrivateFrameworks/DeviceLink.framework
  • /System/Library/PrivateFrameworks/CoreFP.framework
  • /System/Library/Extensions/AppleMobileDevice.kext
  • ~/Music/iTunes

What we’ll do is install iTunes 9, move these files into an archive, then install iTunes 8.1.1 and do the same. Using symbolic links, you’ll be able to set up an alias to simply point to the desired version of iTunes.
(more…)

iPhone Forensic Method FAQ

Thursday, September 17th, 2009

A few have written in with questions about the latest version of the “Zdziarski” method of iPhone forensic recovery, which is used in the automated tools available free to law enforcement agencies worldwide. This is a quick rundown of the most frequently asked questions.

Q. Does this method “jailbreak” the device?
No. In fact, the latest method has an extremely lightweight footprint and the device will boot back into its normal operating mode once the imaging process is complete. The latest methods do not rewrite the operating system, do not patch the NOR, do not patch the kernel, do not grant the examiner access to the device, and do not require a system restore. All of the available automated forensic tools on this site have been updated to use these new methods. The new technique does not even use the 24KPWN exploit, widely touted by the hacking community.

(more…)

Bypassing iPhone 3G[s] Encryption

Friday, July 24th, 2009

Bypassing Passcode and Backup Encryption:
    http://www.youtube.com/watch?v=5wS3AMbXRLs

Forensic Recovery of Raw Disk:
    http://www.youtube.com/watch?v=kHdNoKIZUCw

What Data Can You Steal From an iPhone in 2 Minutes?
    http://www.youtube.com/watch?v=34f47m-lYSg

These YouTube videos demonsrate just how easy it is to bypass the passcode and backup encryption in an iPhone 3G[s] within only a couple of minutes’ time. A second video shows how easily tools can pull an unencrypted raw disk image from the device. The seriousness of the iPhone 3G[s]‘ vulnerabilities may make enterprises and government agencies think twice before allowing these devices to contain confidential data. Apple has been alerted to and aware of these vulnerabilities for many years, across all three models of iPhone, but has failed to address them.

The 3G[s] has penetrated the government/military markets as well as top fortune-100s, possibly under the misleading marketing term “hardware encryption”, which many have taken at face value. Serious vulnerabilities such as these threaten to put our country’s national security at risk. Apple’s only fix thus far has been to consistently put a few nails on the front door, but they have thus far failed to fix the major underlying design issues that allow for this threat. Unfortunately, the only way Apple seems to listen is through addressing such problems publicly, as all previous attempts to talk with them have failed. I sincerely hope they fix these issues before a breach occurs.

iPhone Forensics Research for Law Enforcement

Tuesday, July 21st, 2009

Law enforcement agencies have the toughest challenge in mobile forensics: not only do they have to get data off the phone of a pedophile, rapist, or murderer, but they have to do it in a forensically sound manner that can be reproduced and explained in a court of law. I have created a new site, iphoneinsecurity.com to make all of my latest research and automated tools to iPhone forensics available to law enforcement agencies. I require that those with access be full time, sworn officers with agencies having arrest and search and seizure powers. A contact address also exists to request access. In addition to the restricted content, many public articles and announcements are also posted by law enforcement officers and other experts in the field, so head on over and check it out.

Seven Deadly iPhone Sins: What Every Enterprise Should Know

Tuesday, July 14th, 2009

With buzzwords like, “hardware encryption” and “remote wipe”, many enterprises have been misled into believing that the iPhone 3G[s] is secure enough to store confidential correspondence or other information. Apple is no doubt pushing the enterprise market, but is the iPhone truly secure enough?

While this subject truly warrants a complete white paper, take the following points into consideration. The following apply not only to the iPhone 3G[s], but also to earlier generation devices. Here are the top seven things every enterprise should know about the iPhone:

(more…)

Good White Paper on iPhone Forensic Methods

Sunday, July 5th, 2009

Andrew Hoog, Chief Investigative Officer at Via Forensics, put together a good summation of the available forensics techniques for recovering data from the iPhone. This paper is a few months old, so it doesn’t cover my latest USB method (which is much faster and easier), but he does cite my original method from the book, along with some other useful methods. Depending on what kind of information you want to get, there are different techniques you can use. Andrew has informed me this paper will be updated shortly so keep an eye out for a new edition.

iErase: Zero Free Space

Monday, March 23rd, 2009

After a ridiculously long three long months of waiting, iErase: Zero Free Space is finally available in the App Store. Buy it now in the iTunes App Store.

The first and only app for the 99.9% of us law abiding citizens who deserve better privacy.

Want to make sure a deleted confidential email or embarrassing photo is purged forever from your iPhone, but don’t want to go through the inconvenience of wiping the entire device? Simply deleting a file doesn’t guarantee it’s gone for good. Protect your deleted data from being recovered by hacking tools and prying eyes, or in the event your iPhone is stolen.

iErase is a simple utility for zeroing out the free space on your iPhone without performing a full reset of your content and settings. The tool does not delete any live files, but uses the same method that Mac OS X uses to zero free space: it creates a large temporary file, which writes zeroes over the free space where deleted files can still reside. On the iPhone, this occurs within the application’s sandbox, but because all applications share the same free space, the entire iPhone user partition is cleansed, forever purging deleted photos, email, voicemail, and other deleted files – without having to reset all your content and settings.

Plugging the iPhone Screenshot Leak

Saturday, September 20th, 2008

I recently did a forensics webinar about cracking the iPhone’s passcode, in which I demonstrated some of the techniques from my latest book. I cited the fact that the iPhone takes screen grabs every time you push the home button, so that the 3D “zoom” effect can be processed when the application zooms in and out, when suspending and resuming applications. Many people asked me if there was a way to disable this writing to disk, so that screenshots couldn’t be recovered forensically. I did some further digging and found that the screenshots themselves actually get written to /var/mobile/Library/Caches/Snapshots. If you delete this folder and symlink it to /dev/null, the screenshots don’t get written to disk. The side effect to this is that when resuming an application, you’ll get the default screen in the zoom-in effect. Once the application resumes, however, you’ll have your application screen back. For example, your mail application will always zoom to the front as if you had an empty inbox, but will quickly correct itself once the application resumes. On a jailbroken iPhone, you can disable these screenshots with the following commands:

(more…)

File Vault’s Dirty Little Secrets

Tuesday, January 1st, 2008

File Vault is the encryption mechanism used to protect user accounts on Apple’s Mac OS X file system. While disabled by default, many people rely on file vault to protect their personal data. Many criminals, no doubt, also use file vault to encrypt content that would otherwise be incriminating. The security offered by an encrypted volume comes at a price – Apple’s closed source approach has left a significant amount of ambiguity about how the system actually works, and many erroneous assumptions have left holes for data to be recoverable. Among these misconceptions are the idea that raw data inside a vault cannot be accessed, and the erroneous belief that mechanisms such as Apple’s free space wipe will remove deleted data. This brief how-to shows you how to obtain a raw disk image from a file vault, and illustrates that deleted data can be recovered. It also shows that mechanisms like Disk Utility’s “Erase Free Space” option doesn’t affect the deleted contents inside a vault.

(more…)