Lab 6-2 Solutions
Short Answers
The first subroutine at 0x401000 is the same as in Lab 6-1 Solutions. It’s an
ifstatement that checks for an active Internet connection.printfis the subroutine located at 0x40117F.The second function called from
mainis located at 0x401040. It downloads the web page located at: http://www.practicalmalwareanalysis.com/cc.htm and parses an HTML comment from the beginning of the page.This subroutine uses a character array filled with data from the call to
InternetReadFile. This array is compared one byte at a time to parse an HTML comment.There are two network-based indicators. The program uses the HTTP User-Agent
Internet Explorer 7.5/pmaand downloads the web page located at: http://www.practicalmalwareanalysis.com/cc.htm ...
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