Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. Data Execution
Prevention is a security feature included in modern operation systems.
It is available in Linux, Mac OS X and the newer Microsoft Windows
operating systems and is intended to prevent an application or service
from executing code from a non-executable memory region. This helps
prevent certain exploits that store code via a buffer overflow, for
example. DEP runs in two modes: hardware-enforced DEP for CPUs that can
mark memory pages as nonexecutable, and software-enforced DEP with a
limited prevention for CPUs that do not have hardware support.
Software-enforced DEP does not protect from execution of code in data
pages, but instead from another type of attack. DEP was introduced on
Linux in 2000, on Windows in 2004 with Windows XP Service Pack 2, while
Apple introduced DEP in 2006.