Disabling Windows DEP for Basic Exploitation Practice

· 5:08 · Watch on YouTube ↗

Summary

A tutorial demonstrates disabling Windows Data Execution Prevention (DEP) through a boot configuration setting, the Windows settings interface, or a binary’s NX compatibility flag. The presenter notes the boot setting requires a reboot and the binary flag may not always

Key points

  • The presenter demonstrates changing the NX setting with an elevated command prompt and says the change requires a reboot.
  • A Windows settings interface offers DEP options for Windows programs and services, including exceptions.
  • The tutorial shows changing a PE binary’s NX compatibility flag and checking the result with binary inspection utilities.
  • The presenter says changing the binary flag does not always resolve the issue; the boot configuration change is described as the more reliable option in their experience.

Article Details

Topics
  • [00:00] DEP and the tutorial’s basic exploitation-learning context
  • [00:27] Changing the NX setting through an elevated command prompt
  • [01:53] DEP settings and program exceptions in Windows
  • [02:35] Editing and verifying a PE binary’s NX compatibility flag

People

Products

Tools

Related Articles