Some real-world web servers and ways to combat attacks
In this section, we are going to learn about some web servers, their vulnerabilities, and some preventive measures to combat any attack on them. Let’s start with Microsoft’s Internet Information Server, commonly known as IIS.
IIS hardening tasks
IIS has been around for many years, evolving with the Microsoft operating system, and during that time it has had its fair share of vulnerabilities and problems.
Many things can be done to secure it; several are outlined in an article from Microsoft, found here: https://techcommunity.microsoft.com/t5/itops-talk-blog/windows-server-101-hardening-iis-via-security-control/ba-p/329979. One of the first things to do is remove information disclosure contained in response headers.
Removing response headers in IIS
To do this, you will need administrative privileges to the IIS server to change its configuration. To see what is disclosed, use your browser to connect to...