Lab 17-1 Solutions
Short Answers
This malware uses vulnerable x86 instructions to determine if it is running in a VM.
The script finds three potential anti-VM instructions and highlights them in red:
sidt,str, andsldt.The malware will delete itself if either
sidtorstrdetects VMware. If thesldtinstruction detects malware, the malware will exit without creating its main thread, but it will create the malicious service MalService.On our machine running VMware Workstation 7 on an Intel Core i7, none of the techniques succeeded. Your results will vary depending on the hardware and software you use.
See the detailed analysis for an explanation of why each technique did or didn’t work.
You can NOP-out the
sidtandstrinstructions or flip the jump ...
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