Skip to content
ImagineWorld

Endpoint Security: Windows 10 and Windows 11

node_idnode-book_it-audit-field-manual_chapter-06-endpoint-security-windows-10-and-windows-11
node_typechapter-node
schema_profileworld.chapter_node.v1
statusactive
entropyhigh
manifoldworld
domainimagineworld.net
authorityinforms
layercorpus
chapter_num6
chapter_titleEndpoint Security: Windows 10 and Windows 11
governed_byCORPUS
constitutional_citationCONSTITUTION
local graph

Chapter 6 — Endpoint Security: Windows 10 and Windows 11

Section titled “Chapter 6 — Endpoint Security: Windows 10 and Windows 11”

Users throughout an organization typically interact with company resources by using a computer that we refer to as an endpoint. Endpoints, including laptops, desktops, and servers, are often the primary targets for cyber attackers looking to impact business operations for their gain. As an IT auditor, it is a foundational skill to understand the security features and best practices for securing endpoints, especially those running the most widely used Operating Systems (OSs): Windows 10 and Windows 11.

Windows 10, released in 2015, has been the dominant OS for personal computers and enterprise workstations. Windows 10 will lose vendor support in 2025 and should be replaced by Windows 11, which was launched in 2021 and builds upon the security foundation of Windows 10 while introducing new features and enhancements. Both versions offer a range of built-in security tools and configurations which, when properly implemented and audited, can significantly reduce the risk of cyber incidents and data breaches.

This chapter provides an introductory understanding of Windows 10 and Windows 11 endpoint security to help inform your audits. We will explore the key security features that these OSs offer, including Microsoft Defender Antivirus, Windows Firewall, and BitLocker encryption. You will learn how to effectively configure, monitor, and audit these features to ensure that they function as intended and align with your organization’s security policies.

Throughout the chapter, we will compare and contrast the security implementations between Windows 10 and Windows 11, highlighting any significant differences or improvements.

By the end of this chapter, you will have gained key knowledge and skills.

This chapter covers the following topics:

  • Security features in Windows 10 and 11
  • Auditing Microsoft Defender in Windows 10 and 11
  • Evaluating Windows Firewall across both versions
  • BitLocker and data encryption in Windows 10 and 11

Whether you are new to IT auditing or looking to expand your knowledge of endpoint security, this chapter will provide you with the foundation needed to confidently navigate the security landscape of Windows 10 and Windows 11.

Security features in Windows 10 and Windows 11

Section titled “Security features in Windows 10 and Windows 11”

Windows 10 and Windows 11 come equipped with a powerful set of built-in security features designed to protect endpoints from various cyber threats. These Windows security features work together to create a multi-layered defense against malware, unauthorized access, and data breaches. In this section, we will explore the key security features found in both OSs and discuss best practices for configuring and maintaining them.

Each version of Microsoft Windows includes some basic security features to help keep users and their data safe. Let’s take a look at some of the more common built-in features in Windows.

Microsoft Defender Antivirus is a comprehensive, built-in antimalware solution that comes pre-installed on Windows 10 and Windows 11 devices. It offers real-time protection against a wide range of cyber threats, including viruses, trojans, ransomware, spyware, and other types of malicious software. The following figure shows a common file scan of an endpoint.

Figure 6.1 – Microsoft Defender Antivirus and threat protection scanning

Microsoft Defender Antivirus uses several different approaches to detect and block potential threats helping to ensure a high level of protection for your endpoint systems:

  • Signature-based detection: One of the primary methods employed by Microsoft Defender Antivirus is signature-based detection. Signature-based detection involves comparing files and processes on your device against a constantly updated database of known malware signatures. When a match is found, the antivirus software immediately quarantines or removes the malicious file, preventing it from harming your system.
  • Heuristic analysis: Microsoft Defender Antivirus can also use heuristic analysis to identify potential threats that may not have known signatures. Heuristic analysis examines the behavior and characteristics of files and processes, looking for patterns and anomalies that are indicative of malicious activity. Heuristic analysis allows the antivirus software to detect and block new and emerging threats that may not yet be included in the signature database.
  • Integration with other Windows security features: Microsoft Defender Antivirus is tightly integrated with other security features in Windows 10 and Windows 11, providing a comprehensive and cohesive security solution for these endpoints. For example, it works seamlessly with Microsoft Defender Firewall to monitor and block malicious network traffic and with User Account Control (UAC) to prevent unauthorized changes to your system. UAC Integration ensures that your endpoints are protected from multiple angles, reducing the risk of successful cyber-attacks.

