how to turn off DEP (Data Execution Prevention) without reboot?

前端 未结 3 2093
无人及你
无人及你 2021-01-22 16:14

I\'m writing a test webpage which calls into a function in a DLL file. But every time before i use IE or FF to open it i have to disable DEP(Data Execution Prevention) or the sc

相关标签:
3条回答
  • 2021-01-22 16:41

    You can't disable it for a given process after it's enabled, but SetProcessDEPPolicy might help.

    If you need to disable it for during boot, you'd have to set the nx boot entry with BCDEdit /set.

    0 讨论(0)
  • 2021-01-22 16:52

    Buffer overflow exploits for windows will often call SetProcessDEPPolicy() after they have gained control of the instruction pointer(EIP). This step is used to make shellcode executable.

    0 讨论(0)
  • 2021-01-22 16:59

    In linux, you can use the compiler flag "-z execstack"

    0 讨论(0)
提交回复
热议问题