I want to learn remote code execution from scratch. Is there any sort of book where I can learn from, or there is a preunderstanding required to learn remote code execution? I am desperate to learn remote code execution because I heard in pwn2own and remote code execution is most exploited technique used.

closed as too broad by Neil Smithline, Steffen Ullrich, schroeder Dec 5 '15 at 18:33

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Remote code execution is the result of another problem in the code or the configuration of the server. I'm afraid that there is no "book" to read, because it is a symptom, not the root cause. – schroeder Dec 5 '15 at 18:32

I would suggest trying to learn about how it happens, and why, in multiple languages. Why? After a while, you'll notice a pattern, and find that several techniques are portable.

  1. Buffer Overflow
    • Stack Buffer Overflow
    • Heap Buffer Overflow
  2. PHP eval()
  3. SQL Injection
  4. Reading about Remote Code Execution / Code Injection on OWASP.
  5. Googling "remote code execution"

Not the answer you're looking for? Browse other questions tagged or ask your own question.