Lab 17-2 Solutions
Short Answers
The exports are
InstallRT,InstallSA,InstallSB,PSLIST,ServiceMain,StartEXS,UninstallRT,UninstallSA, andUninstallSB.The DLL is deleted from the system using a .bat file.
A .bat file containing self-deletion code is created, as well as a file named xinstall.log containing the string
"Found Virtual Machine, Install Cancel".This malware queries the VMware backdoor I/O communication port using the magic value
VXand the action0xAby using theinx86 instruction.To get the malware to install, patch the
ininstruction at 0x100061DB at runtime.To permanently disable the VM check, use a hex editor to modify the static string in the binary from
[This is DVM]5to[This is DVM]0. Alternatively, NOP-out the check in OllyDbg ...
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