11.07.2015 Views

Improving Web Application Security: Threats and - CGISecurity

Improving Web Application Security: Threats and - CGISecurity

Improving Web Application Security: Threats and - CGISecurity

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

466 Part IV: Securing Your Network, Host, <strong>and</strong> <strong>Application</strong>Snapshot of a Secure <strong>Web</strong> ServerA snapshot view that shows the attributes of a secure <strong>Web</strong> server allows you toquickly <strong>and</strong> easily compare settings with your own <strong>Web</strong> server. The settings shown inTable 16.4 are based on <strong>Web</strong> servers that host <strong>Web</strong> sites that have proven to be veryresilient to attack <strong>and</strong> demonstrate sound security practices. By following theproceeding steps you can generate an identically configured server, with regard tosecurity.Table 16.4 Snapshot of a Secure <strong>Web</strong> ServerComponentCharacteristicsPatches <strong>and</strong> Updates Latest service packs <strong>and</strong> patches are applied for Windows, IIS, <strong>and</strong> the.NET Framework.ServicesUnnecessary services are disabled.NNTP, SMTP, <strong>and</strong> FTP are disabled unless you require them.<strong>Web</strong>DAV is disabled or secured if used.Service accounts run with least privilege.ASP.NET Session State service is disabled if not required.ProtocolsThe NetBIOS <strong>and</strong> SMB protocols are not enabled on the server.The TCP stack has been hardened.AccountsUnused accounts are removed.Guest account is disabled.The default administrator account is renamed <strong>and</strong> has a strong password.Default anonymous account (IUSR_Machine) is disabled.Custom anonymous account is used for anonymous access.Strong password policies are enforced.Remote logons are restricted.Null sessions (anonymous logons) are disabled.Approval if required for account delegation.Shared accounts are not used.Membership of local administrators group is restricted (ideally to twomembers).Administrators are required to log on interactively (or a secure remoteadministration solution is implemented).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!