Some companies will potentially leverage a different antivirus solution for their networks. Microsoft Defender Antivirus is a robust and reliable built-in antimalware solution that provides comprehensive protection for your Windows 10 and Windows 11 endpoints. You will likely encounter Microsoft Defender Antivirus several times since the software is built-in with every Windows installation.

Windows Firewall is a built-in network security feature in Windows 10 and Windows 11. Windows Firewall acts as a barrier between your device and the network, monitoring and controlling incoming and outgoing network traffic based on a set of predefined security rules. The primary purpose of Windows Firewall is to prevent unauthorized access to your device and block potentially malicious network activity, ultimately protecting your endpoints from network-based threats.

Let’s take a look at some common firewall-related traits that you will also find in Windows Firewall solutions:

  • Inbound and outbound traffic filtering: Windows Firewall filters inbound and outbound network traffic. Inbound traffic refers to the flow of information from the network to an endpoint device, while outbound traffic refers to data sent from your endpoint device to the network. By default, Windows Firewall blocks most inbound traffic unless it is explicitly allowed by a rule or the application requesting the connection is trusted. This helps prevent unauthorized access to your device and reduces the risk of network-based attacks. The default behavior also helps direct your auditing actions since you can likely start by reviewing all inbound traffic rules.
  • Customizable security rules: Windows Firewall allows you to create and customize security rules to control network traffic based on various criteria, such as the application, port, protocol, or IP address. You can create rules to allow or block specific types of network traffic. This granular control over network traffic helps you enforce the principle of least privilege and reduce the attack surface of your endpoints.
  • Logging and monitoring: A final feature to highlight in Windows Firewall is the logging and monitoring capabilities that allow you to track and analyze network traffic and firewall events, which can help audit network traffic. You can configure logging settings to capture detailed information about allowed and blocked connections and any changes made to firewall rules. Detailed network traffic information can be invaluable when auditing your network security posture, investigating potential security incidents, or troubleshooting connectivity issues.

As you can see, Windows Firewall has several network security features that can help protect your Windows 10 and Windows 11 endpoints from network-based threats. As an IT auditor, it is important to understand how to properly configure, monitor, and audit Windows Firewall settings to ensure that your endpoints are adequately protected against network-based attacks.

BitLocker is a full-volume encryption feature built into Windows 10 and Windows 11 that helps protect data stored on your device’s hard drive. It uses the Advanced Encryption Standard (AES) with a 128-bit or 256-bit key to encrypt the entire drive.

Let’s review some of the key features of BitLocker that are important for an auditor to know:

  • Encryption methods: BitLocker supports two encryption methods: software-based encryption and hardware-based encryption. Software-based encryption uses the device’s CPU to perform the encryption and decryption processes, while hardware-based encryption utilizes a dedicated Trusted Platform Module (TPM) chip to store encryption keys and perform cryptographic operations. Hardware-based encryption offers enhanced security and performance compared to software-based encryption.
  • Secure Boot and pre-boot authentication: BitLocker integrates with the Secure Boot feature in Windows 10 and Windows 11 to ensure that the device boots using only trusted software components. Secure Boot helps prevent malicious code from tampering with the boot process or accessing encrypted data. BitLocker also supports pre-boot authentication, which requires users to enter a password or provide a USB key containing the decryption key before the OS starts.
  • Centralized management: For enterprise environments, BitLocker can be centrally managed using Microsoft BitLocker Administration and Monitoring (MBAM) or Microsoft Configuration Manager. These tools allow IT administrators to deploy, configure, and monitor BitLocker across the organization, ensuring consistent encryption policies and compliance with security standards. Note that Microsoft is ending support for MBAM in early 2026. Updates are provided on Microsoft’s Knowledge base article, which you can access at https://learn.microsoft.com/en-us/mem/configmgr/protect/plan-design/bitlocker-management.

As an IT auditor, it is important to understand how to assess BitLocker configuration, deployment, and management practices to verify that data protection policies are being effectively implemented and maintained. As with any audit, you want to ensure that you understand how the organization leverages BitLocker before making any final assessments.

