Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8142295
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T12:46:10+00:00 2026-06-06T12:46:10+00:00

I am finding it really hard to figure out why we need a DEP!

  • 0

I am finding it really hard to figure out why we need a DEP!

Microsoft states this about DEP:

The primary benefit of DEP is to help prevent code execution from data
pages.

Typically, code is not executed from the default heap and the stack.
Hardware-enforced DEP detects code that is running from these
locations and raises an exception when execution occurs.

Software-enforced DEP can help prevent malicious code from taking
advantage of exception-handling mechanisms in Windows
.

What that means?

Can you give me a simple non-code example for this!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T12:46:13+00:00Added an answer on June 6, 2026 at 12:46 pm

    Say I am an attacker, and I have found a vulnerability which (solely) allows me to set EIP – the program counter – in your application.
    The classic way to exploit this is to write a small code stub (‘shellcode’) and send it to your application as some parameter (so it might be put into the ‘first name’ field on a banking app, for example). Your application would store it in a stack (or heap) buffer, and I could then set EIP – using the vulnerably I found – to point to the start of this buffer. Voila, my code stub is executed, and your box is pwned 🙂

    Using DEP, the CPU knows to reject attempts to execute this data, and you’re a little bit safer.

    It’s a tad more complex than this in practice, but that’s the gist of it. Does that make sense?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm really having a problem finding out how to fix this. I cannot seem
I'm new to Simple.Data. But i'm having a really hard time finding out how
I'm having a really hard time finding an answer for this, with such generic
I really like the magento structure but finding things is very hard ;) My
Finding the answer to this is turning out to be much more difficult than
I'm new to Perl and I really need help witch a specific issue. I
I'm having a really hard time finding a good comprehensive source for Mechanize's documentation.
This may be a really simple problem to some people, but I'm finding it
I'm having a really hard time figuring out the scoping issue with the following
I'm having some hard trouble finding the answer for this Is there anyway to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.