<p>That's a really good book that I use with my students!</p>
<p>The book comes with a CD that has an image that you can run in Oracle VirtualBox.  You'll also find all of the book examples preloaded there, and the text outputs in the book itself are from that system.  IIRC, it's a dated system from the early 90's with all sorts of protections disabled.</p>
<p>Obviously, &quot;Hacking: The Art of Exploitation&quot; is not meant to show you anything especially modern, but instead it guides you through hands-on exploits and teaches foundational ideas about how hacking really works.  It's a wild ride - enjoy it!</p>

CC BY-SA 4.0
2023-02-27T19:03:42.507Z
2023-03-02T14:48:35.337Z
2023-03-02T14:48:35.337Z
Ben I.
<p>I am reading the book: Hacking: The Art of Exploitation, and the author has provided examples of buffer overflow attacks and nop-sled exploits.</p>
<p>I somehow can’t run these examples on my MacOS/Linux as they seem to have patched these vulnerabilities.</p>
<p>Is there an Operating System which is so basic when it comes to security, that I can play around with these exploits?</p>

CC BY-SA 4.0
2023-05-05T03:44:29.370Z
You should be able to run these on Linux, you just need an exploitable program. Any good hacking challenge should include some buggy programs for you to hack :) Notice you are learning the techniques, not how they apply to an OS - necessarily, because if the OS had them long enough for them to get into a book, the OS is crap.
Criticize SE actions means ban
<security><operating-systems>
Which OS is best if I want to play around with exploits?
# Which OS is best if I want to play around with exploits?

(Asked by: username_0 on 2023-02-27)

I am reading the book: Hacking: The Art of Exploitation, and the author has provided examples of buffer overflow attacks and nop-sled exploits.

I somehow can’t run these examples on my MacOS/Linux as they seem to have patched these vulnerabilities.

Is there an Operating System which is so basic when it comes to security, that I can play around with these exploits?

**Tags:** security, operating-systems

> **Comments:**
> **username_1**: You should be able to run these on Linux, you just need an exploitable program. Any good hacking challenge should include some buggy programs for you to hack :) Notice you are learning the techniques, not how they apply to an OS - necessarily, because if the OS had them long enough for them to get into a book, the OS is crap.  

---

## 1 answers

### Answer by username_2 on 2023-02-27. Score: 2 | Accepted answer

That's a really good book that I use with my students!

The book comes with a CD that has an image that you can run in Oracle VirtualBox. You'll also find all of the book examples preloaded there, and the text outputs in the book itself are from that system. IIRC, it's a dated system from the early 90's with all sorts of protections disabled.

Obviously, "Hacking: The Art of Exploitation" is not meant to show you anything especially modern, but instead it guides you through hands-on exploits and teaches foundational ideas about how hacking really works. It's a wild ride - enjoy it!


---

