All Projects → nsacyber → BitLocker-Guidance

nsacyber / BitLocker-Guidance

Licence: other
Configuration guidance for implementing BitLocker. #nsacyber

Programming Languages

HTML
75241 projects
powershell
5483 projects

Projects that are alternatives of or similar to BitLocker-Guidance

BitLockerUtility
Managing BitLocker from WinPE Environment
Stars: ✭ 32 (-64.44%)
Mutual labels:  bitlocker, bitlocker-drive-encryption
Detect-CVE-2017-15361-TPM
Detects Windows and Linux systems with enabled Trusted Platform Modules (TPM) vulnerable to CVE-2017-15361. #nsacyber
Stars: ✭ 34 (-62.22%)
Mutual labels:  audit, nessus
Windows-Optimize-Harden-Debloat
Fully Optimize, Harden, and Debloat Windows 10 and Windows 11 Deployments to Windows Best Practices and DoD STIG/SRG Requirements. The ultimate Windows 10 & 11 security and privacy script!
Stars: ✭ 304 (+237.78%)
Mutual labels:  microsoft, bitlocker
powershell
PnP PowerShell
Stars: ✭ 326 (+262.22%)
Mutual labels:  microsoft
add-to-calendar-button
A convenient JavaScript snippet, which lets you create beautiful buttons, where people can add events to their calendars.
Stars: ✭ 697 (+674.44%)
Mutual labels:  microsoft
auv gnc
Guidance, Navigation, and Control library for AUVs
Stars: ✭ 34 (-62.22%)
Mutual labels:  guidance
risu
Risu is Nessus parser, that converts the generated reports into a ActiveRecord database, this allows for easy report generation and vulnerability verification.
Stars: ✭ 62 (-31.11%)
Mutual labels:  nessus
Viber-and-the-Microsoft-Bot-Framework
se02035.github.io/viber-and-the-microsoft-bot-framework/
Stars: ✭ 16 (-82.22%)
Mutual labels:  microsoft
dotnet-security-unit-tests
A web application that contains several unit tests for the purpose of .NET security
Stars: ✭ 25 (-72.22%)
Mutual labels:  microsoft
evaluatory
Web page evaluation with a focus on accessibility
Stars: ✭ 57 (-36.67%)
Mutual labels:  audit
site-audit-seo
Web service and CLI tool for SEO site audit: crawl site, lighthouse all pages, view public reports in browser. Also output to console, json, csv, xlsx, Google Drive.
Stars: ✭ 91 (+1.11%)
Mutual labels:  audit
powerquery-language-services
Library to provide intellisense and other language services for the Power Query / M language.
Stars: ✭ 27 (-70%)
Mutual labels:  microsoft
c4-common-issues
A collection of common security issues and possible gas optimizations in solidity smart contracts
Stars: ✭ 85 (-5.56%)
Mutual labels:  audit
DynamicProto-JS
Generates dynamic prototype methods for JavaScript objects (classes) by supporting method definition within their "class" constructor (like an instance version), this removes the need to expose internal properties on the instance (this) which results in better code minfication and therefore improved load times for your users.
Stars: ✭ 16 (-82.22%)
Mutual labels:  microsoft
azure-policy-testing
This repository outlines an automated testing approach for Azure Policies. The approach is fundamentally based on behavior-driven development (BDD) to improve communication between developers, security experts and compliance officers.
Stars: ✭ 78 (-13.33%)
Mutual labels:  microsoft
verdaccio-audit
🛡🔬verdaccio plugin for npm audit support
Stars: ✭ 13 (-85.56%)
Mutual labels:  audit
BimlFlex-Community
Community-focused content to supplement working with BimlFlex.
Stars: ✭ 30 (-66.67%)
Mutual labels:  microsoft
monthlyresources
Use this repository to explore the latest content and code samples. Each month we will release best of content resources that relate to a particular theme. - Microsoft Developer Editorial team
Stars: ✭ 198 (+120%)
Mutual labels:  microsoft
visioStencils
My 2,700 visio 🎨 shapes, stencils, symbols, and icons collection to visually represent IT infrastructure
Stars: ✭ 43 (-52.22%)
Mutual labels:  microsoft
windows-xp
A simulation of the awesome Windows-XP made by using only the web tools and no library. All rights reserved to Microsoft.
Stars: ✭ 14 (-84.44%)
Mutual labels:  microsoft

BitLocker Guidance

About Microsoft BitLocker

