Rules for T1052
How the 3 rules tagged with T1052 are built: the tables they read, what they filter, how they join, and when they run. The most used of each; every rule is listed below.
Sub-techniques: T1052.001
Tables and parsers
DeviceEvents 3DeviceFileEvents 3DataverseActivity 2DeviceInfo 2CloudAppEvents 1MSBizAppsTerminatedEmployees 1SecurityAlert 1
Filtered columns
DeviceEvents.ActionTypeUsbDriveMounted3CloudAppEvents.ActionTypeFileDownloaded1DeviceFileEvents.ActionTypeFileCreated1FileRenamed1SecurityAlert.AlertNamemass download by a single user1SecurityAlert.Status
Joins
DeviceEvents ⋈ DeviceFileEventsDataverseActivity ⋈ DeviceEventsDataverseActivity ⋈ DeviceFileEventsDataverseActivity ⋈ DeviceInfoDeviceEvents ⋈ DeviceInfoDeviceFileEvents ⋈ DeviceInfoCloudAppEvents ⋈ DeviceEventsCloudAppEvents ⋈ DeviceFileEventsCloudAppEvents ⋈ SecurityAlertDataverseActivity ⋈ MSBizAppsTerminatedEmployeesDeviceEvents ⋈ MSBizAppsTerminatedEmployeesDeviceEvents ⋈ SecurityAlertDeviceFileEvents ⋈ MSBizAppsTerminatedEmployeesDeviceFileEvents ⋈ SecurityAlertDeviceInfo ⋈ MSBizAppsTerminatedEmployees
Idioms
make_set 3arg_max (latest or earliest row per key) 2dcount 1mv-expand (unpack arrays) 1
Severity
High 1Medium 1
Schedules (analytic rules)
every 1d over 1d 1every 1h over 14d 1
Every rule tagged with it
- Mass Download & copy to USB device by single user
- Dataverse - Terminated employee exfiltration to USB drive
- Dataverse - Dataverse export copied to USB devices
Rules are from Azure/Azure-Sentinel (MIT licence) at commit 9ea9f7c. VeriKQL stores facts its parser read from each rule and links the rule; it does not copy rule text. Counts are what the rules do: practice, not guidance, and not Microsoft's recommendation.