Code Monkey home page Code Monkey logo

Comments (9)

0x6d69636b avatar 0x6d69636b commented on May 20, 2024 1

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.

from hardeningkitty.

0x6d69636b avatar 0x6d69636b commented on May 20, 2024

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?

from hardeningkitty.

FLeven avatar FLeven commented on May 20, 2024

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.

from hardeningkitty.

0x6d69636b avatar 0x6d69636b commented on May 20, 2024

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

from hardeningkitty.

FLeven avatar FLeven commented on May 20, 2024

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.

from hardeningkitty.

0x6d69636b avatar 0x6d69636b commented on May 20, 2024

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

from hardeningkitty.

FLeven avatar FLeven commented on May 20, 2024

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=

from hardeningkitty.

0x6d69636b avatar 0x6d69636b commented on May 20, 2024

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.

from hardeningkitty.

FLeven avatar FLeven commented on May 20, 2024

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.

from hardeningkitty.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.