Microsoft BitLocker is a full volume encryption feature built into Windows. BitLocker is intended to protect data on devices that have been lost or stolen. BitLocker is available in the Ultimate and Enterprise editions of Windows Vista and Windows 7, in the Professional and Enterprise editions of Windows 8/8.1, and in the Pro, Enterprise, and Education editions of Windows 10. BitLocker is also included in the Windows Server releases of Windows since Window Server 2008.

The Windows 10 BitLocker modules have been validated against NIST FIPS 140-2 program multiple times:

About this repository

This repository hosts Group Policy Objects, compliance checks, and configuration tools in support of implementing BitLocker.

A BitLocker PowerShell module has been provided to aid in provisioning BitLocker on standalone systems. Group Policy and Microsoft SCCM 1910 CB can be used for provisioning BitLocker on domain joined systems.

BitLocker settings

NSA Cybersecurity recommends using the newest BitLocker settings in the Microsoft Windows Security Baseline, available in the Security Compliance Toolkit, with the following modifications:

  • The Choose drive encryption method and cipher strength (Windows 10 [Version 1511] and later) > Select the encryption method for removable data drives policy under can be set to XTS-AES 256-bit or AES-CBC 256-bit instead of just AES-CBC 256-bit. AES-CBC 256-bit is allowed so operating system releases before Windows 10 1511 will be able read the encrypted media.
  • The Deny write access to removable drives not protected by BitLocker policy under Computer Configuration > Administrative Templates > Windows Components > BitLocker Drive Encryption > Removable Data Drives can be set to Not Configured instead of Enabled. BitLocker is not used for Data Loss Prevention in DoD.
  • The Configure minimum PIN length for startup policy under Computer Configuration > Administrative Templates > Windows Components > BitLocker Drive Encryption > Operating System Drives can be set to 6 or higher instead of 7. A value of 6 aligns with the Mobile Device Fundamentals Protection Profile.
  • The Disable new DMA devices when this computer is locked policy under Computer Configuration > Administrative Templates > Windows Components > BitLocker Drive Encryption can be set to Enabled or Not Configured. This policy has known issues that may lead to certain built-in devices (network, audio, etc) not working, or a slow system boot, in Windows 10 1709.
  • Any settings that reinforce default behaviors are considered optional for configuration:
    • Allow Secure Boot for integrity validation policy under Computer Configuration > Administrative Templates > Windows Components > BitLocker Drive Encryption > Operating System Drives can be set to Enabled or Not Configured.
  • PIN settings are only required when a startup PIN is desired.

General settings

View the policies as a CSV which is easier to read than the table below and is also searchable.

