User Tools

Site Tools


labs:disassembly

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
labs:disassembly [2017/03/29 13:13]
manuelei
labs:disassembly [2017/03/30 12:25]
manuelei
Line 12: Line 12:
  
 ===== Exercises ===== ===== Exercises =====
-   * 0) Download and unpack the ZIP file with the the material for this lab from http://​www.disco.ethz.ch/​lectures/​ti2fp/​exercises/​disassembly.zip.+   * 0) Download and unpack the ZIP file with the the material for this lab from http://​www.disco.ethz.ch/​lectures/​ti2fp/​exercises/​disassembly.zip. It contains the necessary files for exercises 1&2.
  
-   * 1) Find the correct input to defuse the "​bomb"​. 
  
-   * 2) When you run this program, a pop-up will appear that asks you to pay for a license. Disable this pop-up (or postpone it for a long time).+   * 1) Execute the program stage1. It tells your to find a correct input to defuse its '​bomb'​. Find the correct input by disassembling the program or looking at the HEX-representation. 
 + 
 +   * 2) When you run this program ​(stage2), a pop-up will appear that asks you to pay for a license. Disable this pop-up (or postpone it for a long time).
  
    * 3) Now, you are ready to hack into SuperTuxKart! The game is installed on your machines. Show us your abilities by modifying the game in cool ways. For instance, make your kart faster, get better items, etc. Before you start modifying the binary, we recommend you to save a backup copy of it so when you break the game, you always have a clean copy. If you prefer, you can also modify a different game. \\ Hint: Have a look at the %%--%%demangle option of objdump.    * 3) Now, you are ready to hack into SuperTuxKart! The game is installed on your machines. Show us your abilities by modifying the game in cool ways. For instance, make your kart faster, get better items, etc. Before you start modifying the binary, we recommend you to save a backup copy of it so when you break the game, you always have a clean copy. If you prefer, you can also modify a different game. \\ Hint: Have a look at the %%--%%demangle option of objdump.
Line 22: Line 23:
 ===== Recommended Tools ===== ===== Recommended Tools =====
   * Text editor: Geany   * Text editor: Geany
-  * Hex editorBless+  * Hex editorswxHexEditor,​ ghex
   * Disassembler:​ objdump   * Disassembler:​ objdump
   * Web assembler/​disassembler:​ https://​defuse.ca/​online-x86-assembler.htm (Attention: Uses Intel syntax, which has arguments in different order than objdump.)   * Web assembler/​disassembler:​ https://​defuse.ca/​online-x86-assembler.htm (Attention: Uses Intel syntax, which has arguments in different order than objdump.)
labs/disassembly.txt · Last modified: 2020/08/31 21:05 (external edit)