Software and web application security

March 9, 2005

OpenBSD built in exploit protections

Filed under: OpenBSD — chrisweber @ 8:54 pm

Presentation by Theo de Raadt
Exploit Mitigation Techniques (updated to include random malloc and mmap

Talks about stack gaps and W^X (write or execute) memory protections.

Running i386 the W^X protection is implemented as a code segment limit (a line in the sand), or PAE NX. Older i386 cpus do not support the X bit per page, the kernel can implement a line in the sand, indicating a point in the stack at which nothing s Xecutable.

But, some newer i386 cpus support the NX bit, or no execute

Blog at