Partager via


Security baseline (DRAFT) for Windows 10 v1903 and Windows Server v1903

Microsoft is pleased to announce the draft release of the security configuration baseline settings for Windows 10 version 1903 (a.k.a., “19H1”), and for Windows Server version 1903. Please evaluate these proposed baselines and send us your feedback via blog comments below.

(Note: the final version of this baseline was published here.)

As usual, the content includes GPO backups, GPO reports, scripts to apply settings to local GPO, Policy Analyzer rules files for each baseline and for the full set, and spreadsheets documenting all available GPOs and our recommended settings, settings that are new to this Feature Update, and changes from the previous baselines.

Note that Windows Server version 1903 is Server Core only and does not offer a Desktop Experience (a.k.a., “full”) server installation option. In the past we have published baselines only for “full” server releases – Windows Server 2016 and 2019. Beginning with this release we intend to publish baselines for Core-only Windows Server versions as well. However, we do not intend at this time to distinguish settings in the baseline that apply only to Desktop Experience. When applied to Server Core, those settings are inert for all intents and purposes.

This new Windows Feature Update brings very few new Group Policy settings, which we list in the accompanying documentation. The draft baseline recommends configuring only two of those. However, we have made several changes to existing settings, and are considering other changes. Please review the changes carefully and let us know what you think.

The changes from the Windows 10 v1809 and Windows Server 2019 baselines include:

  • Enabling the new “Enable svchost.exe mitigation options” policy, which enforces stricter security on Windows services hosted in svchost.exe, including that all binaries loaded by svchost.exe must be signed by Microsoft, and that dynamically-generated code is disallowed. Please pay special attention to this one as it might cause compatibility problems with third-party code that tries to use the svchost.exe hosting process, including third-party smart-card plugins.
  • Configuring the new App Privacy setting, “Let Windows apps activate with voice while the system is locked,” so that users cannot interact with applications using speech while the system is locked.
  • Disabling multicast name resolution (LLMNR) to mitigate server spoofing threats.
  • Restricting the NetBT NodeType to P-node, disallowing the use of broadcast to register or resolve names, also to mitigate server spoofing threats. We have added a setting to the custom “MS Security Guide” ADMX to enable managing this configuration setting through Group Policy.
  • Correcting an oversight in the Domain Controller baseline by adding recommended auditing settings for Kerberos authentication service.
  • Dropping the password-expiration policies that require periodic password changes. This change is discussed in further detail below.
  • Dropping the specific BitLocker drive encryption method and cipher strength settings. The baseline has been requiring the strongest available BitLocker encryption. We are removing that item for a few reasons. The default is 128-bit encryption, and our crypto experts tell us that there is no known danger of its being broken in the foreseeable future. On some hardware there can be noticeable performance degradation going from 128- to 256-bit. And finally, many devices such as those in the Microsoft Surface line turn on BitLocker by default and use the default algorithms. Converting those to use 256-bit requires first decrypting the volumes and then re-encrypting, which creates temporary security exposure as well as user impact.
  • Dropping the File Explorer “Turn off Data Execution Prevention for Explorer” and “Turn off heap termination on corruption” settings, as it turns out they merely enforce default behavior, as Raymond Chen describes here.

In addition, although we have not changed the draft baseline at this time, we are considering dropping the enforcement of the default behavior of disabling the built-in Administrator and Guest accounts. The proposal is discussed in more detail below and we would very much like to get feedback before we proceed with any change.

Dropping the password expiration policies.**

There’s no question that the state of password security is problematic and has been for a long time. When humans pick their own passwords, too often they are easy to guess or predict. When humans are assigned or forced to create passwords that are hard to remember, too often they’ll write them down where others can see them. When humans are forced to change their passwords, too often they’ll make a small and predictable alteration to their existing passwords, and/or forget their new passwords. When passwords or their corresponding hashes are stolen, it can be difficult at best to detect or restrict their unauthorized use.

Recent scientific research calls into question the value of many long-standing password-security practices such as password expiration policies, and points instead to better alternatives such as enforcing banned-password lists (a great example being Azure AD password protection) and multi-factor authentication. While we recommend these alternatives, they cannot be expressed or enforced with our recommended security configuration baselines, which are built on Windows’ built-in Group Policy settings and cannot include customer-specific values.

This reinforces a larger important point about our baselines: while they are a solid foundation and should be part of your security strategy, they are not a complete security strategy. In this particular case, the small set of ancient password policies enforceable through Windows’ security templates is not and cannot be a complete security strategy for user credential management. Removing a low-value setting from our baseline and not compensating with something else in the baseline does not mean we are lowering security standards. It simply reinforces that security cannot be achieved entirely with baselines.

Why are we removing password-expiration policies?

