Reading QuestionsRemember to submit your answer to this quetion BEFORE the next class.
(Binary bomb). A binary bomb (a.k.a., logical bomb), in
its simplest form, is an executable
that requires the user to input some secret code, if the user's
input code does not match
an internal code, then the bomb explodes (then you died... :-( ).
In this problem, you will be given such a binary bomb, and your job is to figure out what the secret code is. In this process, you'll learn how anti-disassembly techniques can help the bomb writer hide the secret code, and also learn how you can fight against it with anti-anti-disassembly techniques. First, download the binary bomb to your Linux machine. And you may first change the mode: $ chmod 755 bombThen run the bomb, and the bomb will print: Please input the secret code:and then you should input the secret code you guessed (Hint: the secret code is a string which is no more than 5 characters long.). And it's obvious that if the code you input does not match the internal pre-settled code, the bomb will explode and print something like: Wrong secret code! You failed!...Only if your input code is corret, the bomb will print: Correct secret code! Success! Your job is to figure out what's the correct secret code, using any way you think helpful (disassembly, debugging, etc.). You may find the following steps helpful:
|