Lab 18.2
Lab 18.2
o Click Start, Documents. Drag the 00000.exe file from the Documents
folder and drop it onto the HashCalc box.
o HashCalc calculates the SHA256 hash of the file. It should match
the value shown below.
• Running the EXE:
o Click the black square icon at the lower left of your desktop to open
a Command Prompt.
Execute these commands:
cd \users\administrator\Desktop
00000.exe
o It asks for a "Launch code". Enter 1. Your code is wrong, and it
insults you, as shown below
o Repeat the process to replace the JNZ instruction with NOPs also,
as shown below
• Saving the Modified File:
o In OllyDbg, in the top left pane, right-click and click "Copy
to executable", "All modifications", as shown below
o A "Copy selection to executable file?" box pops up. Click the "Copy
all" button.
o A "File" box appears, as shown below.
o Right-click in it and click "Save file".
o A "Save file as" box appears. Change the filename to 00000mod.exe,
as shown below, and click Save
search_start = b'\x3B\x05'
search_end = b'\x75\x1E'
replace_value = b'\x90\x90\x90\x90\x90\x90\x90\x90'