Which AMD Processor Feature Protects Against Malicious Code?

TIME : 2016-01-07
Which AMD Processor Feature Protects Against Malicious Code?

The answer is the NX bit — short for No Execute, and marketed by AMD as Enhanced Virus Protection.

What it does

Modern attacks frequently work by tricking a program into treating data as instructions, then running that injected code. The NX bit marks regions of memory as data-only, so the processor refuses to execute anything held there. A great many buffer-overflow exploits simply stop working when the target page is flagged non-executable.

Requirements

The feature is only effective when the operating system supports it and has it enabled. Windows and Linux both do, using it as a hardware-backed layer underneath their own software defences such as address space layout randomisation.

Intel implements the same capability under the name XD (Execute Disable), so the underlying mechanism is common to both vendors despite the different labels.