# Introduction to Binary Exploitation

### What is Binary Exploitation? <a href="#what-is-binary-exploitation" id="what-is-binary-exploitation"></a>

Binary exploitation is the process of subverting a binary in a way that causes unintended behavior which is advantageous to the attacker.

### What do I need to know before I learn this? <a href="#what-do-i-need-to-know-before-i-learn-this" id="what-do-i-need-to-know-before-i-learn-this"></a>

The only prerequisites to reading this book are:

* A working understanding of the C language
* Not being afraid of a Linux terminal or a debugger
* The ability to learn what you don’t already know

There will be many samples of C code scattered throughout this book and it is vital to know how they work. They will be explained where necessary, but if you do not understand a particular snippet I would suggest running the code yourself or looking up the function calls that you aren’t familiar with.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://binex.nbulischeck.io/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
