DescriptionSandbox policy and intercepts for the MITIGATION_WIN32K_DISABLE policy for renderer processes.
This policy when set will prevent the renderer process from making Win32K.sys calls via user32/gdi32 on
Windows 8 and beyond.
The following intercepts are needed for getting basic renderer functionality.
1. gdi32!GdiDllInitialize:
2. gdi32!GetStockObject.
3. user32!RegisterClassW.
The above functions are called during renderer process initialization. We intercept these APIS by
EAT patching the corresponding dlls and return fake success values from those.
The intercepts live in the process_mitigations_win32k_interception.cc/.h files. The rest of the changes
are plumbing with the sandbox policy framework.
While basic renderers work well now on Windows 8, pepper flash does not as it sends an IPC to the renderer
to creating the transport DIB. Justin is aware of this problem and thinks we can workaround this.
BUG=365160
Added gdi and user32 interceptors for the win32k lockdown project.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276407
Patch Set 1 #Patch Set 2 : Fixed comment #
Total comments: 37
Patch Set 3 : code review comments #
Total comments: 2
Patch Set 4 : Code review comments tests #
Total comments: 22
Patch Set 5 : #
Total comments: 6
Patch Set 6 : Code review comments #Patch Set 7 : Rebased with conflicts resolved #Patch Set 8 : Fixed presubmit warnings #Messages
Total messages: 27 (0 generated)
|