/>

101 Chrome Exploitation — Part 0: Preface

Back

This will be an introductory course to exploiting browsers. Not just covering a few JIT bugs and common renderer process exploits, we'll take an in-depth look at the entire browser structure, security layers and understand how a chain is built, how to assemble each part and turn memory corruptions or invalid states into exploits. And there's no better way than an introduction analyzing a complete functional full-chain up to Chrome 130!

Don't worry about understanding everything described in this preface, all the subjects covered here are for demonstration purposes only; in future articles, we'll go into more detail on each of the topics presented here. As a prerequisite you only need to have a basic knowledge of exploitation (ROP, heap corruptions such as UAF, heap-overflow, etc.) and general computer architecture (what processes are, general OS functions, OS interactions, etc.).

What will be covered

Browser Architecture Fundamentals

  • Browser architecture
  • Analyze process models
  • Identify attack surfaces in browser components

Topics Covered

  1. Core Browser Components
  2. Process Models and Isolation
    • - Multi-process architecture evolution
    • - Privilege separation boundaries
  3. Memory Management
    • - Heap allocators in browsers (PartitionAlloc, Oilpan, jemalloc)
    • - Garbage collection strategies
    • - Exploitation techniques and protections
  4. JavaScript Engine Internals
    • - JIT compilation pipeline
    • - Type systems and optimizations

Practical Exercises

  • Extract simple dump and identify objects from a specific cache, understanding the layout in memory from the debugger.

Common Browser Vulnerability Patterns

  • Identify and classify browser vulnerabilities
  • Understand vulnerability root causes
  • Analyze real-world browser bugs

Topics Covered

  1. Memory Corruption Vulnerabilities
    • - Use-after-free patterns and triggers
    • - Buffer overflow scenarios in browsers
    • - Type confusion in JavaScript engines
    • - Heap corruption techniques
  2. Logic Flaws and Design Issues
    • - Invalid states
    • - Discrepant implementation with Spec
  3. Parser Vulnerabilities
    • - HTML, CSS parsing edge cases
    • - JavaScript parser exploitation
    • - SVG and XML parsing corruptions
  4. Concurrency Issues
    • - Race conditions in multi-process browsers
    • - Time-of-check-time-of-use (TOCTOU) bugs
    • - Worker thread vulnerabilities

Practical Exercises

  • CVE analysis and reproduction
  • Root cause analysis practice

Case Studies

List of CVEs, I'll choose interesting cases ca