Policy Path Policy Name Policy State Policy Value Registry Path Registry Value Name Registry Data Value Applicable Client Applicable Server Required for Applicable OS
Computer Configuration > System > Device Installation > Device Installation Restrictions Prevent installation of devices that match any of these Device IDs > Prevent installation of devices that match any of these Device IDs: Enabled PCI\CC_0C0A HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions DenyDeviceIDs 1 Windows Vista+ Windows Server 2008+ Yes
Computer Configuration > System > Device Installation > Device Installation Restrictions Prevent installation of devices that match any of these Device IDs > Prevent installation of devices that match any of these Device IDs: Enabled HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions DenyDeviceIDsRetroactive 1 Windows Vista+ Windows Server 2008+ Yes
Computer Configuration > System > Device Installation > Device Installation Restrictions Prevent installation of devices using drivers that match these device setup classes > Prevent installation of devices using drivers that match these device setup classes: Enabled {d48179be-ec20-11d1-b6b8-00c04fa372a7} HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions DenyDeviceClasses 1 Windows Vista+ Windows Server 2008+ Yes
Computer Configuration > System > Device Installation > Device Installation Restrictions Prevent installation of devices using drivers that match these device setup classes > Prevent installation of devices using drivers that match these device setup classes: Enabled HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions DenyDeviceClassesRetroactive 1 Windows Vista+ Windows Server 2008+ Yes
Computer Configuration > System > Power Management > Sleep Settings Allow standby states (S1-S3) when sleeping (on battery) Disabled HKLM\Software\Policies\Microsoft\Power\PowerSettings\abfc2519-3608-4c2a-94ea-171b0ed546ab DCSettingIndex 0 Windows Vista+ Windows Server 2008+ Yes
Computer Configuration > System > Power Management > Sleep Settings Allow standby states (S1-S3) when sleeping (plugged in) Disabled HKLM\Software\Policies\Microsoft\Power\PowerSettings\abfc2519-3608-4c2a-94ea-171b0ed546ab ACSettingIndex 0 Windows Vista+ Windows Server 2008+ Yes
Computer Configuration > Administrative Templates > Windows Components > BitLocker Drive Encryption > Operating System Drives Choose how BitLocker-protected operating system drives can be recovered Enabled HKLM\Software\Policies\Microsoft\FVE OSRecovery 1 Windows 7+ Windows Server 2008 R2+ Yes (domain joined systems only)
Computer Configuration > Administrative Templates > Windows Components > BitLocker Drive Encryption > Operating System Drives Choose how BitLocker-protected operating system drives can be recovered > Save BitLocker recovery information to AD DS for operating system drives Save BitLocker recovery information to AD DS for operating system drives HKLM\Software\Policies\Microsoft\FVE OSActiveDirectoryBackup 1 Windows 7+ Windows Server 2008 R2+ Yes (domain joined systems only)
Computer Configuration > Administrative Templates > Windows Components > BitLocker Drive Encryption > Operating System Drives Choose how BitLocker-protected operating system drives can be recovered > Configure storage of BitLocker recovery information to AD DS Store recovery passwords and key packages HKLM\Software\Policies\Microsoft\FVE OSActiveDirectoryInfoToStore 1 Windows 7+ Windows Server 2008 R2+ Yes (domain joined systems only)
Computer Configuration > Administrative Templates > Windows Components > BitLocker Drive Encryption > Operating System Drives Choose how BitLocker-protected operating system drives can be recovered > Do not enable BitLocker until recovery information is stored in AD DS for operating system drives Do not enable BitLocker until recovery information is stored in AD DS for operating system drives HKLM\Software\Policies\Microsoft\FVE OSRequireActiveDirectoryBackup 1 Windows 7+ Windows Server 2008 R2+ Yes (domain joined systems only)
Computer Configuration > Administrative Templates > Windows Components > BitLocker Drive Encryption Choose drive encryption method and cipher strength (Windows 10 [Version 1511] and later) > Select the encryption method for operating system drives Enabled XTS-AES 256-bit HKLM\Software\Policies\Microsoft\FVE EncryptionMethodWithXtsOs 7 Windows 10 1511+ Windows Server 2016+ Yes
Computer Configuration > Administrative Templates > Windows Components > BitLocker Drive Encryption Choose drive encryption method and cipher strength (Windows 10 [Version 1511] and later) > Select the encryption method for fixed data drives Enabled XTS-AES 256-bit HKLM\Software\Policies\Microsoft\FVE EncryptionMethodWithXtsFdv 7 Windows 10 1511+ Windows Server 2016+ No
Computer Configuration > Administrative Templates > Windows Components > BitLocker Drive Encryption Choose drive encryption method and cipher strength (Windows 10 [Version 1511] and later) > Select the encryption method for removable data drives Enabled XTS-AES 256-bit or AES-CBC 256-bit HKLM\Software\Policies\Microsoft\FVE EncryptionMethodWithXtsRdv 4 or 7 Windows 10 1511+ Windows Server 2016+ No
Computer Configuration > Administrative Templates > Windows Components > BitLocker Drive Encryption Choose drive encryption method and cipher strength (Windows 8, Windows Server 2012, Windows 8.1, Windows Server 2012 R2, Windows 10 [Version 1507]) > Select encryption method Enabled AES 256-bit HKLM\Software\Policies\Microsoft\FVE EncryptionMethodNoDiffuser 4 Windows 8 - Windows 10 1507 Windows Server 2012 - Windows Server 2012 R2 Yes
Computer Configuration > Administrative Templates > Windows Components > BitLocker Drive Encryption Choose drive encryption method and cipher strength (Windows Vista, Windows Server 2008, Windows 7, Windows Server 2008 R2) > Select encryption method Enabled AES 256-bit HKLM\Software\Policies\Microsoft\FVE EncryptionMethod 2 Windows Vista - Windows 7 Windows Server 2008 - Windows Server 2008 R2 Yes
Computer Configuration > Administrative Templates > Windows Components > BitLocker Drive Encryption Disable new DMA devices when this computer is locked Enabled HKLM\Software\Policies\Microsoft\FVE DisableExternalDMAUnderLock 1 Windows 10 1703+ N/A Yes
Computer Configuration > Administrative Templates > Windows Components > BitLocker Drive Encryption > Operating System Drives Allow Secure Boot for integrity validation Enabled or Not Configured HKLM\Software\Policies\Microsoft\FVE OSAllowSecureBootForIntegrity or not exist 1 or not exist Windows 8+ Windows Server 2012+ No

