MobDojoStart learning free

Exploits, Tools & Data Recovery · Course 2

Bug Classes & Mitigations

The kinds of bugs attackers use and the defenses that stop them.

5 lessons64 min totalBadge: Mitigator

About this course

Most serious attacks start with a single bug, and those bugs come in a few recognizable kinds. This course explains them in plain terms, along with the defenses phone makers build so that one bug alone isn't enough to take over a phone.

You'll picture memory safety bugs like out-of-bounds writes and use-after-free with everyday comparisons, and see why code written in C and C++ is prone to them. You'll meet logic bugs, where memory is fine but the rules are wrong, such as missing permission checks and helpers that can be tricked into acting for someone else. You'll learn what sandboxing, address randomization, non-executable memory, signed pointers and memory tagging do, and why attacks now need chains of bugs. You'll also see how Rust and Swift remove whole classes of bugs, and why switching languages takes years. The final challenge has you sort three bug reports for a messaging app and pick the right defense for each.

Lessons

Hands-on

Do it on the simulated phone

Lessons have labs you can try in your browser, plus questions that earn points toward the Mitigator badge.

Start lesson 1