主题 : 解决“幽灵”漏洞性能,微软Windows 10 1809注册表手动开启Retpoline技术
千山同一月 万户尽皆春 千江有水千江月 万里无云万里天
级别: 总版主

UID: 998
精华: 0
发帖: 605031
威望: 529311 点
无痕币: 1 WHB
贡献值: 0 点
在线时间: 62206(时)
注册时间: 2008-12-25
最后登录: 2024-04-28

0 解决“幽灵”漏洞性能,微软Windows 10 1809注册表手动开启Retpoline技术

3月6日消息微软近期推送了Windows 10的最新累积性更新,似乎包含一项重要更改。Windows 10 KB4482887(Build 17763.348)在某些设备上为Windows 10版本1809引入了“Retpoline”修复补丁方案,并计划最终将该补丁方案推广到更多设备。
相关阅读:
解决“幽灵”漏洞性能问题,微软Windows 10 1809引入“Retpoline”修复补丁

但是根据一些微软技术社区说法,该技术并不是默认开启的,需要手动修改注册表开启。
开启方法(仅适用于Windows 10 1809 更新到17763.348及以上版本)注册版路径:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
插入值
FeatureSettingsOverride
Type: REG_DWORD
Value: 0x400
FeatureSettingsOverrideMask
Type: REG_DWORD
Value: 0x400
重启电脑后即可体验该技术带来的提升。
验证是否启用使用powershell运行以下命令
Install-Module -Name SpeculationControl
Set-ExecutionPolicy RemoteSigned
Import-Module SpeculationControl
Get-SpeculationControlSettings
状态如以下一致则已开启
Speculation control settings for CVE-2017-5715 [branch target injection]
Hardware support for branch target injection mitigation is present: True
Windows OS support for branch target injection mitigation is present: True
Windows OS support for branch target injection mitigation is enabled: True

BTIKernelRetpolineEnabled    : True
BTIKernelImportOptimizationEnabled : True
...
微软技术社区更多内容查看,点此链接
级别: 四缕秋风
UID: 39881
精华: 0
发帖: 508
威望: 1975 点
无痕币: 3836 WHB
贡献值: 0 点
在线时间: 258(时)
注册时间: 2008-06-20
最后登录: 2024-04-12

体验该技术带来的提升
Total 0.287786(s) query 5, Time now is:04-28 21:01, Gzip enabled 粤ICP备07514325号-1
Powered by PHPWind v7.3.2 Certificate Code © 2003-13 秋无痕论坛