Skip to the content ForoHackers
Log inJoin

Exploit development: start here

Exploit development
#3297 · · Quote · Report

Exploit development is the study of how a software flaw turns into a real security failure, so that it can be understood, rated and prevented. Practise only on your own systems, on deliberately vulnerable training programs and CTFs, or under written authorisation. This guide stays with concepts and mitigations: no payloads, no working attacks against real software.

Key concepts

  • Memory-safety bugs: buffer overflows, use-after-free and out-of-bounds access let data be treated as control.
  • From bug to impact: not every crash is exploitable; analysts judge what an attacker could control and what it would reach.
  • Mitigations: stack canaries, ASLR, non-executable memory, control-flow integrity and sandboxing each raise the cost of abuse.
  • Layered defence: no single mitigation is complete, so they are stacked, and memory-safe languages remove whole classes of bugs.
  • Disclosure: a proven flaw is reported to the maintainer, with time to fix, rather than used or sold.

Vocabulary

  • Vulnerability and exploit: the flaw, and the method that abuses it.
  • Proof of concept: the smallest demonstration that a bug is real, shared with maintainers.
  • ASLR: address space layout randomisation.
  • CVSS: a scoring scheme for the severity of vulnerabilities.

What to study, in order

  1. C, assembly and how a process lays out memory, on your own small programs.
  2. Debug a deliberately vulnerable training program of your own and watch a crash in a debugger.
  3. Study each mitigation: what it stops, what it costs and how it is circumvented in principle.
  4. Learn memory-safe languages and the design changes that remove these bugs.
  5. Read published, fixed advisories to see root cause, fix and lesson, and write your own short analysis.

Related tags

#vulnerability-research #binary-analysis #memory-management #secure-coding #ctf

You are not logged in, so this goes up anonymously: no account, no name and no address is stored with it, and it may carry no link and no image. Log in or join to post under your name. Our web server's logs keep the address and time of every request for up to 14 days; to keep yours out of them, use Tor. To reach the staff in confidence, use the drop. Sign as a returning source (a key kept only in this browser)

Sending takes a few seconds here: your browser first works out a proof of work against spam.

Reply