27.11.2014 Views

MJ0011 - Windows 10 Control Flow Guard Internals

MJ0011 - Windows 10 Control Flow Guard Internals

MJ0011 - Windows 10 Control Flow Guard Internals

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Initialize Load Config and Bitmap<br />

• LdrpCfgProcessLoadConfig<br />

• Check PE Headers->OptionalHeader.DllCharacteristics<br />

• IMAGE_DLLCHARACTERISTICS_GUARD_CF flag<br />

• Set LoadConfig-><strong>Guard</strong>CFCheckFunctionPointer<br />

• LdrpValidateUserCallTarget<br />

• Initialize LdrSystemDllInitBlock<br />

• +0x60 : Bitmap Address<br />

• +0x68 : Bitmap Size<br />

• Initialized by PspPrepareSystemDllInitBlock<br />

• NtCreateUserProcess->PspAllocateProcess->PspSetupUserProcessAddressSpace

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!