Home > Windows Server Tips > Windows Server Monitoring and Management > Easing security concerns with Server Core for Windows 2008
Windows Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WINDOWS SERVER MONITORING AND MANAGEMENT

Easing security concerns with Server Core for Windows 2008


Don Jones, Contributor
09.29.2008
Rating: --- (out of 5)


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


Windows Server 2008's Server Core installation option, for those not familiar with it, is intended to be an easier-to-maintain, "fewer moving parts" server platform offering a limited number of services, or roles. Primary roles include streaming media, DNS, DHCP, domain controller, file server and a limited IIS server (serving static pages, classic ASP pages, PHP pages and the like; not ASP.NET).

With practically no graphical user interface GUI (Server Core offers only a Cmd.exe shell as its primary user interface), it's a bit more difficult to properly secure, since there's no helpful GUI to guide you through the process. Fortunately, Server Core is about as secure as it can be out of the box – you just have to make sure you don't diminish that security in your configuration.

First: Anti-malware

A first step is to get some form of anti-malware software running on Server Core. Most organizations have standardized on antivirus and other anti-malware utilities and, in many cases, anything intended to run on Windows Server 2008 will run on Server Core, too.

Unfortunately, many vendors are taking some time to formally add Windows Server 2008 support. As of August 2008, for example, Symantec's Endpoint Protection product lists Windows Server 2003 editions as the latest ones supported. Microsoft's own Forefront antivirus works fine, as do solutions from McAfee, Kaspersky and many others.

Second: Manageability

 While it does have a smaller footprint – and therefore is in theory subject to fewer patches – those patches that apply to Server Core absolutely must be installed in a timely fashion.

A key to maintaining a secure system is keeping it properly patched and configured. While Windows has built-in software update tools to help make this happen, many organizations prefer to use alternate management tools – which typically require agents to be installed on servers. In most cases, these agents don't require any kind of GUI (they're intended to run in the background, after all), so they install and work fine on Server Core. I've seen IBM's Tivoli agents running well on Server Core, for example.

Remember that however you get your servers patched, it's important to make Server Core part of the game. While it does have a smaller footprint – and therefore is in theory subject to fewer patches – those patches that apply to Server Core absolutely must be installed in a timely fashion.

Incidentally, Server Core's smaller footprint has resulted in it needing fewer patches. As of June 2008, 23 total security patches had been released by Microsoft; nine applied to Windows Server 2008, but only three to Server Core. Microsoft service bulletins now include a * notation for Windows 2008 patches that apply to Server Core.

Third: Minimize roles

Like any other server, reducing your attack surface is an excellent way to make and keep Server Core more secure. Server Core's attack surface comes primarily from roles that you've installed on it. It easily follows, then, that fewer roles equals smaller attack surface, which equals more security.

Server Core doesn't have a Server Manager GUI to review and add or remove roles. Instead, you use a set of command-line tools. Oclist.exe will list the available roles; Ocsetup.exe is used to add and remove roles. For example, adding the DHCP role is accomplished by running start /w

More on Server Core

Server Core could top Windows Server 2008 features 

Windows Server 2008: Looking good on the security front 
ocsetup DHCPServerCore
. Add /uninstall to the same command line to remove the role.

Keep in mind that management technologies also extend your attack surface. For example, Server Core runs Windows Management Instrumentation (WMI), can run Windows Remote Management (WinRM) and offers Remote Desktop connectivity. All of these are potential attack vectors, just as they are on any server. If you don't need or aren't using one of them, disable the service and uninstall the feature, if possible. For instance, a Server Core acting as a domain controller can be best managed by using the Active Directory consoles on your workstation – they won't even run on Server Core itself, since they require a GUI. In that case, you might not really need Remote Desktop once the server is up and running, so consider disabling it.

Fourth: Firewall

Yes, Server Core has Windows Firewall. The problem is you have to configure it from the command line, which practically nobody seems to know how to do (not that Microsoft makes it terribly easy). It's done through the Netsh.exe command's Advfirewall option. For example, to enable remote management, run Netsh advfirewall currentprofile settings remotemanagement enable. I know – totally intuitive, right? If you are interested, check out this great article from the Petri IT Knowledgebase on managing various firewall settings.

Finally: You're secure

Windows Server 2008 Server Core offers a stripped-down environment with a limited number of services. This results in a reduced footprint, less installed software and fewer patches over time. You can configure Server Core with the same security options and features as the full Windows Server 2008 install, although the means for doing so can sometimes be different and a bit more complex. Still, it's worth the time to make this valuable installation option as secure as possible within your environment.


OVERLOOKED SECURITY IN WINDOWS 2008
Windows PowerShell
Server Core
Network Access Protection

Don Jonesis a co-founder of Concentrated Technology LLC, the author of more than 30 IT books and a speaker at technical conferences worldwide. Contact him through his website at www.ConcentratedTech.com.


Rate this Tip
To rate tips, you must be a member of SearchWindowsServer.com.
Register now to start rating these tips. Log in if you are already a member.




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


RELATED CONTENT
Windows Server Security
Overlooked security in Windows Server 2008
Windows PowerShell: A backdoor to malware?
Don't end your administrator password with S or L
Checking access permissions with Server Share Check
Microsoft further tightens security in Windows Server
Harden the Remote Access Server
Restricting cached credentials in Windows

Microsoft Windows Server 2008 Administration
A quick guide to Server Manager for Windows Server 2008
Implementing simple Network Access Protection for Windows Server 2008
Overlooked security in Windows Server 2008
What to expect from Windows Server 2008 R2
Network Access Protection in Windows Server 2008: Should you care?
Considerations in building GeoClusters for Windows Server 2008
Breaking down the Windows Server Backup tool for Windows 2008
Keeping an eye on network disk space with Windows Server 2008
Understanding quorum in Windows Server 2008 clustering
What's there to hate about Windows Server 2008?

Windows Server Monitoring and Management
A quick guide to Server Manager for Windows Server 2008
How does Microsoft Hyper-V rate?
Network Access Protection in Windows Server 2008: Should you care?
Just what does Microsoft Hyper-V have to offer?
Considerations in building GeoClusters for Windows Server 2008
Can Microsoft really make an impact with Hyper-V?
Understanding quorum in Windows Server 2008 clustering
What's there to hate about Windows Server 2008?
Windows PowerShell: A backdoor to malware?
When (and when not) to use Windows server failover clustering

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
Server Core  (SearchWindowsServer.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

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Server Room Design - Planning, Cooling, Maintenance
HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
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 2004 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts