Home > Ask the Security Experts > Platform Security Questions & Answers > Are there software tools that can automate the server hardening process?
Ask The Security Expert: Questions & Answers
EMAIL THIS

Are there software tools that can automate the server hardening process?

Michael Cobb EXPERT RESPONSE FROM: Michael Cobb

Pose a Question
Other Security Categories
Meet all Security Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 01 August 2008
I have been going through the Windows Server 2003 Hardening Guide and trying to apply policies on our servers. How can I make the process easier? Are there software tools that can automate the server hardening process?

>
EXPERT RESPONSE
Some security practitioners will say that if you haven't built a system yourself, then it's not yours. There is some truth in this idea; without an incredible amount of detective work, you're not going to know what changes from the defaults have been made and why. Similar views are commonplace, too, when it comes to Microsoft's automatic updates. Like you, though, I don't like to spend time on repetitive tasks or build something from scratch if it already exists. I still want to sleep soundly at night, though, knowing I've followed best practices.

With that in mind, you're certainly on the right track when it comes to tightening the security of your servers by following the Windows Server 2003 Hardening Guide. It has all the information needed to determine which settings are most appropriate for the servers in your organization. It does say right at the beginning, though, that to gain the most benefit from the guide, it should be read it in its entirety. I agree and I'd also suggest reading the companion guide, Threats and Countermeasures: Security Settings in Windows Server 2003 and Windows XP.

I can hear you thinking that this sounds like a lot of work when what you're looking for is an easier way to secure your servers. Well, bear with me.

Securing a Windows 2003 system requires knowing what each service does and what happens if particular ones are enabled or disabled. I think that if you take the time to get a thorough understanding of the steps involved in hardening servers, it will make the job easier. Why? Because you will recognize and appreciate how different settings affect the operation of the server and how they affect its overall security. You'll then feel confident to make decisions on what needs locking down to achieve an appropriate security level. You'll also have a better understanding of any warnings or alerts that an audit tool generates.

A tool that will help make the hardening process easier is the Security Configuration Wizard (SCW), which was introduced in Windows Server 2003 Service Pack 1. (You will need to go to Add/Remove Windows Components to install it as it isn't installed automatically.) SCW has a database consisting of every service, feature and administration option from every server product produced by Microsoft. It can be used to disable unnecessary services, block unused ports, configure audit settings and lock down access to critical system files. It also provides lockdown settings that are fully supported by Microsoft's major product teams.

After completing the lockdown, you can then use tools such as Microsoft's Security Baseline Analyzer to audit the servers to confirm they are configured as intended. This is also a good time to verify that audit settings are operating as planned. Once you are satisfied with how the server is configured, SCW can automate the setup of other servers that will be providing the same services.

The wizard can apply your settings to other servers listed in Active Directory. SCW uses an XML configuration file, but the settings can also be saved as a set of Group Policy template files inside a Group Policy Object. Beware, though: SCW disables any services and ports not specifically tied to a defined role. For example, if you haven't installed a printer on your baseline server, SCW will create a configuration file that disables the spooler service. If you then apply the configuration file to another server that does have a printer, you'll disable its spooler.

SCW is most useful when used with racks of identical servers. If, however, each of your servers has a unique role in the organization, then only limited automation will be possible. The main idea to remember is not to have an ad hoc approach to hardening. You must develop a build process, logging and justifying all edits to default settings, as a small change can still cause a big problem. Finally, remember that security is an ongoing process, so have a patch management policy and process in place to ensure servers stay secure.

More information:

  • Michael Cobb provides a Windows IIS server hardening checklist.
  • Learn how shutting down unneeded services, ports and accounts makes Windows Server 2003 tough to beat. (Login required)


  • Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


    RELATED CONTENT
    Platform Security
    How to ensure the validity of Microsoft Windows updates
    Can DNS be used to support encryption?
    How can 'DRAM remanence' compromise encryption keys?
    Should users have a removable boot drive for online banking?
    The unexpected costs of server virtualization?
    Is attack code valuable for vulnerabilities or just a publicity stunt?
    Will the features of Windows Vista SP1 encourage wider adoption of the OS?
    Is a Master Boot Record (MBR) rootkit completely invisible to the OS?
    What are the pros and cons of zero-knowledge penetration tests?
    Are open recursive DNS servers inherently insecure?

    Windows XP and Server Security
    Microsoft warns of SQL Server zero-day
    Microsoft issues emergency patch to fix IE flaw
    Microsoft fixes critical flaws in Office, IE
    Inside MSRC: Microsoft issues guidance on critical flaws
    Microsoft to patch critical Windows, Excel flaws
    Microsoft learns of successful RPC worm infections
    Microsoft patches critical XML Core Services flaw
    Inside MSRC: Microsoft addresses XML Core Services flaw, RPC flaw
    New malware exploits Microsoft RPC flaw
    Microsoft to patch critical Windows flaw

    RELATED GLOSSARY TERMS
    Terms from Whatis.com − the technology online dictionary
    BotHunter  (SearchSecurity.com)
    security identifier  (SearchSecurity.com)
    trusted computing  (SearchSecurity.com)

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary



    Search and Browse the Expert Answer Center
    Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
    Browse our Expert Advice



    Find Security Solutions for Your Business
    Targeted Security Channel Tips for Resellers, Integrators and Consultants
    TechTarget Security Media
    Information Security View this month\\'s issue and subscribe today.
    Information Security Decisions Apply online for free conference admission.
    SearchSecurity.com
    HomeNewsMagazineMultimediaWhite PapersLearningAdviceTopicsEventsAbout Us

    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Site Map




    All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts