Zpes / pte-protect

30 stars 11 forks source link

Flipping RW bit BSOD #2

Open marfixdev opened 6 months ago

marfixdev commented 6 months ago

When flipping RW bit it gives BSOD. It's fine when flipping NX bit but RW bit flip doesn't work.

marfixdev commented 6 months ago

What I did was. Allocated PAGE_READONLY memory from UM and setting RW bit afterwards but after that I also checked Present bit and Accessed bit was 0

Zpes commented 6 months ago

Yea, so you gotta access the page before you can actually flip the rw bit.

On Wed, 28 Feb 2024 at 17:24, marfixdev @.***> wrote:

What I did was. Allocated PAGE_READONLY memory from UM and setting RW bit afterwards but after that I also checked Present bit and Accessed bit was 0

— Reply to this email directly, view it on GitHub https://github.com/Zpes/pte-protect/issues/2#issuecomment-1969358483, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJVQTDNX5MGADKIDNQGMVDLYV5K3LAVCNFSM6AAAAABD6H6YXKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRZGM2TQNBYGM . You are receiving this because you are subscribed to this thread.Message ID: @.***>