Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
8
rated 0 times [  8] [ 0]  / answers: 1 / hits: 6153  / 2 Years ago, sat, december 4, 2021, 11:21:24

Is there Exec Shield buffer overflow protection for Ubuntu?



I tried to enable Exec Shield on Ubuntu 12.04 with the following command



sudo sysctl -w kernel.exec-shield=1


but it said



error: "kernel.exec-shield" is an unknown key


If not, what is the equivalent solution for Ubuntu and how can I install and enable it?


More From » kernel

 Answers
4

Ubuntu has NX protection enabled by default. This either uses hardware NX when the CPU supports it, or uses NX emulation in the kernel (the equivalent of the Red Hat Exec Shield patch).



For more information, visit:
https://wiki.ubuntu.com/Security/Features



more specifically:
https://wiki.ubuntu.com/Security/Features#nx


[#33811] Monday, December 6, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
suspengn

Total Points: 477
Total Questions: 104
Total Answers: 100

Location: Rwanda
Member since Thu, Feb 10, 2022
2 Years ago
suspengn questions
;