GPN19:Using angr to augment binary analysis workflow

aus dem Wiki des Entropia e.V., CCC Karlsruhe
Die druckbare Version wird nicht mehr unterstützt und kann Darstellungsfehler aufweisen. Bitte aktualisiere deine Browser-Lesezeichen und verwende stattdessen die Standard-Druckfunktion des Browsers.

Ein Workshop von Alexeyan, Florian Magin auf der GPN19.

In this workshop we will present the binary analysis toolkit angr. We will show it’s capabilities for reverse engineering and how to use them to improve your reverse engineering workflow. This includes both using angr as a standalone tool, how it’s features can be integrated into modern tools like IDA, Binary Ninja or radare2 and how to built your own custom tooling on top of it.

We will introduce core concepts like:

  • Intermediate Representations
    • architecture independent analysis
    • formalizing instruction behavior
  • Symbolic Execution
    • Reasoning about how some code would behave depending on all its inputs and not just with one specific input
  • SMT Solving
    • Formalizing your problem
    • Use decades of research in automated theorem proving and constraint solving some Python to solve it

And present problems that can be solved using those concepts in addition to introductory exercises:

  • First Hands-On experience with angr
  • Thinking about programs symbolically instead of concretely
  • automatically finding passwords/keys/backdoors
  • Breaking anti-reverse-engineering measures and tricks (e.g. opaque predicates, dead code, obfuscation)