Windows Client Guidance against speculative execution vulnerabilities

    Windows Client Guidance against speculative execution vulnerabilities


    Last Updated: 19 Jan 2018 at 12:34
    Windows Client Guidance for IT Pros to protect against speculative execution side-channel vulnerabilities



    Summary

    Microsoft is aware of a new publicly disclosed class of vulnerabilities that are called “speculative execution side-channel attacks” that affect many modern processors and operating systems, including Intel, AMD, and ARM.

    Note This issue also affects other operating systems, such as Android, Chrome, iOS, and MacOS, so we advise customers to seek guidance from those vendors.
    Microsoft has released several updates to help mitigate these vulnerabilities. We have also taken action to secure our cloud services. See the following sections for more details.

    Microsoft has yet not received any information to indicate that these vulnerabilities have been used to attack customers. Microsoft is working closely with industry partners including chip makers, hardware OEMs, and app vendors to protect customers. To get all available protections, hardware/firmware and software updates are required. This includes microcode from device OEMs and, in some cases, updates to antivirus software as well.

    The following sections will help you identify and mitigate client environments that are affected by the vulnerabilities that are identified in Microsoft Security Advisory ADV180002.

    Windows Update will also provide Internet Explorer and Edge mitigations. And we will continue to improve these mitigations against this class of vulnerabilities.

    Recommended actions

    Customers must take the following actions to help protect against the vulnerabilities.

    • Verify that you are running a supported antivirus application before you install OS or firmware updates. Contact the antivirus software vendor for compatibility information.
    • Apply all available Windows operating system updates, including the January 2018 Windows security updates.
    • Apply the applicable firmware update that is provided by the device manufacturer.

    Windows-based machines (physical or virtual) should install the Microsoft security updates that were released on January 3, 2018. See Microsoft Security Advisory ADV180002 for updates for the following versions of Windows.

    Operating System Version

    • Windows 10 (RTM, 1511, 1607, 1703, 1709)
    • Windows 8.1
    • Windows 7 SP1


       Warning
    Customers who only install the Windows January 2018 security updates will not receive the benefit of all known protections against the vulnerabilities. In addition to installing the January security updates, a processor microcode, or firmware, update is required. This should be available through your device manufacturer.

    Note Surface customers will receive a microcode update via Windows update.

    Surface updates for recent chip-related security vulnerability Surface - Windows 10 Forums

    Verifying protections are enabled

    To help customers confirm whether protections have been enabled, Microsoft has published a PowerShell script that customers can run on their systems. Install and run the script by running the following commands:

       Note
    PowerShell Verification using the PowerShell Gallery


    1) Open elevated PowerShell.

    2) Temporarily set PowerShell script execution policy
    PS> Set-ExecutionPolicy Unrestricted -Scope Process -Force

    3) Install the PowerShell module
    PS > Install-Module SpeculationControl -Force

    Type Y and press Enter if prompted to install and import NuGet.

    4) Run the PowerShell module to validate protections are enabled
    PS > Get-SpeculationControlSettings


    OR

       Note
    PowerShell Verification using download from Technet


    1) Install PowerShell Module from Technet ScriptCenter
    Go to Speculation Control Validation PowerShell Script

    Download SpeculationControl.zip to a local folder.

    Extract the contents to a local folder, for example C:\ADV180002

    2) Open elevated PowerShell.

    3) Switch to directory of extracted contents
    PS> CD C:\ADV180002\SpeculationControl

    4) Temporarily set PowerShell script execution policy
    PS> Set-ExecutionPolicy Unrestricted -Scope Process -Force

    5) Install the downloaded PowerShell module
    PS > Import-Module .\SpeculationControl.psd1

    6) Run the PowerShell module to validate protections are enabled
    PS > Get-SpeculationControlSettings


    The output of this PowerShell script will look like the following. Enabled protections will show in the output as “True”.

    Code:
    PS C:\> 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
    Speculation control settings for CVE-2017-5754 [rogue data cache load]
    Hardware requires kernel VA shadowing: True
    Windows OS support for kernel VA shadow is present: True
    Windows OS support for kernel VA shadow is enabled: True
    Windows OS support for PCID optimization is enabled: True
    Windows Client Guidance against speculative execution vulnerabilities-powershell_verification.png Windows Client Guidance against speculative execution vulnerabilities-download_verification.png

    Frequently asked questions

    1. How can I tell if I have the right version of the CPU microcode?
    The microcode is delivered through a firmware update. Consult with the device manufacturer about the firmware version that has the appropriate update for your CPU.

    2. My operating system (OS) is not listed. When can I expect a fix to be released?
    Addressing a hardware vulnerability through a software update presents significant challenges, and mitigations for older operating systems require extensive architectural changes. Microsoft is working with affected chip manufacturers to determine the best way to provide mitigations, which may be delivered in future updates.

    3. Where can I find Surface firmware/hardware updates?
    Updates for Microsoft Surface devices will be delivered to customers through Windows Update along with the updates for the Windows operating system. For more information, see KB 4073065.

    If your device is not from Microsoft, apply firmware from the device manufacturer. Contact the manufacturer for more information.

    4. I have an x86 architecture but don’t see an update. Will I get one?
    Addressing a hardware vulnerability through a software update presents significant challenges, and mitigations for older operating systems require extensive architectural changes. We are working with affected chip manufacturers to determine the best way to provide mitigations for x86 customers, which may be delivered in a future update.


    RSource: https://support.microsoft.com/en-us/...peculative-exe
    Brink's Avatar Posted By: Brink
    04 Jan 2018



  1. Posts : 7,107
    W7 home premium 32bit/W7HP 64bit/w10 tp insider ring
       #1

    Hi Brink

    Tried the powershell commands

    comes back as, see screenshot


    Roy

    Powershell V1 used
    Attached Thumbnails Attached Thumbnails Windows Client Guidance against speculative execution vulnerabilities-pshell.png  
      My Computer


  2. Posts : 2,468
    Windows 7 Ultimate x64
       #2

    torchwood said:
    Powershell V1 used
    That's the problem. You're using an older version that doesn't includes the command yet.
    Have a look at this post in Stack Overflow that has the very same issue and tips on how to resolve.
      My Computer


  3. Posts : 7,107
    W7 home premium 32bit/W7HP 64bit/w10 tp insider ring
       #3

    Hi @Brink @Alejandro85

    Alejandro85 -- thought that might be the case, knew about v2
    Brink -- Powershell updates are not automatically offered

    latest is v5 -- KB3191566

    I installed the KB and ran the PS scirpts. (revised force option)

    looks like im up the creek without a paddle- my latest Bios is 2009 no further available
    Intel has provided a DiagTool
    Intel-SA-00086 Detection Tool

    you dont want see this
    <System_Risk>Detection Error: This system may be vulnerable, either the Intel(R) MEI/TXEI driver is not installed (available from your system manufacturer) or the system manufacturer does not permit access to the ME/TXE from the host driver.</System_Risk>

    OH and guess what Acer hasnt got a fix for mine
    when your old and decrepid like ME and MY Lappy - NO WAY MY BABY's going anywhere


    Roy
    Attached Thumbnails Attached Thumbnails Windows Client Guidance against speculative execution vulnerabilities-pshel5.png  
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 10:53.
Find Us