sub_401000
, a self-deletion method, and sub_401100
, which appears to call the sldt
instruction. We can run Lab17-01.exe in a VM and see what happens differently from . The dynamic analysis results vary from system to system and might be identical to on your machine.sidt
result var_420
at ❷ for later use in the code.004011B5 sidt fword ptr [ebp+var_428] ❶ 004011BC mov eax, dword ptr [ebp+var_428+2] 004011C2 mov [ebp+var_420], eax ❷
The malware checks for a VM a few instructions later in the binary, as you can see in .
sldt
usage within sub_401100
.jnz
to not jump in a debugger.