Protect important folders with controlled folder access
Controlled folder access helps you protect valuable data from malicious apps and threats, such as ransomware. It protects your data by checking against a list of known, trusted apps. Controlled folder access is supported on Windows Server 2019 as well as Windows 10 clients. It can be turned on via the Windows Security App, or from the System Center Configuration Manager (SCCM) and Intune, for managed devices. Controlled folder access works best with Microsoft Defender Advanced Threat Protection, which gives you detailed reporting into controlled folder access events and blocks as part of the usual alert investigation scenarios.
Controlled folder access works by only allowing apps to access protected folders if the app is included on a list of trusted software. If an app isn't on the list, Controlled folder access will block it from making changes to files inside protected folders.
Apps are added to the trusted list based upon their prevalence and reputation. Apps that are highly prevalent throughout your organization, and that have never displayed any malicious behavior, are deemed trustworthy and automatically added to the list.
Apps can also be manually added to the trusted list via SCCM and Intune. Additional actions, such as adding a file indicator for the app, can be performed from the Security Center Console.
Controlled folder access is especially useful in helping to protect your documents and information from ransomware that can attempt to encrypt your files and hold them hostage.
With Controlled folder access in place, a notification will appear on the computer where the app attempted to make changes to a protected folder. You can customize the notification with your company details and contact information. You can also enable the rules individually to customize what techniques the feature monitors.
You can use audit mode to evaluate how controlled folder access would impact your organization if it were enabled. You can also visit the Windows Defender Testground website at demo.wd.microsoft.com to confirm the feature is working and see how it works.
Controlled folder access is supported on Windows 10, version 1709 and later and Windows Server 2019.
Controlled folder access requires enabling Windows Defender Antivirus real-time protection.
Review controlled folder access events in the Microsoft Defender ATP Security Center
Microsoft Defender ATP provides detailed reporting into events and blocks as part of its alert investigation scenarios.
You can query Microsoft Defender ATP data by using Advanced hunting. If you're using audit mode, you can use Advanced hunting to see how controlled folder access settings would affect your environment if they were enabled.
Here is an example query
MiscEvents | where ActionType in ('ControlledFolderAccessViolationAudited','ControlledFolderAccessViolationBlocked')
Review controlled folder access events in Windows Event Viewer
You can review the Windows event log to see events that are created when controlled folder access blocks (or audits) an app:
Download the Evaluation Package and extract the file cfa-events.xml to an easily accessible location on the machine.
Type Event viewer in the Start menu to open the Windows Event Viewer.
On the left panel, under Actions, click Import custom view....
Navigate to where you extracted cfa-events.xml and select it. Alternatively, copy the XML directly.
This will create a custom view that filters to only show the following events related to controlled folder access:
|5007||Event when settings are changed|
|1124||Audited controlled folder access event|
|1123||Blocked controlled folder access event|
In this section
|Evaluate controlled folder access||Use a dedicated demo tool to see how controlled folder access works, and what events would typically be created.|
|Enable controlled folder access||Use Group Policy, PowerShell, or MDM CSPs to enable and manage controlled folder access in your network|
|Customize controlled folder access||Add additional protected folders, and allow specified apps to access protected folders.|