We are starting to see the Spectre/Meltdown Variant 4 on our WIZ/QUALYS reporting. I have exported the correct settings from a server not on the naughty list which are below. Microsoft are now saying that we need these three registry settings. I believe I am making this way to complicated. I might need to create the task from the start and not use exported registry keys
-
\HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\FeatureSettings
DWORD: 0x00000001 -
\HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\FeatureSettingsOverride
DWORD: 0x00002048 -
\HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\FeatureSettingsOverrideMask
DWORD: 0x00000003
I have the task created but I want to only show the servers that are relevant to have these settings. I have seen some that have the 1st two but not the third and I have see servers with only the first entry or I have seen servers with all of these entries. I could wait until the servers come up on the report and change them because I will have their DNS names. I would prefer to be more proactive.
My Relevance statements are:
- (name of operating system = “Win2019” OR name of operating system = “Win2022”) AND (TRUE)
- not exists value “FeatureSettings” of key “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management” of registry
- not exists value “FeatureSettingsOverride” of key “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management” of registry
- not exists value “FeatureSettingsOverrideMask” of key “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management” of registry
What I need to do is find out what entries are in the Registry. If one is true but the others come back as false it still needs to be applied just not all of the settings.
I am hoping I am explaining this properly