Lab 9-2 Solutions
Short Answers
The imports and the string
cmdare the only interesting strings that appear statically in the binary.It terminates without doing much.
Rename the file ocl.exe before you run it.
A string is being built on the stack, which is used by attackers to obfuscate strings from simple strings utilities and basic static analysis techniques.
The string
1qaz2wsx3edcand a pointer to a buffer of data are passed to subroutine 0x401089.The malware uses the domain practicalmalwareanalysis.com.
The malware will XOR the encoded DNS name with the string
1qaz2wsx3edcto decode the domain name.The malware is setting the
stdout,stderr, andstdinhandles (used in theSTARTUPINFOstructure ofCreateProcessA) to the socket. SinceCreateProcessA ...
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