Baselines/Windows-Workstation.json
|
{
"Meta": { "Name": "Windows workstation baseline", "Version": "2.0.0", "Author": "ThemisRules", "AppliesTo": "Windows 10 and Windows 11, standalone or workgroup machines. On domain-joined machines Group Policy usually defines these settings: use the baseline to audit them.", "Description": "Security settings commonly recommended by the Microsoft Security Baselines and the CIS Benchmarks for Windows. L1: safe for any machine. L2: stronger, may affect compatibility or convenience. L3: high security, turns features off. Audit first, then enforce level by level.", "References": [ "https://learn.microsoft.com/windows/security/operating-system-security/device-management/windows-security-configuration-framework/windows-security-baselines", "https://www.cisecurity.org/benchmark/microsoft_windows_desktop" ] }, "RegistryRules": [ { "ID": "WIN-UAC-001", "MacroLevel": "L1", "Name": "UAC: run all administrators in Admin Approval Mode", "Severity": "Critical", "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System", "ValueName": "EnableLUA", "Value": 1, "Type": "DWord", "Description": "Turning UAC off runs every program with full administrator rights.", "Default": 1 }, { "ID": "WIN-UAC-002", "MacroLevel": "L1", "Name": "UAC: prompt administrators for consent on the secure desktop", "Severity": "High", "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System", "ValueName": "ConsentPromptBehaviorAdmin", "Value": 2, "Type": "DWord" }, { "ID": "WIN-UAC-003", "MacroLevel": "L1", "Name": "UAC: show elevation prompts on the secure desktop", "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System", "ValueName": "PromptOnSecureDesktop", "Value": 1, "Type": "DWord", "Description": "Other programs cannot see or click the prompt.", "Default": 1 }, { "ID": "WIN-UAC-004", "MacroLevel": "L1", "Name": "UAC: Admin Approval Mode for the built-in Administrator", "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System", "ValueName": "FilterAdministratorToken", "Value": 1, "Type": "DWord" }, { "ID": "WIN-UAC-005", "MacroLevel": "L1", "Name": "UAC: restrict local administrator accounts on network logons", "Severity": "High", "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System", "ValueName": "LocalAccountTokenFilterPolicy", "Value": 0, "Type": "DWord", "Description": "Limits pass-the-hash with local administrator accounts.", "Caution": "Remote administration with a local account other than the built-in Administrator stops working over the network: its token is filtered, so PsExec, administrative shares and remote services no longer get administrator rights with it. Enforce only where nothing depends on that.", "Default": 0 }, { "ID": "WIN-UAC-006", "MacroLevel": "L2", "Name": "UAC: deny elevation requests from standard users", "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System", "ValueName": "ConsentPromptBehaviorUser", "Value": 0, "Type": "DWord", "Description": "Standard users cannot type administrator credentials into a prompt; administrators log on to elevate." }, { "ID": "WIN-SYS-001", "MacroLevel": "L1", "Name": "Lock the session after at most 15 minutes of inactivity", "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System", "ValueName": "InactivityTimeoutSecs", "Value": 900, "Type": "DWord", "Comparison": "Between", "Min": 1, "Max": 900, "Description": "0 means the session never locks." }, { "ID": "WIN-SYS-002", "MacroLevel": "L1", "Name": "Disable automatic logon", "Severity": "High", "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon", "ValueName": "AutoAdminLogon", "Value": "0", "Type": "String", "Description": "Automatic logon stores the password in the registry.", "Default": "0" }, { "ID": "WIN-CRED-001", "MacroLevel": "L1", "Name": "Do not keep plain-text passwords in memory (WDigest)", "Severity": "Critical", "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\SecurityProviders\\WDigest", "ValueName": "UseLogonCredential", "Value": 0, "Type": "DWord", "Default": 0 }, { "ID": "WIN-CRED-002", "MacroLevel": "L1", "Name": "Send NTLMv2 responses only; refuse LM and NTLM", "Severity": "High", "Caution": "Clients and servers that only offer NTLMv1 or LM cannot authenticate with this machine (old NAS devices, printers, legacy servers). Audit WIN-CRED-013 and WIN-CRED-014 first to see who still uses them.", "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Lsa", "ValueName": "LmCompatibilityLevel", "Value": 5, "Type": "DWord" }, { "ID": "WIN-CRED-003", "MacroLevel": "L1", "Name": "Do not store LAN Manager password hashes", "Severity": "High", "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Lsa", "ValueName": "NoLMHash", "Value": 1, "Type": "DWord", "Default": 1 }, { "ID": "WIN-CRED-004", "MacroLevel": "L1", "Name": "Block anonymous enumeration of SAM accounts", "Severity": "High", "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Lsa", "ValueName": "RestrictAnonymousSAM", "Value": 1, "Type": "DWord", "Default": 1 }, { "ID": "WIN-CRED-005", "MacroLevel": "L1", "Name": "Block anonymous enumeration of SAM accounts and shares", "Caution": "Anonymous enumeration of accounts and shares is blocked: old network tools, and some trust setups, that rely on it stop working.", "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Lsa", "ValueName": "RestrictAnonymous", "Value": 1, "Type": "DWord" }, { "ID": "WIN-CRED-006", "MacroLevel": "L1", "Name": "Do not apply Everyone permissions to anonymous users", "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Lsa", "ValueName": "EveryoneIncludesAnonymous", "Value": 0, "Type": "DWord", "Default": 0 }, { "ID": "WIN-CRED-007", "MacroLevel": "L1", "Name": "Only administrators may query the SAM remotely", "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Lsa", "ValueName": "RestrictRemoteSAM", "Value": "O:BAG:BAD:(A;;RC;;;BA)", "Type": "String" }, { "ID": "WIN-CRED-008", "MacroLevel": "L1", "Name": "Blank passwords only work for console logons", "Severity": "High", "Caution": "Local accounts with an empty password can only sign in at the console, not over the network.", "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Lsa", "ValueName": "LimitBlankPasswordUse", "Value": 1, "Type": "DWord", "Default": 1 }, { "ID": "WIN-CRED-009", "MacroLevel": "L2", "Name": "Run LSA as a protected process", "Severity": "High", "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Lsa", "ValueName": "RunAsPPL", "Value": 1, "Type": "DWord", "Description": "Protects credentials in LSASS memory. Some third-party authentication plug-ins must be signed to keep working." }, { "ID": "WIN-NET-001", "MacroLevel": "L1", "Name": "Disable SMBv1 on the SMB server", "Severity": "Critical", "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Services\\LanmanServer\\Parameters", "ValueName": "SMB1", "Value": 0, "Type": "DWord", "Description": "SMBv1 was the vector of WannaCry and NotPetya.", "Caution": "This machine stops serving shares to SMBv1-only clients (old NAS devices, printers, Windows XP or Server 2003). The SMBv1 client is a separate Windows feature." }, { "ID": "WIN-NET-002", "MacroLevel": "L1", "Name": "SMB server: always sign communications", "Severity": "High", "Caution": "Clients that do not sign SMB traffic cannot connect to the shares of this machine.", "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Services\\LanmanServer\\Parameters", "ValueName": "RequireSecuritySignature", "Value": 1, "Type": "DWord" }, { "ID": "WIN-NET-003", "MacroLevel": "L1", "Name": "SMB client: always sign communications", "Severity": "High", "Caution": "This machine cannot connect to SMB servers that do not offer signing, such as some old NAS devices.", "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Services\\LanmanWorkstation\\Parameters", "ValueName": "RequireSecuritySignature", "Value": 1, "Type": "DWord" }, { "ID": "WIN-NET-004", "MacroLevel": "L1", "Name": "SMB client: never send unencrypted passwords to third-party servers", "Severity": "High", "Caution": "Old servers that need plain-text SMB passwords stop accepting this machine.", "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Services\\LanmanWorkstation\\Parameters", "ValueName": "EnablePlainTextPassword", "Value": 0, "Type": "DWord", "Default": 0 }, { "ID": "WIN-NET-005", "MacroLevel": "L1", "Name": "Turn off multicast name resolution (LLMNR)", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows NT\\DNSClient", "ValueName": "EnableMulticast", "Value": 0, "Type": "DWord", "Description": "LLMNR answers can be spoofed on the local network to capture credentials." }, { "ID": "WIN-NET-006", "MacroLevel": "L2", "Name": "NetBIOS name resolution: query WINS only (P-node)", "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Services\\NetBT\\Parameters", "ValueName": "NodeType", "Value": 2, "Type": "DWord", "Description": "Stops NetBIOS broadcast queries, which can be spoofed." }, { "ID": "WIN-RDP-001", "MacroLevel": "L1", "Name": "Remote Desktop: require Network Level Authentication", "Severity": "High", "Caution": "Remote Desktop clients without Network Level Authentication cannot connect to this machine.", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows NT\\Terminal Services", "ValueName": "UserAuthentication", "Value": 1, "Type": "DWord" }, { "ID": "WIN-RDP-002", "MacroLevel": "L1", "Name": "Remote Desktop: high encryption level", "Caution": "Very old Remote Desktop clients that do not support high encryption cannot connect.", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows NT\\Terminal Services", "ValueName": "MinEncryptionLevel", "Value": 3, "Type": "DWord" }, { "ID": "WIN-RDP-003", "MacroLevel": "L1", "Name": "Turn off solicited Remote Assistance", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows NT\\Terminal Services", "ValueName": "fAllowToGetHelp", "Value": 0, "Type": "DWord" }, { "ID": "WIN-RDP-004", "MacroLevel": "L2", "Name": "Remote Desktop: always prompt for the password", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows NT\\Terminal Services", "ValueName": "fPromptForPassword", "Value": 1, "Type": "DWord" }, { "ID": "WIN-WRM-001", "MacroLevel": "L1", "Name": "WinRM client: no Basic authentication", "Severity": "High", "Caution": "Scripts on this machine cannot use WinRM with Basic authentication to other machines.", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\WinRM\\Client", "ValueName": "AllowBasic", "Value": 0, "Type": "DWord" }, { "ID": "WIN-WRM-002", "MacroLevel": "L1", "Name": "WinRM client: no unencrypted traffic", "Severity": "High", "Caution": "Scripts on this machine cannot use WinRM over unencrypted traffic to other machines.", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\WinRM\\Client", "ValueName": "AllowUnencryptedTraffic", "Value": 0, "Type": "DWord" }, { "ID": "WIN-WRM-003", "MacroLevel": "L1", "Name": "WinRM service: no Basic authentication", "Severity": "High", "Caution": "Remote WinRM clients cannot use Basic authentication to this machine.", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\WinRM\\Service", "ValueName": "AllowBasic", "Value": 0, "Type": "DWord" }, { "ID": "WIN-WRM-004", "MacroLevel": "L1", "Name": "WinRM service: no unencrypted traffic", "Severity": "High", "Caution": "Remote WinRM clients cannot use unencrypted traffic to this machine.", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\WinRM\\Service", "ValueName": "AllowUnencryptedTraffic", "Value": 0, "Type": "DWord" }, { "ID": "WIN-MAL-001", "MacroLevel": "L1", "Name": "Turn off AutoPlay on all drives", "Severity": "High", "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer", "ValueName": "NoDriveTypeAutoRun", "Value": 255, "Type": "DWord" }, { "ID": "WIN-MAL-002", "MacroLevel": "L1", "Name": "Do not run AutoRun commands", "Severity": "High", "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer", "ValueName": "NoAutorun", "Value": 1, "Type": "DWord" }, { "ID": "WIN-MAL-003", "MacroLevel": "L1", "Name": "Windows Installer: never install with elevated privileges", "Severity": "Critical", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Installer", "ValueName": "AlwaysInstallElevated", "Value": 0, "Type": "DWord", "Description": "Otherwise any user can install an MSI package as SYSTEM.", "Default": 0 }, { "ID": "WIN-MAL-004", "MacroLevel": "L1", "Name": "Microsoft Defender: block potentially unwanted applications", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows Defender", "ValueName": "PUAProtection", "Value": 1, "Type": "DWord" }, { "ID": "WIN-MAL-005", "MacroLevel": "L1", "Name": "SmartScreen for apps and files: enabled", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\System", "ValueName": "EnableSmartScreen", "Value": 1, "Type": "DWord" }, { "ID": "WIN-MAL-006", "MacroLevel": "L1", "Name": "SmartScreen: warn and prevent bypass", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\System", "ValueName": "ShellSmartScreenLevel", "Value": "Block", "Type": "String" }, { "ID": "WIN-MAL-007", "MacroLevel": "L3", "Name": "Turn off Windows Script Host", "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows Script Host\\Settings", "ValueName": "Enabled", "Value": 0, "Type": "DWord", "Description": "Blocks .vbs and .js scripts, a common malware vector. Breaks logon scripts and tools that use them." }, { "ID": "WIN-LOG-001", "MacroLevel": "L1", "Name": "Include the command line in process creation events", "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\\Audit", "ValueName": "ProcessCreationIncludeCmdLine_Enabled", "Value": 1, "Type": "DWord" }, { "ID": "WIN-LOG-002", "MacroLevel": "L1", "Name": "Use the advanced audit policy subcategories", "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Lsa", "ValueName": "SCENoApplyLegacyAuditPolicy", "Value": 1, "Type": "DWord", "Description": "Without it, legacy category settings can override the AuditPolicyRules of this baseline." }, { "ID": "WIN-LOG-003", "MacroLevel": "L1", "Name": "PowerShell script block logging", "Severity": "High", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\PowerShell\\ScriptBlockLogging", "ValueName": "EnableScriptBlockLogging", "Value": 1, "Type": "DWord" }, { "ID": "WIN-LOG-004", "MacroLevel": "L2", "Name": "PowerShell transcription", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\PowerShell\\Transcription", "ValueName": "EnableTranscripting", "Value": 1, "Type": "DWord", "Description": "Records every PowerShell session to text files in the user documents folder." }, { "ID": "WIN-LOG-005", "MacroLevel": "L1", "Name": "Security event log size: 192 MB or more", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\EventLog\\Security", "ValueName": "MaxSize", "Value": 196608, "Type": "DWord", "Comparison": "AtLeast" }, { "ID": "WIN-LOG-006", "MacroLevel": "L1", "Name": "Application event log size: 32 MB or more", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\EventLog\\Application", "ValueName": "MaxSize", "Value": 32768, "Type": "DWord", "Comparison": "AtLeast" }, { "ID": "WIN-LOG-007", "MacroLevel": "L1", "Name": "System event log size: 32 MB or more", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\EventLog\\System", "ValueName": "MaxSize", "Value": 32768, "Type": "DWord", "Comparison": "AtLeast" }, { "ID": "WIN-PRV-001", "MacroLevel": "L2", "Name": "Diagnostic data: required only", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\DataCollection", "ValueName": "AllowTelemetry", "Value": 1, "Type": "DWord", "Comparison": "AtMost" }, { "ID": "WIN-DEF-001", "MacroLevel": "L1", "Name": "Defender: real-time protection not turned off", "Severity": "Critical", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows Defender\\Real-Time Protection", "ValueName": "DisableRealtimeMonitoring", "Value": 0, "Type": "DWord", "Default": 0 }, { "ID": "WIN-DEF-002", "MacroLevel": "L1", "Name": "Defender: behavior monitoring not turned off", "Severity": "High", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows Defender\\Real-Time Protection", "ValueName": "DisableBehaviorMonitoring", "Value": 0, "Type": "DWord", "Default": 0 }, { "ID": "WIN-DEF-003", "MacroLevel": "L1", "Name": "Defender: scan downloaded files and attachments", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows Defender\\Real-Time Protection", "ValueName": "DisableIOAVProtection", "Value": 0, "Type": "DWord", "Default": 0 }, { "ID": "WIN-DEF-004", "MacroLevel": "L1", "Name": "Defender: script scanning not turned off", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows Defender\\Real-Time Protection", "ValueName": "DisableScriptScanning", "Value": 0, "Type": "DWord", "Default": 0 }, { "ID": "WIN-DEF-005", "MacroLevel": "L1", "Name": "Defender: scan removable drives", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows Defender\\Scan", "ValueName": "DisableRemovableDriveScanning", "Value": 0, "Type": "DWord" }, { "ID": "WIN-DEF-006", "MacroLevel": "L1", "Name": "Defender: scan email", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows Defender\\Scan", "ValueName": "DisableEmailScanning", "Value": 0, "Type": "DWord" }, { "ID": "WIN-DEF-007", "MacroLevel": "L1", "Name": "Defender: turn on attack surface reduction rules", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows Defender\\Windows Defender Exploit Guard\\ASR", "ValueName": "ExploitGuard_ASR_Rules", "Value": 1, "Type": "DWord" }, { "ID": "WIN-ASR-001", "MacroLevel": "L1", "Name": "ASR: block credential stealing from LSASS", "Severity": "High", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows Defender\\Windows Defender Exploit Guard\\ASR\\Rules", "ValueName": "9e6c4e1f-7d60-472f-ba1a-a39ef669e4b2", "Value": "1", "Type": "String", "Description": "One of the rules Microsoft calls standard protection." }, { "ID": "WIN-ASR-002", "MacroLevel": "L1", "Name": "ASR: block abuse of exploited vulnerable signed drivers", "Severity": "High", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows Defender\\Windows Defender Exploit Guard\\ASR\\Rules", "ValueName": "56a863a9-875e-4185-98a7-b882c64b5ce5", "Value": "1", "Type": "String", "Description": "One of the rules Microsoft calls standard protection." }, { "ID": "WIN-ASR-003", "MacroLevel": "L1", "Name": "ASR: block persistence through WMI event subscription", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows Defender\\Windows Defender Exploit Guard\\ASR\\Rules", "ValueName": "e6db77e5-3df2-4cf1-b95a-636979351e5b", "Value": "1", "Type": "String", "Description": "One of the rules Microsoft calls standard protection." }, { "ID": "WIN-ASR-004", "MacroLevel": "L2", "Name": "ASR: block executable content from email and webmail", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows Defender\\Windows Defender Exploit Guard\\ASR\\Rules", "ValueName": "be9ba2d9-53ea-4cdc-84e5-9b1eeee46550", "Value": "1", "Type": "String" }, { "ID": "WIN-ASR-005", "MacroLevel": "L2", "Name": "ASR: block Office applications from creating child processes", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows Defender\\Windows Defender Exploit Guard\\ASR\\Rules", "ValueName": "d4f940ab-401b-4efc-aadc-ad5f3c50688a", "Value": "1", "Type": "String", "Description": "Can block Office add-ins and macros used by line-of-business applications." }, { "ID": "WIN-ASR-006", "MacroLevel": "L2", "Name": "ASR: block Office applications from creating executable content", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows Defender\\Windows Defender Exploit Guard\\ASR\\Rules", "ValueName": "3b576869-a4ec-4529-8536-b80a7769e899", "Value": "1", "Type": "String" }, { "ID": "WIN-ASR-007", "MacroLevel": "L2", "Name": "ASR: block Office applications from injecting code into other processes", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows Defender\\Windows Defender Exploit Guard\\ASR\\Rules", "ValueName": "75668c1f-73b5-4cf0-bb93-3ecf5cb7cc84", "Value": "1", "Type": "String" }, { "ID": "WIN-ASR-008", "MacroLevel": "L2", "Name": "ASR: block JavaScript or VBScript from launching downloaded executables", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows Defender\\Windows Defender Exploit Guard\\ASR\\Rules", "ValueName": "d3e037e1-3eb8-44c8-a917-57927947596d", "Value": "1", "Type": "String" }, { "ID": "WIN-ASR-009", "MacroLevel": "L2", "Name": "ASR: block execution of potentially obfuscated scripts", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows Defender\\Windows Defender Exploit Guard\\ASR\\Rules", "ValueName": "5beb7efe-fd9a-4556-801d-275e5ffc04cc", "Value": "1", "Type": "String" }, { "ID": "WIN-ASR-010", "MacroLevel": "L2", "Name": "ASR: block Win32 API calls from Office macros", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows Defender\\Windows Defender Exploit Guard\\ASR\\Rules", "ValueName": "92e97fa1-2edf-4476-bdd6-9dd0b4dddc7b", "Value": "1", "Type": "String" }, { "ID": "WIN-ASR-011", "MacroLevel": "L2", "Name": "ASR: block untrusted and unsigned processes that run from USB", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows Defender\\Windows Defender Exploit Guard\\ASR\\Rules", "ValueName": "b2b3f03d-6a65-4f7b-a9c7-1c7ef74a9ba4", "Value": "1", "Type": "String" }, { "ID": "WIN-ASR-012", "MacroLevel": "L2", "Name": "ASR: block Adobe Reader from creating child processes", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows Defender\\Windows Defender Exploit Guard\\ASR\\Rules", "ValueName": "7674ba52-37eb-4a4f-a9a1-f0f9a1619a2c", "Value": "1", "Type": "String" }, { "ID": "WIN-PRT-001", "MacroLevel": "L1", "Name": "Only administrators can install printer drivers (Point and Print)", "Severity": "High", "Description": "PrintNightmare: a standard user connecting to a printer must not be able to install a driver, which runs as SYSTEM. Windows does this by default since August 2021.", "Type": "DWord", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows NT\\Printers\\PointAndPrint", "ValueName": "RestrictDriverInstallationToAdministrators", "Value": 1, "Default": 1 }, { "ID": "WIN-PRT-002", "MacroLevel": "L2", "Name": "Redirection Guard for the Print Spooler", "Description": "Stops the Print Spooler from following file system redirections, a common way to turn a spooler bug into a privilege escalation.", "Type": "DWord", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows NT\\Printers", "ValueName": "RedirectionguardPolicy", "Value": 1 }, { "ID": "WIN-PRT-003", "MacroLevel": "L2", "Name": "Printer connections use RPC over TCP", "Description": "RPC over TCP is authenticated and can be encrypted; named pipes over SMB are the older path that printing attacks use.", "Type": "DWord", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows NT\\Printers\\RPC", "ValueName": "RpcUseNamedPipeProtocol", "Value": 0 }, { "ID": "WIN-KRB-001", "MacroLevel": "L1", "Name": "Kerberos uses AES only (no DES or RC4)", "Severity": "High", "Description": "RC4 Kerberos tickets can be cracked offline (Kerberoasting). AES128, AES256 and future types only. Matters on domain-joined machines.", "Type": "DWord", "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\\Kerberos\\Parameters", "ValueName": "SupportedEncryptionTypes", "Value": 2147483640 }, { "ID": "WIN-CRED-012", "MacroLevel": "L2", "Name": "Memory integrity (HVCI) on", "Severity": "High", "Description": "Only signed code can run in the kernel, checked by the hypervisor: a vulnerable driver cannot be used to load unsigned code. This is the switch of Windows Security (Core isolation); some old drivers do not load with it.", "Type": "DWord", "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\DeviceGuard\\Scenarios\\HypervisorEnforcedCodeIntegrity", "ValueName": "Enabled", "Value": 1, "AppliesIf": { "VbsCapable": true }, "RequiresRestart": true }, { "ID": "WIN-CRED-013", "MacroLevel": "L1", "Name": "Incoming NTLM traffic is audited", "Description": "Logs every incoming NTLM authentication (Microsoft-Windows-NTLM/Operational), so what still needs NTLM is known before it is turned off.", "Type": "DWord", "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Lsa\\MSV1_0", "ValueName": "AuditReceivingNTLMTraffic", "Value": 2 }, { "ID": "WIN-CRED-014", "MacroLevel": "L1", "Name": "Outgoing NTLM traffic is audited", "Description": "Logs NTLM authentications to other servers without blocking them.", "Type": "DWord", "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Lsa\\MSV1_0", "ValueName": "RestrictSendingNTLMTraffic", "Value": 1 }, { "ID": "WIN-SYS-003", "MacroLevel": "L1", "Name": "No MPR notifications with the logon password", "Severity": "High", "Description": "Network providers receive the password of every logon in clear text through MPR notifications; a malicious provider can collect them.", "Type": "DWord", "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System", "ValueName": "EnableMPR", "Value": 0 }, { "ID": "WIN-SYS-004", "MacroLevel": "L1", "Name": "sudo is off", "Description": "sudo (Windows 11 24H2) lets a non-elevated window run elevated commands; off by default.", "Type": "DWord", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Sudo", "ValueName": "Enabled", "Value": 0, "Default": 0, "AppliesIf": { "OSBuild": { "ge": 26100 } } }, { "ID": "WIN-NET-007", "MacroLevel": "L1", "Name": "SMB server slows down failed logons", "Description": "Each failed SMB logon waits two seconds, which makes guessing passwords over SMB impractical. On by default in Windows 11 24H2.", "Type": "DWord", "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Services\\LanmanServer\\Parameters", "ValueName": "EnableAuthRateLimiter", "Value": 1, "Default": 1, "AppliesIf": { "OSBuild": { "ge": 26100 } } }, { "ID": "WIN-DEF-008", "MacroLevel": "L1", "Name": "Defender cloud protection (advanced MAPS)", "Description": "Cloud protection detects new malware in seconds instead of waiting for the next signature update.", "Type": "DWord", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows Defender\\Spynet", "ValueName": "SpynetReporting", "Value": 2 }, { "ID": "WIN-DEF-009", "MacroLevel": "L1", "Name": "Defender sends safe samples automatically", "Description": "Files that may contain personal data are not sent without asking.", "Type": "DWord", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows Defender\\Spynet", "ValueName": "SubmitSamplesConsent", "Value": 1 }, { "ID": "WIN-DEF-010", "MacroLevel": "L2", "Name": "Defender network protection blocks dangerous sites", "Description": "Blocks connections from any program to sites with a bad reputation, not only from the browser.", "Type": "DWord", "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows Defender\\Windows Defender Exploit Guard\\Network Protection", "ValueName": "EnableNetworkProtection", "Value": 1 } ], "AuditPolicyRules": [ { "ID": "WIN-AUD-001", "MacroLevel": "L1", "Name": "Audit Credential Validation", "Subcategory": "{0CCE923F-69AE-11D9-BED3-505054503030}", "Setting": "SuccessAndFailure" }, { "ID": "WIN-AUD-002", "MacroLevel": "L1", "Name": "Audit Security Group Management", "Subcategory": "{0CCE9237-69AE-11D9-BED3-505054503030}", "Setting": "Success" }, { "ID": "WIN-AUD-003", "MacroLevel": "L1", "Name": "Audit User Account Management", "Subcategory": "{0CCE9235-69AE-11D9-BED3-505054503030}", "Setting": "SuccessAndFailure" }, { "ID": "WIN-AUD-004", "MacroLevel": "L1", "Name": "Audit Process Creation", "Subcategory": "{0CCE922B-69AE-11D9-BED3-505054503030}", "Setting": "Success" }, { "ID": "WIN-AUD-005", "MacroLevel": "L1", "Name": "Audit Account Lockout", "Subcategory": "{0CCE9217-69AE-11D9-BED3-505054503030}", "Setting": "Failure" }, { "ID": "WIN-AUD-006", "MacroLevel": "L1", "Name": "Audit Group Membership", "Subcategory": "{0CCE9249-69AE-11D9-BED3-505054503030}", "Setting": "Success" }, { "ID": "WIN-AUD-007", "MacroLevel": "L1", "Name": "Audit Logoff", "Subcategory": "{0CCE9216-69AE-11D9-BED3-505054503030}", "Setting": "Success" }, { "ID": "WIN-AUD-008", "MacroLevel": "L1", "Name": "Audit Logon", "Subcategory": "{0CCE9215-69AE-11D9-BED3-505054503030}", "Setting": "SuccessAndFailure" }, { "ID": "WIN-AUD-009", "MacroLevel": "L1", "Name": "Audit Other Logon/Logoff Events", "Subcategory": "{0CCE921C-69AE-11D9-BED3-505054503030}", "Setting": "SuccessAndFailure" }, { "ID": "WIN-AUD-010", "MacroLevel": "L1", "Name": "Audit Special Logon", "Subcategory": "{0CCE921B-69AE-11D9-BED3-505054503030}", "Setting": "Success" }, { "ID": "WIN-AUD-011", "MacroLevel": "L1", "Name": "Audit Removable Storage", "Subcategory": "{0CCE9245-69AE-11D9-BED3-505054503030}", "Setting": "SuccessAndFailure" }, { "ID": "WIN-AUD-012", "MacroLevel": "L1", "Name": "Audit Audit Policy Change", "Subcategory": "{0CCE922F-69AE-11D9-BED3-505054503030}", "Setting": "Success" }, { "ID": "WIN-AUD-013", "MacroLevel": "L1", "Name": "Audit Authentication Policy Change", "Subcategory": "{0CCE9230-69AE-11D9-BED3-505054503030}", "Setting": "Success" }, { "ID": "WIN-AUD-014", "MacroLevel": "L1", "Name": "Audit Sensitive Privilege Use", "Subcategory": "{0CCE9228-69AE-11D9-BED3-505054503030}", "Setting": "SuccessAndFailure" }, { "ID": "WIN-AUD-015", "MacroLevel": "L1", "Name": "Audit Security State Change", "Subcategory": "{0CCE9210-69AE-11D9-BED3-505054503030}", "Setting": "Success" }, { "ID": "WIN-AUD-016", "MacroLevel": "L1", "Name": "Audit Security System Extension", "Subcategory": "{0CCE9211-69AE-11D9-BED3-505054503030}", "Setting": "Success" }, { "ID": "WIN-AUD-017", "MacroLevel": "L1", "Name": "Audit System Integrity", "Subcategory": "{0CCE9212-69AE-11D9-BED3-505054503030}", "Setting": "SuccessAndFailure" }, { "ID": "WIN-AUD-018", "MacroLevel": "L1", "Name": "Audit PNP Activity", "Subcategory": "{0CCE9248-69AE-11D9-BED3-505054503030}", "Setting": "Success" }, { "ID": "WIN-AUD-019", "MacroLevel": "L2", "Name": "Audit Other Object Access Events", "Subcategory": "{0CCE9227-69AE-11D9-BED3-505054503030}", "Setting": "SuccessAndFailure" }, { "ID": "WIN-AUD-020", "MacroLevel": "L2", "Name": "Audit Detailed File Share", "Subcategory": "{0CCE9244-69AE-11D9-BED3-505054503030}", "Setting": "Failure" }, { "ID": "WIN-AUD-021", "MacroLevel": "L2", "Name": "Audit MPSSVC Rule-Level Policy Change", "Subcategory": "{0CCE9232-69AE-11D9-BED3-505054503030}", "Setting": "SuccessAndFailure" } ], "SecurityPolicyRules": [ { "ID": "WIN-ACC-001", "MacroLevel": "L1", "Name": "Password history: 24 passwords or more", "Key": "PasswordHistorySize", "Value": 24, "Comparison": "AtLeast" }, { "ID": "WIN-ACC-002", "MacroLevel": "L1", "Name": "Minimum password age: 1 day or more", "Key": "MinimumPasswordAge", "Value": 1, "Comparison": "AtLeast", "Description": "Stops users from cycling through the history to reuse a password." }, { "ID": "WIN-ACC-003", "MacroLevel": "L1", "Name": "Minimum password length: 14 characters or more", "Key": "MinimumPasswordLength", "Value": 14, "Comparison": "AtLeast" }, { "ID": "WIN-ACC-004", "MacroLevel": "L1", "Name": "Passwords must meet complexity requirements", "Key": "PasswordComplexity", "Value": 1 }, { "ID": "WIN-ACC-005", "MacroLevel": "L1", "Name": "Do not store passwords with reversible encryption", "Key": "ClearTextPassword", "Value": 0 }, { "ID": "WIN-ACC-006", "MacroLevel": "L1", "Name": "Account lockout threshold: 1 to 10 failed attempts", "Key": "LockoutBadCount", "Value": 10, "Comparison": "Between", "Min": 1, "Max": 10, "Description": "0 means accounts never lock, which allows unlimited password guessing." }, { "ID": "WIN-ACC-007", "MacroLevel": "L1", "Name": "Account lockout duration: 15 minutes or more", "Key": "LockoutDuration", "Value": 15, "Comparison": "AtLeast" }, { "ID": "WIN-ACC-008", "MacroLevel": "L1", "Name": "Reset the failed-logon counter after 15 minutes or more", "Key": "ResetLockoutCount", "Value": 15, "Comparison": "AtLeast" }, { "ID": "WIN-ACC-009", "MacroLevel": "L1", "Name": "Guest account disabled", "Key": "EnableGuestAccount", "Value": 0 }, { "ID": "WIN-ACC-010", "MacroLevel": "L1", "Name": "Do not allow anonymous SID/name translation", "Key": "LSAAnonymousNameLookup", "Value": 0 }, { "ID": "WIN-ACC-011", "MacroLevel": "L2", "Name": "Lock out the built-in Administrator too", "Caution": "Lets the built-in Administrator account be locked out by failed sign-ins. If that happens while no other administrator can sign in, the machine has no administrator available. Keep it off unless the lockout is required.", "Key": "AllowAdministratorLockout", "Value": 1 } ], "UserRightsRules": [ { "ID": "WIN-URA-001", "MacroLevel": "L1", "Name": "Access Credential Manager as a trusted caller: nobody", "Right": "SeTrustedCredManAccessPrivilege", "Principals": [] }, { "ID": "WIN-URA-002", "MacroLevel": "L1", "Name": "Act as part of the operating system: nobody", "Severity": "High", "Right": "SeTcbPrivilege", "Principals": [] }, { "ID": "WIN-URA-003", "MacroLevel": "L1", "Name": "Create a token object: nobody", "Severity": "High", "Right": "SeCreateTokenPrivilege", "Principals": [] }, { "ID": "WIN-URA-004", "MacroLevel": "L1", "Name": "Create permanent shared objects: nobody", "Right": "SeCreatePermanentPrivilege", "Principals": [] }, { "ID": "WIN-URA-005", "MacroLevel": "L1", "Name": "Enable accounts to be trusted for delegation: nobody", "Right": "SeEnableDelegationPrivilege", "Principals": [] }, { "ID": "WIN-URA-006", "MacroLevel": "L1", "Name": "Modify an object label: nobody", "Right": "SeRelabelPrivilege", "Principals": [] }, { "ID": "WIN-URA-007", "MacroLevel": "L1", "Name": "Debug programs: Administrators only", "Severity": "High", "Right": "SeDebugPrivilege", "Principals": [ "S-1-5-32-544" ], "Description": "Debug rights give full access to any process, including LSASS." }, { "ID": "WIN-URA-008", "MacroLevel": "L1", "Name": "Load and unload device drivers: Administrators only", "Severity": "High", "Right": "SeLoadDriverPrivilege", "Principals": [ "S-1-5-32-544" ] }, { "ID": "WIN-URA-009", "MacroLevel": "L1", "Name": "Manage auditing and security log: Administrators only", "Right": "SeSecurityPrivilege", "Principals": [ "S-1-5-32-544" ] }, { "ID": "WIN-URA-010", "MacroLevel": "L1", "Name": "Modify firmware environment values: Administrators only", "Right": "SeSystemEnvironmentPrivilege", "Principals": [ "S-1-5-32-544" ] }, { "ID": "WIN-URA-011", "MacroLevel": "L1", "Name": "Profile single process: Administrators only", "Right": "SeProfileSingleProcessPrivilege", "Principals": [ "S-1-5-32-544" ] }, { "ID": "WIN-URA-012", "MacroLevel": "L1", "Name": "Take ownership of files or other objects: Administrators only", "Right": "SeTakeOwnershipPrivilege", "Principals": [ "S-1-5-32-544" ] }, { "ID": "WIN-URA-013", "MacroLevel": "L1", "Name": "Back up files and directories: Administrators only", "Right": "SeBackupPrivilege", "Principals": [ "S-1-5-32-544" ], "Description": "Removes Backup Operators, which can read any file." }, { "ID": "WIN-URA-014", "MacroLevel": "L1", "Name": "Restore files and directories: Administrators only", "Right": "SeRestorePrivilege", "Principals": [ "S-1-5-32-544" ] }, { "ID": "WIN-URA-015", "MacroLevel": "L1", "Name": "Force shutdown from a remote system: Administrators only", "Right": "SeRemoteShutdownPrivilege", "Principals": [ "S-1-5-32-544" ] }, { "ID": "WIN-URA-016", "MacroLevel": "L1", "Name": "Create a pagefile: Administrators only", "Right": "SeCreatePagefilePrivilege", "Principals": [ "S-1-5-32-544" ] }, { "ID": "WIN-URA-017", "MacroLevel": "L1", "Name": "Allow log on through Remote Desktop: Administrators and Remote Desktop Users", "Caution": "Replaces the list: other accounts and groups lose Remote Desktop sign-in.", "Right": "SeRemoteInteractiveLogonRight", "Principals": [ "S-1-5-32-544", "S-1-5-32-555" ] }, { "ID": "WIN-URA-018", "MacroLevel": "L1", "Name": "Allow log on locally: Administrators and Users", "Right": "SeInteractiveLogonRight", "Principals": [ "S-1-5-32-544", "S-1-5-32-545" ], "Description": "Removes Guest and Backup Operators." }, { "ID": "WIN-URA-019", "MacroLevel": "L1", "Name": "Shut down the system: Administrators and Users", "Right": "SeShutdownPrivilege", "Principals": [ "S-1-5-32-544", "S-1-5-32-545" ] }, { "ID": "WIN-URA-020", "MacroLevel": "L1", "Name": "Deny access from the network: Guests", "Right": "SeDenyNetworkLogonRight", "Principals": [ "S-1-5-32-546" ], "Comparison": "Includes" }, { "ID": "WIN-URA-021", "MacroLevel": "L1", "Name": "Deny log on as a batch job: Guests", "Right": "SeDenyBatchLogonRight", "Principals": [ "S-1-5-32-546" ], "Comparison": "Includes" }, { "ID": "WIN-URA-022", "MacroLevel": "L1", "Name": "Deny log on as a service: Guests", "Right": "SeDenyServiceLogonRight", "Principals": [ "S-1-5-32-546" ], "Comparison": "Includes" }, { "ID": "WIN-URA-023", "MacroLevel": "L1", "Name": "Deny log on locally: Guests", "Right": "SeDenyInteractiveLogonRight", "Principals": [ "S-1-5-32-546" ], "Comparison": "Includes" }, { "ID": "WIN-URA-024", "MacroLevel": "L1", "Name": "Deny log on through Remote Desktop: Guests", "Right": "SeDenyRemoteInteractiveLogonRight", "Principals": [ "S-1-5-32-546" ], "Comparison": "Includes" }, { "ID": "WIN-URA-025", "MacroLevel": "L2", "Name": "Deny access from the network: local accounts", "Right": "SeDenyNetworkLogonRight", "Principals": [ "S-1-5-113" ], "Comparison": "Includes", "Description": "Blocks lateral movement with local accounts. Remote administration must use domain accounts.", "Caution": "Denies network sign-in to local accounts. Administrators who use a local account for remote administration (PsExec, administrative shares, WinRM) lose that access." }, { "ID": "WIN-URA-026", "MacroLevel": "L2", "Name": "Deny log on through Remote Desktop: local accounts", "Caution": "Denies Remote Desktop sign-in to local accounts.", "Right": "SeDenyRemoteInteractiveLogonRight", "Principals": [ "S-1-5-113" ], "Comparison": "Includes" }, { "ID": "WIN-URA-027", "MacroLevel": "L2", "Name": "Access this computer from the network: Administrators and Remote Desktop Users", "Right": "SeNetworkLogonRight", "Principals": [ "S-1-5-32-544", "S-1-5-32-555" ], "Description": "Other users can no longer open shares on this computer.", "Caution": "Replaces the list: only Administrators and Remote Desktop Users keep network sign-in, so other users lose access to shares and network services. Review before enforcing at L2." }, { "ID": "WIN-URA-028", "MacroLevel": "L2", "Name": "Impersonate a client after authentication: Administrators and service accounts", "Right": "SeImpersonatePrivilege", "Principals": [ "S-1-5-32-544", "S-1-5-19", "S-1-5-20", "S-1-5-6" ], "Description": "IIS and other servers add their own accounts; review before enforcing." }, { "ID": "WIN-URA-029", "MacroLevel": "L2", "Name": "Create global objects: Administrators and service accounts", "Right": "SeCreateGlobalPrivilege", "Principals": [ "S-1-5-32-544", "S-1-5-19", "S-1-5-20", "S-1-5-6" ] }, { "ID": "WIN-URA-030", "MacroLevel": "L2", "Name": "Lock pages in memory: nobody", "Right": "SeLockMemoryPrivilege", "Principals": [], "Description": "SQL Server and some databases use this right; review before enforcing." }, { "ID": "WIN-URA-031", "MacroLevel": "L2", "Name": "Perform volume maintenance tasks: Administrators only", "Right": "SeManageVolumePrivilege", "Principals": [ "S-1-5-32-544" ], "Description": "SQL Server uses this right for instant file initialization." }, { "ID": "WIN-URA-032", "MacroLevel": "L2", "Name": "Increase scheduling priority: Administrators and Window Manager", "Right": "SeIncreaseBasePriorityPrivilege", "Principals": [ "S-1-5-32-544", "S-1-5-90-0" ] } ], "FirewallProfileRules": [ { "ID": "WIN-FW-001", "MacroLevel": "L1", "Name": "Firewall Domain: Enabled = True", "Severity": "High", "Caution": "Turning the firewall on blocks inbound connections that no rule allows. Enable the rules for WinRM, SMB or Remote Desktop first, or remote administration stops.", "Profile": "Domain", "Setting": "Enabled", "Value": "True" }, { "ID": "WIN-FW-002", "MacroLevel": "L1", "Name": "Firewall Domain: DefaultInboundAction = Block", "Profile": "Domain", "Setting": "DefaultInboundAction", "Value": "Block" }, { "ID": "WIN-FW-003", "MacroLevel": "L1", "Name": "Firewall Domain: DefaultOutboundAction = Allow", "Profile": "Domain", "Setting": "DefaultOutboundAction", "Value": "Allow" }, { "ID": "WIN-FW-004", "MacroLevel": "L2", "Name": "Firewall Domain: LogBlocked = True", "Profile": "Domain", "Setting": "LogBlocked", "Value": "True" }, { "ID": "WIN-FW-005", "MacroLevel": "L2", "Name": "Firewall Domain: LogMaxSizeKilobytes 16384 or more", "Profile": "Domain", "Setting": "LogMaxSizeKilobytes", "Value": 16384, "Comparison": "AtLeast" }, { "ID": "WIN-FW-006", "MacroLevel": "L1", "Name": "Firewall Private: Enabled = True", "Severity": "High", "Caution": "Turning the firewall on blocks inbound connections that no rule allows. Enable the rules for WinRM, SMB or Remote Desktop first, or remote administration stops.", "Profile": "Private", "Setting": "Enabled", "Value": "True" }, { "ID": "WIN-FW-007", "MacroLevel": "L1", "Name": "Firewall Private: DefaultInboundAction = Block", "Profile": "Private", "Setting": "DefaultInboundAction", "Value": "Block" }, { "ID": "WIN-FW-008", "MacroLevel": "L1", "Name": "Firewall Private: DefaultOutboundAction = Allow", "Profile": "Private", "Setting": "DefaultOutboundAction", "Value": "Allow" }, { "ID": "WIN-FW-009", "MacroLevel": "L2", "Name": "Firewall Private: LogBlocked = True", "Profile": "Private", "Setting": "LogBlocked", "Value": "True" }, { "ID": "WIN-FW-010", "MacroLevel": "L2", "Name": "Firewall Private: LogMaxSizeKilobytes 16384 or more", "Profile": "Private", "Setting": "LogMaxSizeKilobytes", "Value": 16384, "Comparison": "AtLeast" }, { "ID": "WIN-FW-011", "MacroLevel": "L1", "Name": "Firewall Public: Enabled = True", "Severity": "High", "Caution": "Turning the firewall on blocks inbound connections that no rule allows. Enable the rules for WinRM, SMB or Remote Desktop first, or remote administration stops.", "Profile": "Public", "Setting": "Enabled", "Value": "True" }, { "ID": "WIN-FW-012", "MacroLevel": "L1", "Name": "Firewall Public: DefaultInboundAction = Block", "Profile": "Public", "Setting": "DefaultInboundAction", "Value": "Block" }, { "ID": "WIN-FW-013", "MacroLevel": "L1", "Name": "Firewall Public: DefaultOutboundAction = Allow", "Profile": "Public", "Setting": "DefaultOutboundAction", "Value": "Allow" }, { "ID": "WIN-FW-014", "MacroLevel": "L2", "Name": "Firewall Public: LogBlocked = True", "Profile": "Public", "Setting": "LogBlocked", "Value": "True" }, { "ID": "WIN-FW-015", "MacroLevel": "L2", "Name": "Firewall Public: LogMaxSizeKilobytes 16384 or more", "Profile": "Public", "Setting": "LogMaxSizeKilobytes", "Value": 16384, "Comparison": "AtLeast" } ], "ServiceRules": [ { "ID": "WIN-SVC-001", "MacroLevel": "L1", "Name": "RemoteRegistry", "State": "Stopped", "StartupType": "Disabled", "Description": "Remote Registry: lets other computers read and change this registry.", "Caution": "Other machines can no longer read or edit this machine's registry (remote Registry Editor, some management tools)." }, { "ID": "WIN-SVC-002", "MacroLevel": "L2", "Name": "SSDPSRV", "State": "Stopped", "StartupType": "Disabled", "Description": "SSDP Discovery: UPnP device discovery on the local network." }, { "ID": "WIN-SVC-003", "MacroLevel": "L2", "Name": "upnphost", "State": "Stopped", "StartupType": "Disabled", "Description": "UPnP Device Host: lets this computer act as a UPnP device." }, { "ID": "WIN-SVC-004", "MacroLevel": "L2", "Name": "SharedAccess", "State": "Stopped", "StartupType": "Disabled", "Description": "Internet Connection Sharing: turns this computer into a router." }, { "ID": "WIN-SVC-005", "MacroLevel": "L3", "Name": "Spooler", "State": "Stopped", "StartupType": "Disabled", "Description": "Print Spooler: only on machines that never print (PrintNightmare attack surface)." }, { "ID": "WIN-SVC-006", "MacroLevel": "L3", "Name": "WebClient", "State": "Stopped", "StartupType": "Disabled", "Description": "WebDAV client: used in NTLM relay attacks; breaks WebDAV mapped drives." } ], "CheckRules": [ { "ID": "WIN-CRED-010", "MacroLevel": "L2", "Name": "Credential Guard is running", "Severity": "High", "Description": "Credential Guard keeps the secrets of the LSA in an isolated environment, so tools that read the memory of lsass get nothing useful. Windows 11 22H2 and later turn it on by default on hardware that supports it, unless it was turned off.", "Fact": "CredentialGuardRunning", "Expected": true, "Action": "Turn on Credential Guard (Group Policy: Device Guard > Turn On Virtualization Based Security), then restart", "AppliesIf": { "VbsCapable": true } } ] } |