Exploring the iOS filesystem

Although a majority of our filesystem exploration will be interesting only when the device is jailbroken, it is also possible to access the filesystem on non-jailbroken devices and explore the files that are available. This is possible only when the device is paired with a PC. The latest versions of iOS (7 and later) introduced a new feature that when a device is plugged in to a PC for pairing, the user is prompted to either trust the computer or not; earlier versions allowed pairing without issuing any alerts.

Some important file locations are summarized here:

  • /Applications: All the system applications are stored in this location
  • /var/mobile/Applications: Third-party applications are stored here; this has been replaced ...

Get Mobile Application Penetration Testing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.