undergroundwires / privacy.sexy

Open-source tool to enforce privacy & security best-practices on Windows, macOS and Linux, because privacy is sexy
https://privacy.sexy
GNU Affero General Public License v3.0
4.18k stars 174 forks source link

[Bug]: Disable prevention of users and apps from accessing dangerous websites #441

Open kalekad opened 1 month ago

kalekad commented 1 month ago

Description

Windows v0.13.6

Script in privacy.sexy:

:: Disable prevention of users and apps from accessing dangerous websites echo --- Disable prevention of users and apps from accessing dangerous websites PowerShell -ExecutionPolicy Unrestricted -Command "$data = '1'; reg add 'HKLM\Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\Network Protection' /v 'EnableNetworkProtection' /t 'REG_DWORD' /d "^""$data"^"" /f" :: ----------------------------------------------------------

It should be set to 0 to disable it, but it is now set to 1.

Disabled: Users and applications will not be blocked from connecting to dangerous domains.

Registry Hive | HKEY_LOCAL_MACHINE Registry Path | Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\Network Protection Value Name | EnableNetworkProtection Value Type | REG_DWORD Enabled Value | 1 Disabled Value | 0

Source:

https://admx.help/?Category=Windows_11_2022&Policy=Microsoft.Policies.WindowsDefender::ExploitGuard_EnableNetworkProtection

undergroundwires commented 2 weeks ago

Thank you for the bug report @kalekad, this is correct and it will be fixed. Very clear and great bug report.