Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Category Microsoft Edge ID 10952, 10953 #28

Closed
FLeven opened this issue Jan 29, 2023 · 9 comments
Closed

Category Microsoft Edge ID 10952, 10953 #28

FLeven opened this issue Jan 29, 2023 · 9 comments
Assignees

Comments

@FLeven
Copy link

FLeven commented Jan 29, 2023

When executing, on Windows 11 22H2:
Invoke-HardeningKitty -Mode Audit -FileFindingList .\lists\finding_list_msft_security_baseline_windows_11_22h2_machine.csv

the two Edge settings are not found:
`[*] 1/29/2023 6:22:34 PM - Starting Category Microsoft Edge

[$] ID 10952, Configure Windows Defender SmartScreen, Result=, Recommended=1, Severity=Medium

[$] ID 10953, Prevent bypassing Microsoft Defender SmartScreen prompts for sites, Result=, Recommended=1, Severity=Medium`

the list points to the reg key:
HKLM:\Software\Policies\Microsoft\MicrosoftEdge\PhishingFilter,EnabledV9

I could only find this setting here (the second Defender setting is also found here):
SOFTWARE\Policies\Microsoft\Internet Explorer\PhishingFilter

@0x6d69636b 0x6d69636b self-assigned this Jan 29, 2023
@0x6d69636b
Copy link
Member

0x6d69636b commented Jan 29, 2023

According to the document MS Security Baseline Windows 11 v22H2.xlsx (see URL), the path ...Microsoft\MicrosoftEdge\PhishingFilter... is correct. However, the policy file MSFT-Win11-v22H2.PolicyRules only points to the Internet Explorer one. I don't have a Windows 11 installation around at the moment, could you please configure the policy via group policy and monitor with registry key is changed?

@FLeven
Copy link
Author

FLeven commented Jan 29, 2023

Both:
`10952,"Microsoft Edge","Configure Windows Defender SmartScreen",Registry,,HKLM:\Software\Policies\Microsoft\MicrosoftEdge\PhishingFilter,EnabledV9,,,,,1,=,Medium

10953,"Microsoft Edge","Prevent bypassing Microsoft Defender SmartScreen prompts for sites",Registry,,HKLM:\Software\Policies\Microsoft\MicrosoftEdge\PhishingFilter,PreventOverride,,,,,1,=,Medium`

settings are here:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System

EnableSmartScreen (10952)

ShellSmartScreenLevel (10953), which can be Block or Warn, Block would be the correct setting.

Don't get confused, the config about Explorer not Edge, I doubt this is any different from win10.

@0x6d69636b
Copy link
Member

0x6d69636b commented Jan 30, 2023

Here is a output of the Microsoft documentation regarding those settings, which use different path for Explorer and Edge

image

These settings (rows 2482-2484) are covered in ID 10951 to 10954

@FLeven
Copy link
Author

FLeven commented Jan 31, 2023

Nope,

10952 and 10953 should match 2842 or 1043 (2 registry path entrys here) in your excel file.
*Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System*

Keys:
EnableSmartScreen
ShellSmartScreenLevel

but in your list it matches 2483 and 2484:
`10952,"Microsoft Edge","Configure Windows Defender SmartScreen",Registry,,HKLM:\Software\Policies\Microsoft\MicrosoftEdge\PhishingFilter,EnabledV9,,,,,1,=,Medium

10953,"Microsoft Edge","Prevent bypassing Microsoft Defender SmartScreen prompts for sites",Registry,,HKLM:\Software\Policies\Microsoft\MicrosoftEdge\PhishingFilter,PreventOverride,,,,,1,=,Medium
`

That's why the settings are reported as "unset", all other Defender settings are ok and don't fail. File Explorer Defender settings are in system and not in any *Edge registry folder.

@0x6d69636b
Copy link
Member

I don't get it:

  • ID 1043 matches ID's 10766 and 10767
  • ID 2482 matches ID's 10951 and 10954
  • ID 2483 matches ID 10952
  • ID 2484 matches ID 10953

Okay, the category Microsoft Edge of 10952 and 10953 is not as in the Excel list however the registry keys are matching

@FLeven
Copy link
Author

FLeven commented Jan 31, 2023

Ok, I missed the category before "Starting category Microsoft Edge", but 10952 and 10953 are still empty and not used, even if add the Edge 107 Baseline, it is still: Result=

@0x6d69636b
Copy link
Member

That is interesting, I had access to a Win 11 Enterprise machine and used gpedit.msc and monitored for registry changes. Both registry keys were created after configuring the settings:

image

Is there an error in the source file from Microsoft? I did not check those templates yet.

@FLeven
Copy link
Author

FLeven commented Feb 1, 2023

Those 2 settings are NOT part of the wi11 computer baseline, and not even part of the edge 107 basline.

only enhanced phishing and explorer are part of win11, the first one your might be missing because of missing ADMX templates.

@0x6d69636b
Copy link
Member

0x6d69636b commented Feb 4, 2023

Let's Microsoft answer this question, the documentation or the policy files are different. I posted a comment: https://techcommunity.microsoft.com/t5/microsoft-security-baselines/windows-11-version-22h2-security-baseline/bc-p/3733816/highlight/true#M562

If Microsoft recommends configuring Windows Defender for Mircosoft Edge, then the settings must be set in the way of the HardeningKitty list. If this is not a recommendation I'll remove the checks.

I did a check on Windows 11 Pro as well, if I use gpedit.msc then the registry keys are set. If I use the PowerShell script of Microsoft then it is not configured.

@FLeven FLeven closed this as completed Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants