Home » Hacker's Approach

Difference between Apache and IIS

14 January 2009 3 Comments

Sys call of Apache Web Server

System calls In Apache Web Server

Ever wondered why major web server market is captured by Apache, whereas brainchild of greatest monoply of this world ‘IIS’ performs badly,now you can understand better.Richard Stiennon wrote an article in ZDNet (although article is very old but difference is worth to note even today) entitled Why Windows is less secure than Linux where he explains the difference between both opposite worlds in terms of the simplicity of sys calls.

First, why is sys call important ?? to understand this we have to understand sys call first. Richard expains it :

A system call is an opportunity to address memory. A hacker investigates each memory access to see if it is vulnerable to a buffer overflow attack. The developer must do QA on each of these entry points. The more system calls, the greater potential for vulnerability, the more effort needed to create secure applications.

Although many system engineer may know the difference technically,but an image is worth 1000 words.So, in his post Richard Stiennon expains this using two images (shown here) what the difference in the visual complexity of the Sys calls made by IIS and apache.These images were genereated by Sana Security.  

System calls in IIS

System calls in IIS

First image shown here is of Apache, where sys calls are shorter and simpler.Whereas just by looking at second image which shows that of IIS we get to know the complexity of sys calls.There is so much layering and complexity that no one will understand it properly,atleast i won’t try to do that.I think thats the main reason bug and security holes are so abundant in the windows system.Linux, solaris and other unix server follow the same pattern of simplicity and keep sys call to minimum.

Moral of the story, KISS … Keep It Simple Stupid.

1 Star2 Stars3 Stars4 Stars5 Stars (3 votes, average: 4.67 out of 5)
Loading ... Loading ...

3 Comments »

  • Stiennon said:

    I got a lot of criticism for that article. I really wish Sana Security would do an updated mapping of system calls for the two platforms. I am talking to AVG, the company that just announced they acquired Sana Security, soon. I will ask them to help create an update!

    -Stiennon

  • kishor y uprade said:

    can u do for India in terms of technology means for country development.

    According to me ,IT can change our entire life of india and in India need that type of such thing which will be different to increase his condition .
    its my kindly request to u if this comment reach to u,then think about it &do any thing

  • Gaurav Verma (author) said:

    @kishor i really don’t understand what you mean in this post’s context