Chromium SSL Hook for Inspection

Chromium & Hooks · 2025-01-05

Chromium SSL Hook for Inspection


Chromium’s network stack can be hooked to inspect or log SSL traffic for debugging, security testing, or parental controls. This post outlines where to hook and how to do it safely.


Target Functions


Common hook points include SSL_read / SSL_write, or Chromium’s internal BoringSSL wrappers. We use a minimal hook that logs or forwards to your analyzer without breaking certificate validation in normal use.


Architecture


  • Inject into the browser process (or use a proxy process).
  • Resolve BoringSSL/OpenSSL symbols from the loaded modules.
  • Install inline or IAT hooks and ensure thread safety.

Repository


Full source and build instructions: Hook-Chrome-Chromium-SSL.