WNFWA-000004 - Windows Defender Firewall with Advanced Security must block unsolicited inbound connections when connected to a domain.

Information

A firewall provides a line of defense against attack. To be effective, it must be enabled and properly configured. Unsolicited inbound connections may be malicious attempts to gain access to a system. Unsolicited inbound connections, for which there is no rule allowing the connection, will be blocked in the domain.

Solution

The preferred method of configuring the firewall settings is with a policy, particularly in a domain environment.

Configure the policy value for Computer Configuration >> Windows Settings >> Security Settings >> Windows Defender Firewall with Advanced Security >> Windows Defender Firewall with Advanced Security >> Windows Defender Firewall Properties (this link will be in the right pane) >> Domain Profile tab >> State, 'Inbound connections' to 'Block (default)'.

In addition to using policies, systems may also be configured using the firewall GUI or Netsh commands. These methods may be more appropriate for standalone systems.

The configuration settings in the GUI are the same as those specified in the policy above. Microsoft Defender Firewall Properties will be a link in the center pane after opening Microsoft Defender Firewall with Advanced Security.

The following Netsh commands may also be used to configure this setting:

'Netsh advfirewall set domainprofile firewallpolicy blockinbound,allowoutbound'.
or
'Netsh advfirewall set allprofiles firewallpolicy blockinbound,allowoutbound'.

Both inbound and outbound parameters must be specified to execute this command.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_MS_Windows_Defender_Firewall_V2R2_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7b., CAT|I, CCI|CCI-000382, Rule-ID|SV-241992r922934_rule, STIG-ID|WNFWA-000004, STIG-Legacy|SV-54859, STIG-Legacy|V-17418, Vuln-ID|V-241992

Plugin: Windows

Control ID: e90e8a31785946e3d17bd5925f080b626a196fe513591c7721fba6adaf90919f