Protect security settings with tamper protection
- Windows 10
During some kinds of cyber attacks, bad actors try to disable security features, such as anti-virus protection, on your machines. They do this to get easier access to your data, to install malware, or to otherwise exploit your data, identity, and devices. Tamper protection helps prevent this from occurring.
With tamper protection, malicious apps are prevented from taking actions like these:
- Disabling virus and threat protection
- Disabling real-time protection
- Turning off behavior monitoring
- Disabling antivirus (such as IOfficeAntivirus (IOAV))
- Disabling cloud-delivered protection
- Removing security intelligence updates
How it works
Tamper protection essentially locks Windows Defender Antivirus and prevents your security settings from being changed through apps and methods like these:
- Configuring settings in Registry Editor on your Windows machine
- Changing settings through PowerShell cmdlets
- Editing or removing security settings through group policies
- and so on.
Tamper protection doesn't prevent you from viewing your security settings. And, tamper protection doesn't affect how third-party antivirus apps register with the Windows Security app. If your organization is using Windows 10 Enterprise E5, individual users can't change the tamper protection setting; this is managed by your security team.
What do you want to do?
Turn tamper protection on
Turn tamper protection on (or off) for an individual machine
Tamper protection blocks attempts to modify Windows Defender Antivirus settings through the registry.
To help ensure that tamper protection doesn’t interfere with third-party security products or enterprise installation scripts that modify these settings, go to Windows Security and update Security intelligence to version 1.287.60.0 or later. (See Security intelligence updates.)
Once you’ve made this update, tamper protection will continue to protect your registry settings, and will also log attempts to modify them without returning errors.
If you are a home user, or you are not subject to settings managed by a security team, you can use the Windows Security app to turn tamper protection on or off. You must have appropriate admin permissions on your machine to do this.
Click Start, and start typing Defender. In the search results, select Windows Security.
Select Virus & threat protection > Virus & threat protection settings.
Set Tamper Protection to On or Off.
Here's what you see in the Windows Security app:
Turn tamper protection on (or off) for your organization using Intune
If you are part of your organization's security team, and your subscription includes Intune, you can turn tamper protection on (or off) for your organization in the Microsoft 365 Device Management portal (https://aka.ms/intuneportal).
The ability to manage tamper protection in Intune is rolling out now; if you don't have it yet, you should very soon, assuming your organization has Microsoft Defender Advanced Threat Protection (Microsoft Defender ATP) and that you meet the prerequisites listed below.
You must have appropriate permissions, such as global admin, security admin, or security operations, to perform the following task.
Make sure your organization meets all of the following requirements:
- Your organization must have Microsoft Defender ATP E5 (this is included in Microsoft 365 E5).
- Your organization uses Intune to manage devices. (Intune licenses are required; this is included in Microsoft 365 E5.)
- Your Windows machines must be running Windows 10 OS 1709, 1803, 1809 or later. (See Windows 10 release information for more details about releases.)
- You must be using Windows security with security intelligence updated to version 1.287.60.0 (or above).
- Your machines must be using anti-malware platform version 4.18.1906.3 (or above) and anti-malware engine version 1.1.15500.X (or above). (Manage Windows Defender Antivirus updates and apply baselines.)
Go to the Microsoft 365 Device Management portal (https://devicemanagement.microsoft.com) and sign in with your work or school account.
Select Device configuration > Profiles.
Create a profile as follows:
Platform: Windows 10 and later
Profile type: Endpoint protection
Category: Microsoft Defender Security Center
Tamper Protection: Enabled
Assign the profile to one or more groups.
Here's what you see in the Windows Security app:
Are you using Windows OS 1709, 1803, or 1809?
If you are using Windows 10 OS 1709, 1803, or 1809, you won't see Tamper Protection in the Windows Security app. In this case, you can use PowerShell to determine whether tamper protection is enabled.
Use PowerShell to determine whether tamper protection is turned on
Open the Windows PowerShell app.
Use the Get-MpComputerStatus PowerShell cmdlet.
In the list of results, look for
IsTamperProtected. (A value of true means tamper protection is enabled.)
View information about tampering attempts
Tampering attempts typically indicate bigger cyberattacks. Bad actors try to change security settings as a way to persist and stay undetected. If you're part of your organization's security team, you can view information about such attempts, and then take appropriate actions to mitigate threats.
Review your security recommendations
Tamper protection integrates with Threat & Vulnerability Management capabilities. Security recommendations include making sure tamper protection is turned on. For example, you can search on tamper, as shown in the following image:
In the results, you can select Turn on Tamper Protection to learn more and turn it on.
To learn more about Threat & Vulnerability Management, see Threat & Vulnerability Management in Microsoft Defender Security Center.
Frequently asked questions
To which Windows OS versions is configuring tamper protection is applicable?
Is configuring tamper protection in Intune supported on servers?
Will tamper protection have any impact on third party antivirus registration?
No. Third-party antivirus offerings will continue to register with the Windows Security application.
What happens if Windows Defender Antivirus is not active on a device?
Tamper protection will not have any impact on such devices.
How can I turn tamper protection on/off?
If you are a home user, see Turn tamper protection on (or off) for an individual machine.
If you are an organization using Microsoft Defender ATP E5, you should be able to manage tamper protection in Intune similar to how you manage other endpoint protection features. See Turn tamper protection on (or off) for your organization using Intune.
How does configuring tamper protection in Intune affect how I manage Windows Defender Antivirus through my group policy?
Your regular group policy doesn’t apply to tamper protection, and changes to Windows Defender Antivirus settings are ignored when tamper protection is on.
A small delay in Group Policy (GPO) processing may occur if Group Policy settings include values that control Windows Defender Antivirus features protected by tamper protection. To avoid any potential delays, we recommend that you remove settings that control Windows Defender Antivirus related behavior from GPO and simply allow tamper protection to protect Windows Defender Antivirus settings.
Sample Windows Defender Antivirus settings:
Turn off Windows Defender Antivirus
Computer Configuration\Administrative Templates\Windows Components\Windows Defender
Value DisableAntiSpyware = 0
Turn off real-time protection
Computer Configuration\Administrative Templates\Windows Components\Windows Defender Antivirus\Real-time Protection
Value DisableRealtimeMonitoring = 0
For Microsoft Defender ATP E5, is configuring tamper protection in Intune targeted to the entire organization only?
Configuring tamper protection in Intune can be targeted to your entire organization as well as to specific devices and user groups.
Can I configure Tamper Protection in Microsoft Endpoint Configuration Manager?
Currently we do not have support to manage Tamper Protection through Microsoft Endpoint Configuration Manager.
I have the Windows E3 enrollment. Can I use configuring tamper protection in Intune?
Currently, configuring tamper protection in Intune is only available for customers who have Microsoft Defender Advanced Threat Protection E5.
What happens if I try to change Microsoft Defender ATP settings in Intune, Microsoft Endpoint Configuration Manager, and Windows Management Instrumentation when Tamper Protection is enabled on a device?
You won’t be able to change the features that are protected by tamper protection; such change requests are ignored.
I’m an enterprise customer. Can local admins change tamper protection on their devices?
No. Local admins cannot change or modify tamper protection settings.
What happens if my device is onboarded with Microsoft Defender ATP and then goes into an off-boarded state?
In this case, tamper protection status changes, and this feature is no longer applied.
Will there be an alert about tamper protection status changing in the Microsoft Defender Security Center?
Yes. The alert is shown in https://securitycenter.microsoft.com under Alerts.
In addition, your security operations team can use hunting queries, such as the following:
DeviceAlertEvents | where Title == "Tamper Protection bypass"
Will there be a group policy setting for tamper protection?