← Back to SOC feed Coverage →

ARS Ransomware Event triggered

kql MEDIUM Azure-Sentinel
T1486
DeviceEvents
backdoorhuntingmicrosoftofficialransomware
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-25T11:00:00Z · Confidence: medium

Hunt Hypothesis

The hypothesis is that an adversary is attempting to encrypt files and trigger Azure Security Center’s ransomware detection mechanisms to evade initial detection. SOC teams should proactively hunt for this behavior in Azure Sentinel to identify potential ransomware activity early and prevent data loss.

KQL Query

DeviceEvents
| where Timestamp > ago(30d)
| where ActionType has_any ('AsrRansomwareBlocked', 'AsrRansomwareAudited')
| summarize arg_max(Timestamp, *), TotalEvents = count(), TriggeredFiles = make_set(FileName),FileHashes = make_set(SHA1),
IntiatingProcesses = make_set(InitiatingProcessCommandLine) by DeviceName, AccountName
| project Timestamp, DeviceName, AccountDomain, AccountName, TotalEvents, TriggeredFiles, FileHashes, IntiatingProcesses

Analytic Rule Definition

id: ff9a1b12-e446-44ff-a576-7f53caa32044
name: ARS Ransomware Event triggered
description: |
  This rule detects when the ASR rule AsrRansomwareBlocked or AsrRansomwareAudited is triggered.
  No alert is generated by default. This could be the start of a ransomware attack. 
  Additional information available by Microsoft: 
  https://docs.microsoft.com/microsoft-365/security/defender-endpoint/attack-surface-reduction-rules-reference?view=o365-worldwide#use-advanced-protection-against-ransomware
requiredDataConnectors:
- connectorId: MicrosoftThreatProtection
  dataTypes:
  - DeviceEvents
tactics:
- Ransomware
relevantTechniques:
  - T1486
query: |
  DeviceEvents
  | where Timestamp > ago(30d)
  | where ActionType has_any ('AsrRansomwareBlocked', 'AsrRansomwareAudited')
  | summarize arg_max(Timestamp, *), TotalEvents = count(), TriggeredFiles = make_set(FileName),FileHashes = make_set(SHA1),
  IntiatingProcesses = make_set(InitiatingProcessCommandLine) by DeviceName, AccountName
  | project Timestamp, DeviceName, AccountDomain, AccountName, TotalEvents, TriggeredFiles, FileHashes, IntiatingProcesses
entityMappings:
  - entityType: Account
    fieldMappings:
      - identifier: FullName
        columnName: AccountName 
  - entityType: Host
    fieldMappings:
      - identifier: HostName
        columnName: DeviceName 

Required Data Sources

Sentinel TableNotes
DeviceEventsEnsure this data connector is enabled

MITRE ATT&CK Context

References

False Positive Guidance

Original source: https://github.com/Azure/Azure-Sentinel/blob/main/Hunting Queries/Microsoft 365 Defender/Ransomware/ASR--Rule-Ransomware-triggered.yaml