Home > Security Channel Tips > Platform Security > Windows services locked down in Vista and Longhorn
Security Channel Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

PLATFORM SECURITY

Windows services locked down in Vista and Longhorn


Brien Posey
05.01.2007
Rating: --- (out of 5)


Security Channel Update
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


There is a law of computing that states the larger a computer's executable code base, the greater the likelihood that the code contains an exploitable security vulnerability. The Windows operating system contains dozens of services, many of which are enabled by default. In an effort to improve security (and get a performance boost), Microsoft has been telling us for years to disable unnecessary services. However, with Windows Vista and Longhorn Server, Microsoft takes service hardening to a new level.

In pre-Vista versions of Windows, most services run under the Local System account. This means they act as a part of the operating system and therefore have full reign over the system. If a service is compromised it can be used for all sorts of malicious purposes.

A classic example of this is the Print Spooler service. For many years it was a common practice for those with ill intent to replace the Print Spooler service's executable file with a malicious file that had been given the name SPOOLER.EXE. The print spooler was relatively unprotected, and yet Windows gave full access to the operating system to any file named SPOOLER.EXE that resided in a specific directory.

Windows Vista and Longhorn services

The changes to Longhorn and Vista services are based on one idea: no service is so important that it disserves completely unrestricted rights to the entire system. That being the case, Microsoft set out to define exactly what the job is of each service, and what resources a service needs access to in order to do its job. For example, a printing related service should not have sufficient permissions to format a hard disk. Likewise, RPC service has no business replacing files on a machine.

Once Microsoft defined the scope of each service, they did something unprecedented. They assigned each service its own security identifier (SID). This made it possible to restrict individual services from accessing various parts of the system. On the flip side, most services have various sub components, which should only be used by the intended service. By using ACLs, Windows can insure that no service can use another service's components.

Another sweeping change that Microsoft has made to services is that few, if any, services use the Local System account. Instead, services run under the Local Service or the Network Service account, which have far fewer privileges. The Network Service account is allowed to communicate across the network, while the Local Service account is not. Services are regulated by network and firewall policies that prevent services from operating across the network should they only need access to components or data located on the local computer. These policies are tied directly to a service's SID.

As you can see, system services have historically provided an easy mechanism through which to compromise a system. In Longhorn Server and Windows Vista though, services have been locked down in a way that they should have been to begin with.

Brien Posey

About the author
Brien M. Posey, MCSE, is a Microsoft Most Valuable Professional for his work with Windows 2000 Server and IIS. Brien has served as the CIO for a nationwide chain of hospitals and was once in charge of IT security for Fort Knox. As a freelance technical writer he has written for Microsoft, TechTarget, CNET, ZDNet, MSD2D, Relevant Technologies and other technology companies.


Rate this Tip
To rate tips, you must be a member of SearchSecurityChannel.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    Add to Google


RELATED CONTENT
Windows Vista Security Features
Windows Vista BitLocker basics and advanced techniques
Microsoft Windows Vista firewall enhancements
Network Access Protection enforces security on Windows networks
Microsoft Windows Vista security: Considerations and expectations
Windows Vista malware protection

Platform Security
An introduction to penetration testing and its legal implications for VARs and consultants
Penetration testing reconnaissance -- Footprinting, scanning and enumerating
Penetration testing -- Big bad bugs
Penetration testing -- Securing wireless access points
Network penetration testing: Ethical hacking tools and techniques
Penetration testing -- Social engineering, IDS and honey pots
Windows security administration using command-line tools
Windows Vista BitLocker basics and advanced techniques
Microsoft Windows Vista firewall enhancements
Network Access Protection enforces security on Windows networks

Desktop Operating System (OS) Security
Windows security administration using command-line tools
Windows Vista BitLocker basics and advanced techniques
Microsoft Windows Vista firewall enhancements
Network Access Protection enforces security on Windows networks
Vista deployment tips for resellers
Microsoft Windows Vista security: Considerations and expectations
TCP/IP changes in Microsoft Windows Vista
Windows Vista malware protection
BitLocker demystified: End-to-end encryption for Vista
Configure IE7 security on Vista step-by-step

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.

HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersBlogsEvents
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  |  Reprints  |  Site Map




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