February 2012
Intermediate to advanced
800 pages
23h 55m
English
The major code construct is an if statement located at
0x401000.
printf is the subroutine located at 0x40105F.
The program checks for an active Internet connection. If an active connection is found, it prints “Success: Internet Connection.” If a connection is not found, it prints “Error 1.1: No Internet.” This program can be used by malware to check for a connection before attempting to connect to the Internet.
We begin by performing basic static analysis on this executable. Looking at the imports, we
see that the DLL WININET.dll and the function InternetGetConnectedState are imported. The Windows Internet (WinINet) API enables applications to interact with HTTP protocols to access Internet resources. ...