系统下载、安装、激活,就到系统天地来!

所在位置: 首页 — 系统文章 — win10系统教程

Win10 1809开启Retpoline 解决\"幽灵\"漏洞的技巧

作者:系统天地 日期:2019-03-07

在打了Intel幽灵漏洞补丁之后电脑会有有性能损失降低,当然很多朋友是不甘心的,而微软今天推出了累积更新KB4482887,这是一个包含重要安全修复程序的更新,是针对Spectre v2 CPU漏洞的新缓解措施。这种新的缓解措施基于一种名为Retpoline的编码技术,由谷歌工程师开发。微软 KB4482887 补丁把 Google 的性能优化版 Spectre 补丁移植到 1809 了,但是默认还没开启,需要手动注册表启动.

相关阅读:

Win10 1809引入了“Retpoline”修复补丁KB4482887

 

1.jpg

 

但是根据一些微软技术社区说法,该技术并不是默认开启的,需要手动修改注册表开启。

开启方法(仅适用于Windows 10 1809 更新到17763.348及以上版本)注册版路径:

Hkey_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerMemory 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

...