UAC is a security feature introduced in Windows Vista and is present in all subsequent versions of Windows, including Windows 10 and 11. UAC helps prevent unauthorized changes to your device by requiring administrator approval for certain actions, such as installing software, modifying system settings, or making changes to files in protected directories. By prompting users for explicit permission before allowing these actions, UAC helps mitigate the risk of malware infections, unauthorized system modifications, and accidental or intentional misuse of administrator privileges.

Let’s take a look at some key features of UAC that you might encounter during an audit:

  • Privilege separation: First and foremost, UAC enforces the principle of least privilege by separating standard user privileges from administrator privileges. When a user logs in with a standard user account, applications run with limited permissions, which can help prevent malware from making system-wide changes or accessing sensitive data. When an application requires administrator privileges, UAC prompts the user for approval, ensuring that the user is aware of and consents to the elevated permissions.
  • Consent and credential prompts: When a user attempts to perform an action that requires administrator privileges, UAC displays either a consent prompt or a credential prompt, depending on the user’s account type. If the user is logged in with an administrator account, UAC displays a consent prompt asking the user to confirm the action. If the user is logged in with a standard user account, UAC displays a credential prompt, requiring the user to enter an administrator username and password to proceed.
  • Secure Desktop: UAC uses a feature called Secure Desktop to display consent and credential prompts. When a prompt appears, the screen dims, and the user is switched to a separate, isolated desktop environment. Secure Desktop helps prevent malicious software from intercepting or spoofing UAC prompts, as Secure Desktop is protected from other running applications. Once the user responds to the prompt, they are returned to their normal desktop environment.

As an IT auditor, it is important to understand how UAC works, assess its configuration, and ensure that it is being used effectively to protect against unauthorized system changes and privilege escalation attacks.

To check and configure UAC settings, follow these steps:

  1. Open the UAC settings: Press the Windows key, type UAC, and select Change User Account Control settings from the search results.
  2. Adjust the UAC settings: You will see a slider with different levels of notification settings. The default setting is usually Notify me only when apps try to make changes to my computer (default). Adjust the slider to the desired level of security based on your organization’s policies. The options range from Always notify (most secure) to Never notify (least secure). For most environments, it is recommended to use at least the default setting or higher.
  3. Verify the UAC settings: To verify, do the following via
    • Open Command Prompt as an administrator
      • Type
      C:\Windows\System32\cmd.exe /k %windir%\System32\reg.exe query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLUA
      • Press Enter
      • The output should show EnableLUA with a value of 1 indicating that UAC is enabled The following figure shows the slider and different settings discussed earlier.

Figure 6.2 – The UAC settings

For more detailed guidance on UAC settings and configurations, refer to the official Microsoft documentation: https://learn.microsoft.com/en-us/mem/intune/user-help/you-need-to-enable-uac-windows

Of course, we cannot cover every conceivable setting that UAC can impact or that you might encounter during an audit. As an IT auditor, it is important to understand how UAC works, assess its configuration, and ensure that it is being used effectively to protect against unauthorized system changes and privilege escalation attacks.

The last security feature to highlight is Secure Boot in Windows. Secure Boot is a security feature that was introduced with the Unified Extensible Firmware Interface (UEFI) specification way back in Windows 8. It helps ensure your device boots using only trusted software components. Secure Boot is designed to prevent malicious code, such as rootkits and bootkits, from loading during the startup process and compromising the security of your endpoints. Secure Boot establishes a chain of trust by verifying the digital signatures of boot loaders, drivers, and firmware that starts from the hardware and extends to the OS.

Let’s take a look at some key features of Secure Boot that you might encounter during an audit:

  • Digital signatures and certificates: For Secure Boot to function effectively, all boot components must be digitally signed using cryptographic keys that correspond to certificates stored in the UEFI firmware. These certificates are typically provided by the hardware manufacturer or the OS vendor. If a boot component’s digital signature does not match a trusted certificate, Secure Boot will prevent that component from loading, thus protecting the device from potential malware or unauthorized modifications.
  • Compatibility with legacy OSs: While Secure Boot is designed to work with modern OSs such as Windows 10 and Windows 11, it can cause compatibility issues with older OSs or custom boot loaders that do not support the feature. To address this, most UEFI firmware implementations allow users to disable Secure Boot or add custom certificates to the trusted list.
  • Auditing Secure Boot configurations: As an IT auditor, you should know how to verify that Secure Boot is properly enabled and configured on Windows 10 and 11 devices. This can be done by accessing the UEFI firmware settings during startup (typically by pressing a specific key, such as F2 or Del) and navigating to the Secure Boot options. If Secure Boot was not enabled during the installation, then the options will not be available. Auditors should also review the list of trusted certificates and ensure that only authorized certificates are present.