PIN related settings

Some environments may desire additional protection provided by a BitLocker startup PIN. The settings are considered optional. The following settings may be configured when this scenario is desired.

View the policies as a CSV which is easier to read than the table below and is also searchable.

Policy Path Policy Name Policy State Policy Value Registry Path Registry Value Name Registry Data Value Applicable Client Applicable Server Required for Applicable OS
Computer Configuration > Administrative Templates > Windows Components > BitLocker Drive Encryption > Operating System Drives Allow enhanced PINs for startup Enabled HKLM\Software\Policies\Microsoft\FVE UseEnhancedPin 1 Windows 7+ Windows Server 2008 R2+ Yes
Computer Configuration > Administrative Templates > Windows Components > BitLocker Drive Encryption > Operating System Drives Configure minimum PIN length for startup Enabled 6 or larger value HKLM\Software\Policies\Microsoft\FVE MinimumPIN 6 or larger Windows 7+ Windows Server 2008 R2+ Yes

Administrators may need to configure BitLocker Network Unlock to ensure systems apply updates without requiring a user be physically present to enter a PIN at system boot.

BitLocker Group Policy

The Microsoft Security Compliance Toolkit contains BitLocker Group Policy Objects (GPO) for each Windows 10 operating system release's Windows Security Baseline. The GPOs can be used to configure and manage domain joined as well as standalone systems.

If using MBAM to configure and manage BitLocker on domain joined systems, then download the Microsoft Desktop Optimization Pack (MDOP) Group Policy templates since they contain the MBAM Group Policy settings.

Importing the BitLocker domain Group Policy

Use the PowerShell Group Policy commands to import the BitLocker Group Policy into a domain. Run the following command on a domain controller from a PowerShell prompt running as a domain administrator.

Invoke-ApplySecureHostBaseline -Path '.\Secure-Host-Baseline' -PolicyNames 'BitLocker'

Importing the AppLocker local Group Policy

Use Microsoft's LGPO tool to apply the BitLocker Group Policy to a standalone system. Run the following command from a command prompt running as a local administrator.

Invoke-ApplySecureHostBaseline -Path '.\Secure-Host-Baseline' -PolicyNames 'BitLocker' -ToolPath '.\LGPO\lgpo.exe'

Common issues

Conflicting BitLocker startup options

  • Issue: Error message: The Group Policy settings for BitLocker startup options are in conflict and cannot be applied. Error code: 0x8031005B
  • Explanation: The 'Require additional authentication at startup' policy description text can be misleading on how to correctly configure it.
  • Resolution:
    1. Go to Computer Configuration > Administrative Templates > Windows Components > BitLocker Drive Encryption > Operating System Drives
    2. Change the Require additional authentication at startup policy to configure all 4 dropdown menu options to Allow OR set 1 option to Require and the other 3 options to Do not allow.
    3. Run gpupdate /force from the command line.

Support for pre-boot PIN entry on tablets

  • Issue: Error message: No pre-boot keyboard detected. The user may not be able to provide required input to unlock the volume. Error code: 0x803100B5
  • Explanation: BitLocker checks if the system is a tablet. If it is a tablet, then BitLocker displays the above error message when trying to use a PIN protector. BitLocker doesn't check if the system supports a pre-boot keyboard. Some tablets may have a BIOS that supports a software keyboard. For example, the Dell Venue 11 Pro, Surface Pro 3, and Surface Pro 4 support entering a BitLocker PIN at pre-boot with a BIOS software keyboard. Some tablets may have detachable keyboard that works during pre-boot. For example, the Surface Pro 2 with firmware update from March 2014, Surface Pro 3, and Surface Pro 4 support entering a BitLocker PIN at pre-boot with their detachable keyboards. If the tablet does not support a BIOS software keyboard or a detachable keyboard that works during pre-boot, then configuring the below policy will require a USB keyboard be plugged into the tablet to enter a BitLocker PIN at pre-boot. Contact the OEM to inquire about tablet support for this specific scenario.
  • Resolution:
    1. Go to Computer Configuration > Administrative Templates > Windows Components > BitLocker Drive Encryption
    2. Set the Enable use of BitLocker authentication requiring preboot keyboard input on slates policy to Enabled.
    3. Run gpupdate /force from the command line.

License

See LICENSE.

Contributing

See CONTRIBUTING.

Disclaimer

See DISCLAIMER.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].