Windows (desktop and server)
TMA-WIN-FIREWALL
Ensure Windows Firewall is enabled for all profiles
CaoCấp 1Tự độngwindows
Mô tả
The host firewall must be on for Domain, Private and Public profiles.
Cách kiểm tra
Phương pháp kiểm tra: Lệnh shell
shell
(Get-NetFirewallProfile | Where-Object { -not $_.Enabled }).Count- Đầu ra mong đợi
0
Cách khắc phục
Phương pháp khắc phục: Lệnh shell
shell
Set-NetFirewallProfile -Profile Domain,Private,Public -Enabled TrueThuộc tính
- Hệ điều hành
- Bất kỳ
- Thẻ
- windowsfirewall
- Tham chiếu
- CIS Microsoft Windows Server Benchmark - Windows Defender Firewall with Advanced Security
Kiểm tra máy này
Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.
shell
tmaegis scan --target windows