Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Analytics

5/29/2009
02:48 PM
50%
50%

Tech Insight: To Go Deep On Security, Get Past The Surface

Reducing the "attack surface" of your Microsoft apps and systems could improve your organization's overall security

A Special Analysis for Dark Reading

Each new version of a software product, such as Microsoft Word, brings new features -- whether users want them or not. What many users and sysadmins don't recognize is that each additional feature brings more code, and each new bit of code expands the area of potential vulnerability -- the "attack surface" -- for the application.

Security professionals have been working for years to reduce the attack surface of their applications, principally by disabling unnecessary functionality in an effort to strike a balance between security and usability.

But what exactly is the attack surface of an application, network, or computer system, and how do you measure it? Wikipedia defines it well: "The attack surface of a software environment is the scope of functionality that is available to any application user, particularly unauthenticated users. This includes, but is not limited to, user input fields, protocols, interfaces, and services." Of course, this definition can be easily expanded to include more than just software environments.

Measuring an attack surface is not difficult, provided that you start with a clear understanding of the attack points of the target you're evaluating. The Wikipedia definition includes a short list of attack points, but for a more comprehensive list, Michael Howard wrote an article for the Microsoft Developer Network in 2003 that offers a list used to measure the attack surface of the Windows operating system. He simplified the definition of measuring attack surface to "determining the attackability of a system or its exposure to attack."

Minimizing the attack surface is the next logical step, and is common practice for sysadmins and security professionals through the use of best practices for system hardening and building secure networks. The goal -- and not one that has been easily obtainable in the past with Windows -- is to minimize the entry points for unauthenticated, anonymous users, and to mitigate the amount of damage that could be caused if they gained access.

The standard recommendations for attack surface reduction in Windows systems is to turn off any unnecessary services, disable or delete unnecessary accounts, limit users to the least amount of privilege necessary to do their jobs, enable the firewall, use antivirus, and so on. We've heard this advice for years, but what about choosing an operating system that helps reduce the attack surface by offering a minimal install and unnecessary services enabled by default?

Microsoft has been trying to reduce the attack surface of a default Windows installation since the release of Windows Server 2003 Web Edition. While that probably wasn't the original intent of the Web Edition, it was limited to acting primarily as a Web server and nothing else -- which effectively minimized its attack surface. Only minimal installs of MS SQL Server (MSDE and Express) could be installed, while Exchange could not be installed at all. Even .NET was not included in the default install.

In terms of a minimized attack surface, the real head-turner is the Server Core installation option in Windows Server 2008. Microsoft has created a choice for sysadmins to deploy a minimal system that does not include the typical Windows Explorer and GUI. Instead, when you log in, you are presented with two command prompt windows. There is no Start menu or taskbar. Management is accomplished through command line tools or by connecting from another system via the Microsoft Management Console (MMC).

Security isn't the only benefit of reducing a system's attack surface. Server Core, for example, requires fewer hardware resources because of its reduced footprint, which means sysadmins who are considering Hyper-V for virtualization now can devote hardware resources to virtual machines instead of the underlying server operating system.

The trend is apparent in Windows Server operating systems, the reliance on virtualization, and the realization that reducing the attack surface is critical. That's why the trend should continue among future versions of Windows Server. It's a win-win for sysadmins and security pros, who have less to lock down and disable, making deployment faster and auditing easier.

Have a comment on this story? Please click "Discuss" below. If you'd like to contact Dark Reading's editors directly, send us a message.

Comment  | 
Print  | 
More Insights
Comments
Threaded  |  Newest First  |  Oldest First
Edge-DRsplash-10-edge-articles
7 Old IT Things Every New InfoSec Pro Should Know
Joan Goodchild, Staff Editor,  4/20/2021
News
Cloud-Native Businesses Struggle With Security
Robert Lemos, Contributing Writer,  5/6/2021
Commentary
Defending Against Web Scraping Attacks
Rob Simon, Principal Security Consultant at TrustedSec,  5/7/2021
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
2021 Top Enterprise IT Trends
We've identified the key trends that are poised to impact the IT landscape in 2021. Find out why they're important and how they will affect you today!
Flash Poll
How Enterprises are Developing Secure Applications
How Enterprises are Developing Secure Applications
Recent breaches of third-party apps are driving many organizations to think harder about the security of their off-the-shelf software as they continue to move left in secure software development practices.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-28722
PUBLISHED: 2021-05-12
Deskpro Cloud Platform and on-premise 2020.2.3.48207 from 2020-07-30 contains a cross-site scripting (XSS) vulnerability that can lead to an account takeover via custom email templates.
CVE-2020-18165
PUBLISHED: 2021-05-12
Cross Site Scripting (XSS) in LAOBANCMS v2.0 allows remote attackers to execute arbitrary code by injecting commands into the "Website SEO Keywords" field on the page "admin/info.php?shuyu".
CVE-2020-19275
PUBLISHED: 2021-05-12
An Information Disclosure vulnerability exists in dhcms 2017-09-18 when entering invalid characters after the normal interface, which causes an error that will leak the physical path.
CVE-2021-29511
PUBLISHED: 2021-05-12
evm is a pure Rust implementation of Ethereum Virtual Machine. Prior to the patch, when executing specific EVM opcodes related to memory operations that use `evm_core::Memory::copy_large`, the `evm` crate can over-allocate memory when it is not needed, making it possible for an attacker to perform d...
CVE-2020-19274
PUBLISHED: 2021-05-12
A Cross SIte Scripting (XSS) vulnerability exists in Dhcms 2017-09-18 in guestbook via the message board, which could let a remote malicious user execute arbitrary code.