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
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.1
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
id: 6c8770fb-c854-403e-a64d-0293ba344d5f
triggerThreshold: 0
eventGroupingSettings:
  aggregationKind: AlertPerResult
suppressionEnabled: false
severity: High
customDetails:
  VolumeName: volume_name
entityMappings:
- fieldMappings:
  - identifier: Name
    columnName: pattern
  entityType: Malware
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Nasuni/Analytic Rules/RansomwareAttackDetected.yaml
relevantTechniques:
- T1486
requiredDataConnectors:
- connectorId: NasuniEdgeAppliance
  datatypes:
  - Syslog
alertDetailsOverride:
  alertDynamicProperties:
  - value: SyslogMessage
    alertProperty: RemediationSteps
  alertDescriptionFormat: Ransomware attack detected by Nasuni at {{TimeGenerated}}.
  alertnameFormat: 'Nasuni: Ransomware Attack Detected'
version: 1.0.1
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  
queryPeriod: 5m
triggerOperator: gt
tactics:
- Impact
incidentConfiguration:
  groupingConfiguration:
    enabled: false
    matchingMethod: AllEntities
    lookbackDuration: PT5H
    reopenClosedIncident: false
  createIncident: true
suppressionDuration: 5h
status: Available
description: Identifies ransomware attacks detected by the Ransomware Protection service running on a Nasuni Edge Appliance.
name: Ransomware Attack Detected
kind: Scheduled
queryFrequency: 5m
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workspace": {
      "type": "String"
    }
  },
  "resources": [
    {
      "apiVersion": "2023-02-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",
        "suppressionDuration": "PT5H",
        "suppressionEnabled": false,
        "tactics": [
          "Impact"
        ],
        "techniques": [
          "T1486"
        ],
        "templateVersion": "1.0.1",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}