How iOS Works — Architecture and the Sandbox

Free lesson 1 of 12 from iOS for Beginners — How iOS works, its security model, and how to set up for testing. No account, no card.

Start with the mental model

Before you ever try to test an iOS app, you need to understand what iOS actually is. This is the foundation course — it comes before the advanced "iOS Application Security" course. Here you learn how the platform is built and how to prepare a safe lab, all on your own devices. We stay conceptual and setup-focused: no real exploitation.

How each lesson works

There are no videos. You learn by reading the theory, then looking at the tools and the method, then doing the challenge yourself. Stuck? Every challenge has a Show solution. Read, then do — that's how it sticks.

The stack, from the bottom up

Together these make iOS very hard to tamper with — which is exactly why testing it takes preparation.

🛠 Tools

⚙️ Method

  1. Read the four layers above and picture how a tap on an app flows down to the kernel and back.
  2. On your own device, open Settings > General > About and note the iOS version and model.
  3. Write one sentence explaining, in your own words, why the sandbox stops one app reading another's files.
🎯 Challenge: On a device you own, find your exact iOS version and model, then explain in one sentence each what the sandbox and code signing protect against.
Show solution
  • Version/model: Settings > General > About → read "Software Version" and "Model Name".
  • Sandbox: it isolates each app in its own container, so a malicious or buggy app can't read another app's data or roam the filesystem.
  • Code signing: only code signed and trusted by Apple runs, so an attacker can't quietly swap in modified or unsigned code.

⚖️ For authorized, legal use only — practise on your own devices, apps and lab.

Liked it? 11 more lessons are waiting.

12 lessons · knowledge checks · final exam · verifiable certificate

Unlock all courses · CHF 9/month Buy only this course · CHF 19

What's in iOS for Beginners

Continue in the interactive course reader →