First, to try to avoid inevitable misunderstandings, we are talking here only about removing password-expiration policies – we are not proposing changing requirements for minimum password length, history, or complexity.

Periodic password expiration is a defense only against the probability that a password (or hash) will be stolen during its validity interval and will be used by an unauthorized entity. If a password is never stolen, there’s no need to expire it. And if you have evidence that a password has been stolen, you would presumably act immediately rather than wait for expiration to fix the problem.

If it’s a given that a password is likely to be stolen, how many days is an acceptable length of time to continue to allow the thief to use that stolen password? The Windows default is 42 days. Doesn’t that seem like a ridiculously long time? Well, it is, and yet our current baseline says 60 days – and used to say 90 days – because forcing frequent expiration introduces its own problems. And if it’s not a given that passwords will be stolen, you acquire those problems for no benefit. Further, if your users are the kind who are willing to answer surveys in the parking lot that exchange a candy bar for their passwords, no password expiration policy will help you.

Our baselines are intended to be usable with minimal if any modification by most well-managed, security-conscious enterprises. They are also intended to serve as guidance for auditors. So, what should the recommended expiration period be? If an organization has successfully implemented banned-password lists, multi-factor authentication, detection of password-guessing attacks, and detection of anomalous logon attempts, do they need any periodic password expiration? And if they haven’t implemented modern mitigations, how much protection will they really gain from password expiration?

The results of baseline compliance scans are usually measured by how many settings are out of compliance: “How much red do we have on the chart?” It is not unusual for organizations during audit to treat compliance numbers as more important than real-world security. If a baseline recommends 60 days and an organization with advanced protections opts for 365 days – or no expiration at all – they will get dinged in an audit unnecessarily and might be compelled to adhere to the 60-day recommendation.

Periodic password expiration is an ancient and obsolete mitigation of very low value, and we don’t believe it’s worthwhile for our baseline to enforce any specific value. By removing it from our baseline rather than recommending a particular value or no expiration, organizations can choose whatever best suits their perceived needs without contradicting our guidance. At the same time, we must reiterate that we strongly recommend additional protections even though they cannot be expressed in our baselines.

Proposal: Dropping the enforced disabling of the built-in Administrator and Guest accounts

To keep baselines useful and manageable, we tend to enforce secure defaults for policy settings only when 1) non-administrative users could otherwise override those defaults, or 2) misinformed administrators are otherwise likely to make poor choices about the setting. The proposal asserts that neither of those conditions are true regarding enforcing the default disabling of the Administrator and Guest accounts. Note that removing these settings from the baseline would not mean that we recommend that these accounts be enabled, nor would removing these settings mean that the accounts will be enabled. Removing the settings from the baselines would simply mean that administrators could now choose to enable these accounts as needed.

The built-in Guest account. The Guest account (RID -501) is disabled by default on Windows 10 and Windows Server. Only an administrator can enable the Guest account, and an admin would presumably do so only for a valid reason such as for a kiosk system.

The built-in Administrator account. The local Administrator account (RID -500) is disabled by default on Windows 10 but not on Windows Server. When installing Windows 10, Windows Setup prompts you for a new account which becomes the primary administrative account for the computer. By contrast, Windows Server’s setup prompts you for a new password for the Administrator account. The main differences between the built-in -500 Administrator account (when enabled) and a custom administrative local account are 1) the -500 account is not subject to account lockout, account expiration, password expiration, or logon hours; 2) the -500 account cannot be removed from the Administrators group; and 3) that by default the -500 account always runs with full administrative rights without UAC prompts, including over the network. This third difference can be removed (as our baselines always do) by enabling the security option, “User Account Control: Admin Approval Mode for the Built-in Administrator account.”

The proposed recommendations for administrative local accounts include:

  • You can choose not to have any administrative local accounts enabled and to administer domain-joined systems only with domain accounts.
  • If you choose to use local accounts for computer administration, you should have only one administrative local account enabled per computer. With the proposed change in the baseline, you could choose to use the -500 Administrator account or a custom account, according to your needs. (Note that if you rely account lockout for defense against password-guessing attacks, you should not enable the -500 account.)
  • The administrative local account’s password should be strong and should be different from the same account’s password on every other computer. We recommend the Local Administrator Password Solution (LAPS) or a similar tool to ensure that passwords are random and strong. LAPS can manage the password of the -500 account or a custom named local account. Note also that LAPS’ password-expiration enforcement is independent from Windows’ password-expiration mechanism, and always applies to whatever account LAPS manages.
  • Renaming the Administrator account is perfectly fine but is “security by obscurity.” Renaming is easy to do through Group Policy and doing so can mitigate some threats, but it’s less than a speedbump against other threats.