As an IT auditor, it is important to understand the role of Secure Boot’s role in endpoint security, assess its configuration, and verify that it is being effectively maintained through regular firmware updates and audits.

Now that we fully understand some of the built-in security features of Microsoft Windows 10 and 11, let’s explore how to audit some of the common items you are likely to encounter.

As an IT auditor, you must understand how to assess the configuration and effectiveness of Windows Defender on Windows 10 and 11 endpoint devices. In enterprise environments, you can expect to encounter Microsoft Defender for Endpoint, which includes advanced tools such as threat and vulnerability management, Endpoint Detection and Response (EDR), and several other tools. In this section, you will work through the process of auditing Microsoft Defender using various tools and resources that already exist in the OS you might have at home. The concepts are similar and you will likely have better access to these tools to practice.

See the official Microsoft Defender for Endpoint documentation to review the Enterprise solution:

https://learn.microsoft.com/en-us/defender-endpoint/defender-endpoint-demonstrations

Configuring Microsoft Defender Antivirus settings

Section titled “Configuring Microsoft Defender Antivirus settings”

Let’s begin with configuring Windows Defender. To ensure optimal protection, start by confirming the configuration of Windows Defender settings according to best practices. Use the Microsoft Defender for Endpoint documentation (https://docs.microsoft.com/en-us/microsoft-365/security/defender-endpoint/) as a reference for the recommended settings, such as the following:

  • Enabling real-time protection
  • Configuring cloud-delivered protection
  • Setting up automatic sample submission
  • Defining exclusions (if necessary)

You can configure these settings using Group Policy, PowerShell, or the Windows Security app.

PowerShell is a common tool for running audit scripts. If you find you are suddenly getting a lot of errors such as access denied, then you should attempt to run PowerShell as an administrator. The following figure shows that the installed version is 7.4.1 and that it is run in Administrator mode.

We will explore a few PowerShell scripts that you can leverage during a Windows audit throughout this chapter.

PowerShell provides a powerful set of cmdlets for auditing Microsoft Defender Antivirus. Use the following cmdlets to retrieve critical information:

  • Get-MpComputerStatus: Retrieves the current status of antivirus software on the device
  • Get-MpPreference: Retrieves the current preferences for antivirus software on the device
  • Get-MpThreat: Retrieves the history of threats detected on the device

Figure 6.3 – PowerShell Window

One way to enable real-time protection is to use a PowerShell command window. Figure 6*.3* shows what a typical prompt will look like when you enter as an administrator. Let’s take a look at what a PowerShell command would look like:

Set-MpPreference -DisableRealtimeMonitoring $false

The preceding snippet tells Windows Defender to use real-time protection. The DisableRealtimeMonitoring setting takes a Boolean input of True or False. We, of course, want to avoid disabling real-time monitoring unless the organization has a specific reason or separate solution in place.

Another way to check whether real-time protection is enabled is to use this command:

(Get-MpComputerStatus).RealTimeProtectionEnabled

For more advanced auditing and automation, spend some time studying the Microsoft Defender for Endpoint API (https://docs.microsoft.com/en-us/microsoft-365/security/defender-endpoint/apis-intro). The API allows you to retrieve data about device health, alerts, and vulnerabilities programmatically, which can lighten the manual auditing load on the audit team.

Validating Microsoft Defender Antivirus’ effectiveness

Section titled “Validating Microsoft Defender Antivirus’ effectiveness”

To validate the effectiveness of your Microsoft Defender Antivirus configuration, use the Microsoft Defender Testground website (https://demo.wd.microsoft.com/). This website allows you to safely expose your device to simulated threats and assess how well Microsoft Defender Antivirus detects and mitigates them.

You should also regularly review Microsoft Defender Antivirus event logs and reports to identify potential issues or gaps in protection. Here is a list of key logs and reports to include in your routine reviews:

  • **Windows Defender Operational log (**Event Viewer)
  • Microsoft Defender Antivirus event logs (Applications and Services Logs\Microsoft\Windows\Windows Defender)
  • Microsoft Defender Security Intelligence report (Windows Security app)

Comparing configurations against security baselines

Section titled “Comparing configurations against security baselines”

To ensure that your Microsoft Defender Antivirus configurations align with industry best practices, compare them to the Windows Security baselines (https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-security-baselines). These baselines, such as the Security Compliance Toolkit (SCT), provide a starting point for secure configurations and can help you identify areas for improvement.

Regularly audit and update your Microsoft Defender Antivirus configurations to keep pace with emerging threats and evolving best practices. Use the Microsoft Defender for Endpoint documentation and stay informed about the latest security updates and features.

Evaluating Windows Firewall across both versions

Section titled “Evaluating Windows Firewall across both versions”

In Chapter 4, Next-Generation Firewall Auditing, we reviewed ways to audit firewall systems specific to NGFWs and firewalls in general. Like most firewalls, Windows Firewall firewalls are important in protecting endpoints from network-based threats. As an IT auditor, you need to understand how to assess and validate Windows Firewall configurations in Windows 10 and Windows 11 environments effectively. This section will guide you through the process of auditing Windows Firewall configurations using built-in tools, PowerShell cmdlets, and best practices.

Reviewing Windows Firewall rules and settings

Section titled “Reviewing Windows Firewall rules and settings”

To effectively assess the security posture of Windows Firewall on an endpoint, start by reviewing the existing firewall rules and settings. As with other portions of an audit, you need to establish a baseline of understanding relevant to the organization. The baseline will help you identify misconfigurations, outdated rules, or potential security gaps. To establish the baseline, you must first access the Windows Firewall configuration. Let’s take a look at how to get into the configuration.

Accessing the Windows Firewall configuration

Section titled “Accessing the Windows Firewall configuration”

There are two primary ways to access the Windows Firewall configuration:

  • Windows Security app: Open the Windows Security app and navigate to Firewall & network protection to access an overview of the firewall settings and network profiles. See Figure 6*.4* to see what options are available on this screen.

Figure 6.4 – Windows Security Firewall & network protection settings

  • Windows Defender Firewall with Advanced Security: Open the Windows Defender Firewall with Advanced Security snap-in by running wf.msc in the Run dialog (Windows key + R). Figure 6*.4* shows the snap-in provides a more detailed view of the firewall rules and settings.

Figure 6.5 – The Windows Defender Firewall with Advanced Security settings

Now that you can access the Windows Firewall configuration as shown in Figure 6*.5*, you can review the settings. As a quick reminder, when evaluating the Firewall rules, it’s important to assess inbound and outbound traffic. Locate the following items in the Windows Security app:

  • Inbound rules: Review the inbound firewall rules to ensure that only the necessary ports and applications are allowed. Pay special attention to rules that allow all inbound traffic or have a broad application scope, as these may increase the attack surface.
  • Outbound rules: Assess the outbound firewall rules to verify that only required applications and services can initiate outbound connections. Overly permissive outbound rules may enable malware to communicate with command-and-control servers or exfiltrate sensitive data.

Inside the Windows Firewall, rules should be properly scoped and applied to the appropriate network profiles:

  • Rule scope: Check the scope of each Windows Firewall rule to ensure that it applies to the appropriate network profile (domain, private, or public). Mismatched rule scopes may lead to unintended exposure or restrictions.
  • Network profiles: Review the settings for each network profile to verify that the desired level of protection is applied based on the network’s trust level. Ensure that the public profile has the most restrictive settings while the domain and private profiles are configured according to your organization’s security policies.

When reviewing the Firewall rules, pay close attention to the ports and protocols that are allowed:

  • Allowed ports: Scrutinize the Firewall rules that allow specific ports and protocols. Validate that only the necessary ports are open and that they are associated with the appropriate applications or services.
  • Protocol restrictions: Verify that the Firewall rules restrict access to vulnerable or unnecessary protocols, such as SMBv1 or NetBIOS.

A lot of organizations will have application-specific rules to control access to, and from, applications on a more granular level. You will need to access a copy of the authorized configuration list for application-specific rules before beginning the audit of any rules for the applications. Application-specific firewall rules help control the network behavior of individual applications:

  • Application whitelisting: Ensure that the Firewall rules are in place to allow only approved applications to communicate through the firewall. Review the list of allowed applications and remove any outdated or unauthorized entries.
  • Application-specific restrictions: Check for Firewall rules that restrict the behavior of specific applications, such as limiting their access to certain IP addresses or domains. Validate that these restrictions align with your security policies and application requirements.

Proper organization and naming of Firewall rules can greatly ease the auditing process:

  • Rule groups: Review how the Firewall rules are organized into groups. Well-structured rule groups can make it easier to manage and audit the Firewall configuration. You should also verify there aren’t any oddly named rules that might be hiding unauthorized access.
  • Rule naming conventions: Verify that the Firewall rules follow a consistent naming convention that clearly indicates their purpose and scope. Descriptive rule names can help identify misconfigured or outdated rules during future audits.

Comparing configurations to best practices and security baselines

Section titled “Comparing configurations to best practices and security baselines”

To ensure that the Windows Firewall configuration adheres to industry standards and organizational policies, consider the following:

  • Industry best practices: Compare the existing firewall configuration to industry best practices and recognized security standards, such as the Center for Internet Security (CIS) benchmarks or the National Institute of Standards and Technology (NIST) guidelines.
  • Organizational security policies: Verify that the Firewall configuration aligns with your organization’s internal security policies and requirements. Identify any deviations and assess their potential impact on the overall security posture.
  • Security baselines: Utilize Microsoft’s recommended security baselines for Windows Firewall as a starting point for your configuration assessment. These baselines provide a set of pre-configured Firewall rules and settings that prioritize security and can be customized to suit your organization’s needs.

A special case to consider is if you are auditing a U.S. Federal system. Most of this book is focused on general IT auditing of computer systems without going into the details of government system auditing configuration guides. If your role involves auditing U.S. Government or Federal systems, then you should review the specific system guides they require you to review. By thoroughly reviewing these aspects of the Windows Firewall configuration and comparing them to best practices and baselines, IT auditors can gain a comprehensive understanding of the endpoint’s network security posture and identify areas for improvement.

Auditing Windows Firewall using PowerShell

Section titled “Auditing Windows Firewall using PowerShell”

As you have already seen throughout this chapter, PowerShell provides a powerful set of cmdlets for auditing and managing Windows Firewall. Let’s take a look at a few useful cmdlets to retrieve and analyze firewall configurations:

  • Get-NetFirewallRule: Retrieves the currently configured firewall rules
  • Get-NetFirewallProfile: Retrieves the settings for the specified firewall profile (domain, private, or public)
  • Get-NetFirewallPortFilter: Retrieves the port filters associated with firewall rules
  • Get-NetFirewallApplicationFilter: Retrieves the application filters associated with firewall rules

For example, to retrieve all firewall rules and export them to a CSV file for further analysis, run the following:

Get-NetFirewallRule | Export-Csv -Path "FirewallRules.csv" -NoTypeInformation

The -Path command will save the file in the path you are running PowerShell in. If you do not know which path you are in, you can run the Get-Location command to find the path. Analyze the exported data to identify any unnecessary or overly permissive rules that may increase the attack surface of your endpoints.

Comparing Windows Firewall configurations between Windows 10 and 11

Section titled “Comparing Windows Firewall configurations between Windows 10 and 11”

While Windows Firewall functions similarly in Windows 10 and Windows 11, there may be differences in default configurations and available features. When auditing endpoints running different versions of Windows, consider the following:

  • Default firewall rules and settings
  • Integration with other security features (e.g., Windows Defender Exploit Guard)
  • Availability of new or enhanced Firewall features in Windows 11

Just like how we have leveraged PowerShell cmdlets up to this point, you can leverage commands and the Windows Security app to compare firewall configurations between Windows 10 and Windows 11 endpoints.

Now that we reviewed some of the basic features, let’s take a look at some enterprise-level functionalities you might encounter. To further bolster the security of your Windows 10 and Windows 11 endpoints, consider implementing the following advanced security features that provide robust protection against a wide array of threats:

  • Windows Hello for Business: Implement biometric and multi-factor authentication to enhance security by requiring multiple forms of verification
  • Device Guard and Exploit Guard: Use advanced threat protection features to provide additional layers of defense against malware and exploits

Effective auditing is needed to maintain the security posture of your enterprise. Incorporate these comprehensive audit procedures to ensure thorough assessment and monitoring:

  • Microsoft Defender for Endpoint API: Automate auditing with the API to efficiently collect and analyze data, helping to identify and mitigate potential security threats proactively
  • Security Information and Event Management (SIEM) integration: Integrate with SIEM systems for real-time monitoring and alerting, ensuring prompt responses to security incidents

Protecting sensitive data is paramount in any enterprise environment. The following solutions provide robust mechanisms for data classification, encryption, and overall security management:

  • Azure Information Protection: Utilize this for classifying and encrypting sensitive data, ensuring it remains protected both in transit and at rest
  • MBAM: Implement advanced BitLocker management to streamline encryption management and compliance reporting

Deploying EDR solutions enables continuous monitoring and swift response to advanced threats. An effective tool to enhance endpoint security is Microsoft Defender for Endpoint. It offers continuous monitoring, detection, and response to advanced threats, ensuring that any malicious activity is swiftly identified and mitigated.

Implementing application whitelisting and control is essential for preventing unauthorized software from compromising your systems. These practices will help you manage and secure applications effectively:

  • Windows Defender Application Control (WDAC): Implement to create a secure whitelist of trusted applications, preventing unauthorized software from running on enterprise systems
  • Best practices for application control policies: Follow best practices to ensure that only approved software is executed, reducing the risk of malware infections

In the next section, we will see how we can use PowerShell cmdlets even more to enhance and automate our auditing efforts in BitLocker and data encryption.

BitLocker and data encryption in Windows 10 and Windows 11

Section titled “BitLocker and data encryption in Windows 10 and Windows 11”

BitLocker is a full-volume encryption feature built into Windows 10 and 11 that helps protect data on your endpoints by encrypting entire drives. In this section, we’ll explore the importance of data encryption, how to configure and audit BitLocker, and best practices for implementing encryption on your endpoints.

The importance of data encryption in endpoint security

Section titled “The importance of data encryption in endpoint security”

Data encryption is a necessary component of endpoint security. Data encryption ensures that sensitive information remains protected even if a device is lost, stolen, or compromised. By encrypting data at rest, you can mitigate the risk of unauthorized access and data breaches.

Let’s take a look at some of the key benefits of data encryption:

  • Confidentiality: Encryption ensures that only authorized users with the appropriate decryption key can access the data, maintaining the confidentiality of sensitive information.
  • Compliance: Many industry regulations and security standards, such as the Health Insurance Portability and Accountability Act (HIPAA), Payment Card Industry Data Security Standard (PCI DSS), and General Data Protection Regulation (GDPR), require data encryption to protect personal and financial information. Implementing encryption helps organizations meet these compliance requirements.
  • Theft deterrence: Encrypting data on endpoints makes them less attractive targets for thieves, as it will be much harder to extract value from the stolen devices without the decryption keys.
  • Secure disposal: When encrypted devices reach the end of their life cycle, the data can be securely disposed of by simply deleting the decryption keys, making it virtually impossible to recover the encrypted data.

If you need to audit BitLocker, then the best way to become proficient in that process is to configure a BitLocker installation. Here are some ways to configure BitLocker on your Windows 10 and 11 endpoints:

  • Verify system requirements: Ensure that the target endpoint meets the minimum system requirements for BitLocker, which include a TPM of version 1.2 or newer and UEFI firmware with Secure Boot enabled.
  • Enable BitLocker: Open the Windows Control Panel, navigate to System and Security, and select BitLocker Drive Encryption. Click Turn on BitLocker for the desired drive and follow the prompts to configure encryption settings. Figures 6.6 and 6.7 show the different selections in Windows.

Figure 6.6 – The BitLocker Drive Encryption menu

  • Choose an encryption method: If your device’s hardware supports it, choose between software-based encryption (AES 128-bit or AES 256-bit) or hardware-based encryption (XTS-AES 128-bit or XTS-AES 256-bit).
  • Configure authentication methods: Choose how users will authenticate during the pre-boot process, such as with a TPM only, a TPM and PIN, or a TPM and USB key.
  • Backup recovery keys: Save a copy of the BitLocker recovery key in a secure location, such as Azure Active Directory (AAD) or Active Directory Domain Services (AD DS), to ensure that you can recover encrypted data if needed.
  • Enable Network Unlock (optional): If your endpoints are joined to a domain, consider enabling Network Unlock to allow them to start automatically when connected to a trusted wired network, reducing the need for manual authentication.

Figure 6.7 – BitLocker Drive Encryption

Auditing BitLocker’s configuration and compliance

Section titled “Auditing BitLocker’s configuration and compliance”

Now that we understand some of BitLocker’s common settings, let’s examine how to audit a BitLocker installation. Regular auditing of BitLocker’s configuration and compliance is necessary to ensure that your organization’s data protection policies are effectively implemented and maintained. This section will provide a detailed look at the various methods and tools available for auditing BitLocker on your Windows 10 and 11 endpoints.

The manage-bde command-line tool is a built-in utility that allows you to manage BitLocker on local and remote computers. To check the encryption status of a drive, use the following command:

manage-bde -status <drive letter>:

Replace <drive letter> with the actual drive letter you want to check, such as C:.

The output will provide information about the drive’s encryption status, encryption method, and key protectors.

One of the most powerful tools an auditor can have is PowerShell. PowerShell provides a set of cmdlets designed explicitly for managing and auditing BitLocker. The following are some examples of how to use PowerShell to retrieve BitLocker’s configuration details and encryption status during an audit:

  • Get BitLocker volume information using the
    Get-BitLockerVolume -MountPoint "C:"
    This command retrieves detailed information about the BitLocker volume mounted at the C: drive, including encryption status, key protectors, and more.
  • Get BitLocker volume recovery information using the
    Get-BitLockerVolume -MountPoint "C:" | Select-Object -ExpandProperty KeyProtector | Where-Object { $_.KeyProtectorType -eq "RecoveryPassword" }
    This command retrieves the recovery password key protector for the BitLocker volume mounted at the C: drive.
  • Retrieve all BitLocker volumes and their statuses using
    Get-BitLockerVolume | Select-Object -Property MountPoint, VolumeStatus, EncryptionPercentage, KeyProtector
    This command retrieves all BitLocker volumes and displays their mount points, volume statuses, encryption percentages, and key protectors.

Auditing BitLocker policies using Group Policy

Section titled “Auditing BitLocker policies using Group Policy”

Group Policy provides a centralized way to manage and audit BitLocker settings across your organization. To review BitLocker-related Group Policy settings, follow these steps:

  1. Open the Group Policy Management Console (GPMC) and navigate to the appropriate Group Policy Object (GPO) that contains your BitLocker policies.
  2. Expand the following path: Computer Configuration\Administrative Templates\Windows Components\BitLocker Drive Encryption.
  3. Review the configured BitLocker policies and compare them to your organization’s security requirements. Some key policies to check include the following:
    • Require additional authentication at startup
      • Choose drive encryption method and cipher strength
      • Configure minimum PIN length for startup
      • Allow network unlock at startup

Remember to always verify that the policies are properly applied to the desired Organizational Units (OUs) or security groups in alignment with what the organization wants. We can always provide industry best practices but at the end of the day, it’s up to the organization to decide how they apply security throughout the organization.

Comparing BitLocker implementation in Windows 10 and 11

Section titled “Comparing BitLocker implementation in Windows 10 and 11”

While BitLocker functions similarly in Windows 10 and 11, there are some differences to consider when auditing and managing encryption across both versions. Let’s look at a few of the key differences you might encounter during an audit:

  • Hardware requirements: Windows 11 has more stringent hardware requirements for BitLocker, such as requiring a TPM 2.0 chip and UEFI Secure Boot. Ensure that your endpoints meet these requirements before deploying BitLocker.
  • Encryption algorithms: Windows 11 supports newer encryption algorithms, such as XTS-AES, which may provide better performance and security compared to the algorithms used in Windows 10.
  • Integration with other security features: Windows 11 offers tighter integration between BitLocker and other security features, such as Windows Hello for Business and Microsoft’s System Guard, which can enhance the overall security posture of your endpoints.
  • Management and reporting: While BitLocker’s core management and reporting tools remain the same across Windows 10 and 11, the user interface and available options may differ. Always review the Microsoft knowledge base before any audit wherein you might encounter a newer version.

With this, we have come to the end of the chapter.

This chapter provided an overview of endpoint security for Windows 10 and 11, which is required for safeguarding an organization’s digital assets. We began with an exploration of key security features such as Windows Defender, Windows Firewall, and BitLocker. You learned how to audit Windows Defender using PowerShell and the Defender API, evaluate Windows Firewall configurations, and assess BitLocker encryption practices effectively.

In the next chapter, we will look into Linux systems auditing, focusing on popular enterprise Linux distributions to enhance your ability to audit security configurations, user access controls, and firewall management within Linux systems.