Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 821 Bytes

lab4.md

File metadata and controls

32 lines (25 loc) · 821 Bytes

Lab 4

  1. Download Binary
  1. Open Ghidra
  2. Make new project when here New Project Window
  3. File->New Project
  4. Give it a name
  5. When here go file->Import Project Dialog
  6. Choose level1 binary
  7. Click OK with defaults
  8. Make sure no errors on Import Results window (Mac may need some work) then click OK
  9. Double click level1
  10. On Analyze window click yes Analyze window
  11. Click Analyze, accepting the default options
  12. On main window expand functions and open main Main Window
  13. Explore the program and find the key

Hints:

  1. Look at the checkPass function
  2. It reads a bit easier if you make variable names shorter
  3. The C code isn't "perfect" but it's good in this binary