Comments

  • Anonymous
    April 24, 2019
    This is awesome....except that these policies generally aren't up to IT discretion. Until the PCI/SOX/etc guidelines are changed, the compliance departments will force us to continue with the exact same policies and password expiration dates.
  • Anonymous
    April 25, 2019
    >Why are we removing password-expiration policies?There are many compliance policies that still take into account password expiration times. Removing this option entirely from the baseline will not help those organizations.Also, while it is true that passwords can be broken in less than 15 30 42 60 or 90 days, that's not the actual risk that password rotation addresses. In practice, password rotation mitigates the risk that passwords shared across multiple environments are still not valid years later. It helps mitigate the real risk that a user password that is captured or breached at a particular time, is not still valid an indefinite time later.If we're going to get rid of password rotation altogether (as also proposed/suggested by newer NIST guidelines), then we should first ensure that multi-factor is implemented everywhere for all access. First. Otherwise, we are removing one mitigation because of a narrow view of the benefit it does or does not provide, while not automatically replacing it with an option that is more effective. And we are removing it before all compliance standards are onboard. Not helpful.[Aaron Margosis] I think you might be misunderstanding what we're doing. You can still configure password expiration if you want (where "want" can include "we're forced to by some regulation"). The password-expiration security option is still in Windows and will remain there. We are simply no longer recommending it as part of our GPO-centric security baselines. And as the post says, we recommend better alternatives including MFA and Azure AD Password Protection but those recommendations can't be expressed within these baselines. As far as "all compliance standards" go, we have no control over them or their timelines, and it doesn't make much sense for us to wait for them all. We need to be the last to change?BTW, none of these controls will help with passwords shared across multiple environments.
    • Anonymous
      April 25, 2019
      Thanks for your response, Aaron. I realized that you were not taking the functionality out of Windows, but having it as an optional part of the baseline is still desirable. Fair point on not needing to wait for every other party to move on something before you do -- I could have worded my concern in that area better.
      • Anonymous
        April 25, 2019
        Concerning password expirations, many businesses are following a new NIST guideline for password strength versus frequently or arbitrary changing of passwords. You're better off with complex passwords or phrases and never changing the password. A lot of folks are buying tools to manage complexity and have dictionary databases of compromised passwords that are updated sometimes daily or more. If you suspect compromise, change it. Otherwise I invite you to review the following. https://pages.nist.gov/800-63-3/sp800-63b.html#memsecretver
  • Anonymous
    April 25, 2019
    On the password expiry: Good to see it is not forced from the guidelines. On the other hand, I hope it remains available to be configured just in case other security routines (like Multi factor auth) are somehow not available.It would be nice if there is a password expiry that has a time-out based on the password strength. There are several routines that can generate a number for a password quality. Based on the quality, the password expiry can be somewhere from a single day to more than a year. With that, the user can choose to use an easy guessable password and be forced to change it the next day. Or the user is rewarded with a long password expiry if she uses a 'strong' password.And if there is a user option to use multi factor auth (or such), the user can be rewarded by getting a longer password expriy too.[Aaron Margosis] The setting is still available in the security editor. We're only removing our recommendation to configure it.
    • Anonymous
      May 26, 2019
      No, I meant that it was in the GPO report itself I downloaded - but in the draft only. In the final version released I see it has been removed.[Aaron Margosis] Yes, they were accidentally left in the draft GPO reports but they weren't in the draft GPOs. Fixed in the final, as you point out.
  • Anonymous
    April 26, 2019
    The comment has been removed
  • Anonymous
    April 26, 2019
    Would the same password expiry policy apply to all account types, i.e administrators, vendors, partners, etc...? Argument can be made that, with the controls in place,i.e MFA, ATA, etc..., the policy should be applied across the board to all those identities.
  • Anonymous
    April 26, 2019
    For the PolicyRules files what is the difference between MSFT-Win10-v1903-DRAFT.PolicyRules and MSFT-Win10-WS-v1903-DRAFT.PolicyRules? Thanks.[Aaron Margosis] The one with "WS" in the name also includes the Windows Server settings. In other words, it's the entire set including the Windows 10, Windows Server / Member Server, and Windows Server / Domain Controller settings. In Policy Analyzer, you can use the "GPO filter" feature to look at any subset of the combined set.
  • Anonymous
    April 29, 2019
    I think this is a bad mistake. The research is all about a single threat vector, the end user’s password management. The baseline covers additional threat vectors such as stolen hashes, users disclosing passwords to Helpdesk personnel, shared common development accounts such as database users, typefisting and coffee shop video cameras and probably at least 3-4 other common issues.You are actively removing security value from the baseline, and given the new plethora of ID/password files being passed around, used in tools and traded, I’m puzzled that a few research papers examining only a single dimension of the issue would bring about such a policy change where a simple “or additional compensating control” guidance covers the downside without losing the upside.[Aaron Margosis] If a user intentionally or unintentionally exposes their password to an unauthorized and malicious actor, and the password expiration is still 40 days away -- or even a week away -- how much protection does that really provide? Password expiration is not the answer to that kind of problem.
    • Anonymous
      April 30, 2019
      Aaron, it depends on the attacker, but with password dumps like Collections #1-5, passive captures and older video footage and disgruntled former employees, I suspect most of the value is >30 days out. The active threat model, just like the user-risk-only one is IMO too short-sighted.I often use old password dumps in the OSINT portions of my testing engagements. If the user’s credential was stolen a year ago and they haven’t had to change it, my job as an attacker becomes trivial. Changing the standard to make trivial attacks easier based on studies that only examine one threat vector is not a good thing.
  • Anonymous
    April 29, 2019
    Since it appears the intent of changing the password expiration baseline is so that customers following a more recent guidance (such as NIST 800-63b Appendix A - https://pages.nist.gov/800-63-3/sp800-63b.html#appA ) do not get dinged on reports vs baselines, shouldn't you also remove password complexity requirements for the same reason? Recent research shows that password length is more important than password complexity ( https://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=6234434) and there are significant downsides with complexity ( https://link.springer.com/chapter/10.1007/978-3-319-07620-1_15 ). If a customer is following a more recent guidance, the above change just reduce the number of dings from 2 to 1. Of course the guidance is also to increase the minimum number of characters. Is it possible to have conditional baselines, where dropping the complexity requirements increases the minimum number of characters?It's a shame Microsoft isn't able to baseline the other controls at this time.[Aaron Margosis] You make a very valid point, of course. We might take up that change in a future baseline. For now, we decided that the biggest gain would be to remove the password-expiration recommendation.The baseline establishes minimum password length at 14. We can't enforce a longer one through the standard Group Policy without using Fine-Grained Password Policies, which like some other recommended alternatives won't fit in our current security baseline format.
    • Anonymous
      April 30, 2019
      The comment has been removed
  • Anonymous
    April 30, 2019
    The comment has been removed
  • Anonymous
    April 30, 2019
    The comment has been removed
  • Anonymous
    May 03, 2019
    The comment has been removed
  • Anonymous
    May 05, 2019
    Did anyone try using “Enable svchost.exe mitigation options” ? As far as I can see the setting doesn't exist in the new template....[Aaron Margosis] Are you sure you have Win10 v1903 installed?
    • Anonymous
      May 07, 2019
      Yes I'm sure, rest of the settings from the article are there, but not that one.[Aaron Margosis] It's there. Look again. Computer Configuration\Administrative Templates\System\Service Control Manager Settings\Security Settings.
      • Anonymous
        May 08, 2019
        http://prntscr.com/nlxmrfMost of these settings weren't there before I added the 1903 ADMXs so I know they're installed correctly.http://prntscr.com/nlxnkbAnd here I see no "Service Control Manager Settings". What am I doing wrong?[Aaron Margosis] Do you have a ServiceControlManager.admx in %windir%\PolicyDefinitions and a corresponding .adml in a corresponding language subdirectory?Take a look at the list of settings in the "New settings in Windows v1903.xlsx" spreadsheet in the zip file's Documentation folder; those are all the new settings in Windows - are all of those present? Note that the settings in "MS Security Guide" don't ship in Windows but come with the baseline package.[Aaron Margosis] And just to be super-clear: installing the baseline package for v1903 does not install the ADMX files for v1903. Run "winver" to verify the Windows version you're running.
  • Anonymous
    May 15, 2019
    The comment has been removed
    • Anonymous
      May 24, 2019
      I'm not a big fan of either, but at least password hints don't provide a permanent backdoor into the client.It is trivial to change the reset questions/answers for accounts in the SAM (including the default 500 RID) and there are multiple toolsets available that automate this process. This 'feature' enables persistence for attackers who have already gained initial access - they can reset the admin password and login at will. Manually resetting the password does nothing to mitigate this vulnerability. Not only can attackers get back in on-demand, their manual password resets break LAPS.I have also not been able to find an effective way to audit this vulnerability, short of noting when the password resets - but by then it's too late...If forced to pick between two bad options, I would rather deal with lazy end users than provide back-doors for criminals...[Aaron Margosis] By "initial access," do you mean with a non-admin or an admin account? Are you saying that a non-admin can change the "security questions" for any other account, including the -500 admin?
    • Anonymous
      May 24, 2019
      An entirely different reason is that it would be useful to manage this setting via Intune. The reg settings for the Intune Security Baselines are pulled from this.