NX Bit

The NX bit, which stands for Never eXecute, is a technology used in CPUs to segregate areas of memory for use by either storage of processor instructions (or code) or for storage of data, a feature normally only found in Harvard architecture processors. However, the NX bit is being increasingly used in conventional von Neumann architecture processors, for security reasons.

An operating system with support for the NX bit may mark certain areas of memory as non-executable. The processor will then refuse to execute any code residing in these areas of memory. The general technique, known as executable space protection, is used to prevent certain types of malicious software from taking over computers by inserting their code into another program's data storage area and running their own code from within this section; this is known as a buffer overflow attack.

Intel markets the feature as the XD bit, for eXecute Disable. AMD uses the name Enhanced Virus Protection. The ARM architecture refers to the feature as XN for eXecute Never; it was introduced in ARM v6.

Read more about NX Bit:  Hardware Background, Software Emulation of Feature, OS Implementations, Functional Comparison of Technologies

Famous quotes containing the word bit:

    One certainly has a soul; but how it came to allow itself to be enclosed in a body is more than I can imagine. I only know if once mine gets out, I’ll have a bit of a tussle before I let it get in again to that of any other.
    George Gordon Noel Byron (1788–1824)