Microsoft Sentinel Analytic Rules
cloudbrothers.infoAzure Sentinel RepoToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

Ransomware Attack Detected

Back
Id6c8770fb-c854-403e-a64d-0293ba344d5f
RulenameRansomware Attack Detected
DescriptionIdentifies ransomware attacks detected by the Ransomware Protection service running on a Nasuni Edge Appliance.
SeverityHigh
TacticsImpact
TechniquesT1486
Required data connectorsNasuniEdgeAppliance
SyslogAma
KindScheduled
Query frequency5m
Query period5m
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Nasuni/Analytic Rules/RansomwareAttackDetected.yaml
Version1.0.2
Arm template6c8770fb-c854-403e-a64d-0293ba344d5f.json
Deploy To Azure
Syslog
| project TimeGenerated, Computer, SyslogMessage
| where SyslogMessage has "The Filer has detected a new ransomware attack"
| extend pattern = substring(SyslogMessage, indexof(SyslogMessage, "(")+1, indexof(SyslogMessage, ")") - indexof(SyslogMessage,"(")-1)
| extend volume_name = substring(SyslogMessage, indexof(SyslogMessage, "volume")+7, indexof(SyslogMessage,". Visit") - (indexof(SyslogMessage, "volume")+7))
| sort by TimeGenerated desc
relevantTechniques:
- T1486
incidentConfiguration:
  createIncident: true
  groupingConfiguration:
    lookbackDuration: PT5H
    enabled: false
    reopenClosedIncident: false
    matchingMethod: AllEntities
name: Ransomware Attack Detected
requiredDataConnectors:
- datatypes:
  - Syslog
  connectorId: NasuniEdgeAppliance
- datatypes:
  - Syslog
  connectorId: SyslogAma
entityMappings:
- fieldMappings:
  - identifier: Name
    columnName: pattern
  entityType: Malware
triggerThreshold: 0
id: 6c8770fb-c854-403e-a64d-0293ba344d5f
tactics:
- Impact
version: 1.0.2
customDetails:
  VolumeName: volume_name
alertDetailsOverride:
  alertDynamicProperties:
  - alertProperty: RemediationSteps
    value: SyslogMessage
  alertnameFormat: 'Nasuni: Ransomware Attack Detected'
  alertDescriptionFormat: Ransomware attack detected by Nasuni at {{TimeGenerated}}.
queryPeriod: 5m
kind: Scheduled
eventGroupingSettings:
  aggregationKind: AlertPerResult
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Nasuni/Analytic Rules/RansomwareAttackDetected.yaml
suppressionDuration: 5h
queryFrequency: 5m
severity: High
status: Available
suppressionEnabled: false
description: Identifies ransomware attacks detected by the Ransomware Protection service running on a Nasuni Edge Appliance.
query: |-
  Syslog
  | project TimeGenerated, Computer, SyslogMessage
  | where SyslogMessage has "The Filer has detected a new ransomware attack"
  | extend pattern = substring(SyslogMessage, indexof(SyslogMessage, "(")+1, indexof(SyslogMessage, ")") - indexof(SyslogMessage,"(")-1)
  | extend volume_name = substring(SyslogMessage, indexof(SyslogMessage, "volume")+7, indexof(SyslogMessage,". Visit") - (indexof(SyslogMessage, "volume")+7))
  | sort by TimeGenerated desc  
triggerOperator: gt
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workspace": {
      "type": "String"
    }
  },
  "resources": [
    {
      "apiVersion": "2024-01-01-preview",
      "id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/6c8770fb-c854-403e-a64d-0293ba344d5f')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/6c8770fb-c854-403e-a64d-0293ba344d5f')]",
      "properties": {
        "alertDetailsOverride": {
          "alertDescriptionFormat": "Ransomware attack detected by Nasuni at {{TimeGenerated}}.",
          "alertDynamicProperties": [
            {
              "alertProperty": "RemediationSteps",
              "value": "SyslogMessage"
            }
          ],
          "alertnameFormat": "Nasuni: Ransomware Attack Detected"
        },
        "alertRuleTemplateName": "6c8770fb-c854-403e-a64d-0293ba344d5f",
        "customDetails": {
          "VolumeName": "volume_name"
        },
        "description": "Identifies ransomware attacks detected by the Ransomware Protection service running on a Nasuni Edge Appliance.",
        "displayName": "Ransomware Attack Detected",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "Malware",
            "fieldMappings": [
              {
                "columnName": "pattern",
                "identifier": "Name"
              }
            ]
          }
        ],
        "eventGroupingSettings": {
          "aggregationKind": "AlertPerResult"
        },
        "incidentConfiguration": {
          "createIncident": true,
          "groupingConfiguration": {
            "enabled": false,
            "lookbackDuration": "PT5H",
            "matchingMethod": "AllEntities",
            "reopenClosedIncident": false
          }
        },
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Nasuni/Analytic Rules/RansomwareAttackDetected.yaml",
        "query": "Syslog\n| project TimeGenerated, Computer, SyslogMessage\n| where SyslogMessage has \"The Filer has detected a new ransomware attack\"\n| extend pattern = substring(SyslogMessage, indexof(SyslogMessage, \"(\")+1, indexof(SyslogMessage, \")\") - indexof(SyslogMessage,\"(\")-1)\n| extend volume_name = substring(SyslogMessage, indexof(SyslogMessage, \"volume\")+7, indexof(SyslogMessage,\". Visit\") - (indexof(SyslogMessage, \"volume\")+7))\n| sort by TimeGenerated desc",
        "queryFrequency": "PT5M",
        "queryPeriod": "PT5M",
        "severity": "High",
        "status": "Available",
        "subTechniques": [],
        "suppressionDuration": "PT5H",
        "suppressionEnabled": false,
        "tactics": [
          "Impact"
        ],
        "techniques": [
          "T1486"
        ],
        "templateVersion": "1.0.2",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}