September 07, 2007, 4:32 PM — Continuing the theme from my previous column on the relative security of Internet Information Service (IIS) vs. Apache, I've come across more studies to support my initial conclusion.
If you remember, I was questioning the findings of a Google report that stated that IIS Web servers were twice as likely as Apache servers to be hosting malware. I wasn't refuting the data, but I was questioning the conclusion, given the fact that the report's authors calculated their statistics using server IP addresses only.
Since a single Web server can, and often does, host multiple Web sites, the published results would be skewed by any server hosting multiple Web sites. And since Apache Web servers are often used to host hundreds to thousands of active sites (and IIS is less likely to host sites on the same scale), I felt the study underreported the prevalence of malicious Apache Web sites.
I was skeptical of the data because of my own experiences. I run both IIS and Apache Web servers in my honeynet. The Apache Web server gets attacked significantly more than the IIS server does. Also, most reported hacks are against Apache Web servers. Finally, I can't think of a single massive attack against IIS servers since the Code Red worm of July 2001. Yet, Apache servers are being taken over by the thousands nearly every night. Something didn't add up.
Of course, being a full-time Microsoft employee, I wondered if my relationship was clouding my "objectivity." Because I make a living in the Windows world, was I not seeing the true malicious Web site activity accurately?
Over the last month, I've decided to track every reported Web site exploitation or malicious Web server host. With more than 3,000 data points, the number of reported malicious or compromised Apache Web sites is running 17 to 1. But it's not just my own data; take any random sampling from Zone-H's hacked Web site monitor statistics and you'll see a huge skew toward Apache servers versus IIS. Normal statistics show that somewhere around 80 to 90 percent of all malicious Web sites originate from an Apache server.
Zone-H's data has some other interesting points, such as how many single IP addresses (a single Web server, in most cases) are linked to the reported Web servers. It's not unusual to see a single exploit affecting a single IP address to result in hundreds to thousands of malicious Web sites. And yes, the vast majority of these data points are Apache.