Lab 16-2 Solutions
Short Answers
When you run Lab16-02.exe from the command line, it prints a usage string asking for a four-character password.
If you input an incorrect password, the program will respond “Incorrect password, Try again.”
The correct command-line password is
byrr.The
strncmpfunction is called at 0x40123A.The program immediately terminates when loaded into OllyDbg using the default settings.
The program contains a
.tlssection.The TLS callback starts at 0x401060.
The
FindWindowAfunction is used to terminate the malware. It looks for a window with the class nameOLLYDBGand terminates the program if it is found. You can change the window class name using an OllyDbg plug-in like PhantOm, or NOP-out the call to exit at 0x40107C.At first, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access