Hardening


🗃️ Always display file type extension

By default, Windows hides standard file types. For example, SecureFile.exe will show as SecureFile in explorer or on your desktop, PersonalImage.png will show as PersonalImage, and so forth. If malware names itself PersonalImage.png.exe, what do you think will happen? Windows will only show you PersonalImage.png. But when you try to open this “image”, malware will start and run on your machine. Therefore, it would be best if you showed hidden file extensions to mitigate this potential problem.

See: https://support.microsoft.com/en-us/windows/common-file-name-extensions-in-windows-da4a4430-8e76-89c5-59f7-1cdbbc75cb01


🔒Enable Microsoft Defender Credential Guard

To check if Microsoft Defender Credential Guard is enabled run this Powershell command:

Get-CimInstance -ClassName Win32_DeviceGuard -Namespace root\\Microsoft\\Windows\\DeviceGuard

In the output, check for the SecurityServicesRunning property:


🎞️Enable Memory Integrity (HVCI)

To check if is enabled:

  1. Win + R
  2. Type msinfo32 and enter
  3. In the System Summary section, scroll down to find Virtualization-based security
    1. If HVCI is enabled, you’ll see the message "Hypervisor-Enforced Code Integrity enabled".
    2. If HVCI is not active, this section may be blank or indicate that virtualization is not enabled.

👉🏻Direct Memory Access Protection Enabled