Letting users block injected third-party DLLs in Firefox
Firefox 110 lets Windows users block specific injected third-party DLLs from the about:third-party page, which also flags DLLs linked to past crashes. Telemetry shows over 70% of Windows users have such DLLs loaded and just over 2% of Windows crash reports land in third-party code. Blocking works because a launcher process starts the browser suspended and passes the blocklist through a file mapping handle written with WriteProcessMemory(). A homegrown hooker intercepts NtMapViewOfSection() using either a 5-byte hot-patch on x86 or a 13-byte r11 jump plus trampoline on x64, with complications around relative jumps, Control Flow Guard, unwind info and Import Address Table injection.
Related posts
- Improved Process Isolation in Firefox 100
Mozilla Hacks hardMasterFirefox 100 enables Win32k Lockdown on Windows, using PROCESS_MITIGATION_SYSTEM_CALL_DISABLE_POLICY to block web content processes from calling the historically exploitable win32k.sys kernel APIs. Getting there meant moving every graphics and widget operation out of the content process. Painting moved to WebRender in the GPU process, Canvas 2D is recorded and replayed over IPC, and WebGL gained a validating child/parent API. Form controls are now drawn by Firefox itself instead of as native widgets, complex-script line breaking is forwarded over IPC with caching, and a fix stops injected third-party DLLs from breaking COM. Skipping those DLLs also made opening new tabs about 15% faster, and equivalent lockdowns of WindowServer on macOS and X11 on Linux sped process startup by 30-70% on Mac.
- VirtualBox Process Hardening on Windows 2026 Edition: What’s a Single Bit Between Friends?
Google Project Zero hardMasterThe .NET Framework v4 loader falls back from an image-section mapping (SEC_IMAGE) to a plain data mapping (FlatImageLayout) whenever NtCreateSection fails with STATUS_INVALID_IMAGE_FORMAT, so assemblies can execute without passing image-based DLL verification. In VirtualBox's hardened processes (CVE-2026-87268), the NtCreateSection hook returned exactly that status for any AnyCPU assembly, because the 32-bit x86 PE contains executable code and triggers VERR_LDR_ARCH_MISMATCH. Combined with COM hijacking, this loaded arbitrary code into the protected process. The same trick reaches Windows code integrity (WDAC, protected processes) by clearing a single bit, IMAGE_FILE_EXECUTABLE_IMAGE: the kernel then refuses to map the file as an image but .NET ignores the flag, so the attack is blocked only when a WLDP check finds UMCI or Dynamic Code Security enforced.
- Improving Firefox stability with this one weird trick
Mozilla Hacks mediumAdeptOut-of-memory crashes on Windows are often caused by exhaustion of commit space rather than physical RAM, since Windows forbids overcommit and graphics drivers commit memory for texture backing that is rarely used. Firefox 105 stops crashing immediately on a failed allocation and instead stalls briefly and retries, giving Windows time to grow the swap file or letting a memory-hungry content or GPU process die and free memory. The change cut out-of-memory browser crashes per usage hour by more than 70%, at the cost of brief jank and a small rise in tab crashes that Mozilla is now working to reduce.
- WebAssembly and Back Again: Fine-Grained Sandboxing in Firefox 95
Mozilla Hacks mediumAdeptFirefox 95 ships RLBox, a fine-grained sandboxing technique that compiles third-party C/C++ libraries (Graphite, Hunspell, Ogg, with Expat and Woff2 following in 96) to WebAssembly and then back to native code, so untrusted code runs in-process but cannot jump to unexpected code or touch memory outside its region. This avoids the asynchrony refactoring and memory overhead of process-based isolation, needing only sanitization of values crossing the boundary via RLBox's tainting layer. The production pipeline replaced the Cranelift prototype with wasm2c, translating wasm to C and feeding it back into Clang, which preserves PGO, cross-boundary inlining, crash reporting and debugger support. Mozilla now pays bug bounties for sandbox escapes even without a library vulnerability.
- Exploiting vulnerabilities in Cellebrite UFED and Physical Analyzer from an app's perspective
Signal easyNovice
Cellebrite's UFED and Physical Analyzer, whose main job is parsing untrusted app data pulled from seized phones, lack standard exploit mitigations and bundle FFmpeg DLLs from 2012 that miss over a hundred security fixes. A specially formatted file placed in any app on a scanned device can run arbitrary code on the Cellebrite machine. That code could silently alter past and future forensic reports without timestamp or checksum changes. The software also appears to redistribute Apple-signed iTunes DLLs without a license, and Signal hints that future versions will place such files in app storage.