Existing users, log in.  New users, create a free account.  Lost password?

Keeping Your iPhone From Spying on You

Posted 22 September 2008 @ 5am in Security

As widely reported, the iPhone takes a screenshot every time the home button is pressed so that the 3D “zoom” effect can be processed when the application zooms in and out, when suspending and resuming applications. These shots are stored, at least temporarily, on the device, presenting potential privacy issues.

Jonathan Zdziarski, author of the book iPhone Open Application Development and an iPhone Forensics manual, has deviced a way to disable this writing to disk, so that screenshots cannot be recovered.

He writes: “(I) 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:

  1. # rm -rf /var/mobile/Library/Caches/Snapshots
  2. # ln -s /dev/null /var/mobile/Library/Caches/Snapshots

“To return to the default behavior, just delete the symlink and the directory will get recreated. Mind you, this has no effect on the many other pieces of data stored on the iPhone, and therefore your iPhone will always be at risk for leaking private data, especially to seasoned forensic examiners. Use at your own risk.”

Feedback? http://www.iphoneatlas.com/contact.

[ Digg this  |  Bookmark on del.icio.us ]

Print This Post Print This Post

1 Comment

Posted by versiontracker2007
22 September 2008 @ 9pm

Oh cummon - I wouldn’t sacrifice that nice effect just for some “the sky’s falling in” privacy issue…who’s gonna dig into my iPhone (which i don’t even have yet ;p) just to see some screenshots? I mean - my current Treo has lots personal data in there, but no one’s cracked it yet!

You must log in or register to post a comment.