← Back to SOC feed Coverage →

ExploitGuardControlledFolderAccess (2)

kql MEDIUM Azure-Sentinel
DeviceEvents
exploithuntingmicrosoftofficial
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at Azure-Sentinel →
Retrieved: 2026-05-24T23:00:00Z · Confidence: medium

Hunt Hypothesis

Attackers may be attempting to bypass Controlled Folder Access by exploiting misconfigurations or evasion tactics, which could indicate a broader persistence or data exfiltration strategy. SOC teams should proactively hunt for this behavior in Azure Sentinel to identify potential adversary activity that could evade standard endpoint protections.

KQL Query

// Exploit Guard Controlled Folder Access details
DeviceEvents 
| where ActionType contains "ControlledFolderAccess"
| extend JsonOut = parse_json(AdditionalFields)
| sort by Timestamp desc 
| project Timestamp, DeviceName, InitiatingProcessAccountName, ActionType,  
         FileName, FolderPath, RemoteUrl, ProcessCommandLine, InitiatingProcessCommandLine,
         JsonOut.IsAudit,JsonOut.Uri,JsonOut.RuleId,JsonOut.ActivityId

Analytic Rule Definition

id: 01dacb6d-4964-42a5-b248-516fc40d605d
name: ExploitGuardControlledFolderAccess (2)
description: |
  Total Controlled Folder Access events.
requiredDataConnectors:
- connectorId: MicrosoftThreatProtection
  dataTypes:
  - DeviceEvents
query: |
  // Exploit Guard Controlled Folder Access details
  DeviceEvents 
  | where ActionType contains "ControlledFolderAccess"
  | extend JsonOut = parse_json(AdditionalFields)
  | sort by Timestamp desc 
  | project Timestamp, DeviceName, InitiatingProcessAccountName, ActionType,  
           FileName, FolderPath, RemoteUrl, ProcessCommandLine, InitiatingProcessCommandLine,
           JsonOut.IsAudit,JsonOut.Uri,JsonOut.RuleId,JsonOut.ActivityId

Required Data Sources

Sentinel TableNotes
DeviceEventsEnsure this data connector is enabled

References

False Positive Guidance

Original source: https://github.com/Azure/Azure-Sentinel/blob/main/Hunting Queries/Microsoft 365 Defender/Protection events/ExploitGuardControlledFolderAccess (2).yaml