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

Ransomware Client Blocked

Back
Id0c96a5a2-d60d-427d-8399-8df7fe8e6536
RulenameRansomware Client Blocked
DescriptionIdentifies malicious clients blocked 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/RansomwareClientBlocked.yaml
Version1.0.2
Arm template0c96a5a2-d60d-427d-8399-8df7fe8e6536.json
Deploy To Azure
Syslog
| project TimeGenerated, Computer, SyslogMessage
| where SyslogMessage has "The Filer has enforced the mitigation policy on volume"
| extend SrcIpAddr = substring(SyslogMessage, indexof(SyslogMessage, "(")+1, indexof(SyslogMessage, ")") - indexof(SyslogMessage,"(")-1)
| extend volume_name = substring(SyslogMessage, indexof(SyslogMessage, "volume")+7, indexof(SyslogMessage,"and") - (indexof(SyslogMessage, "volume")+7))
| sort by TimeGenerated desc
queryFrequency: 5m
kind: Scheduled
customDetails:
  VolumeName: volume_name
status: Available
version: 1.0.2
relevantTechniques:
- T1486
incidentConfiguration:
  groupingConfiguration:
    reopenClosedIncident: false
    matchingMethod: AllEntities
    enabled: false
    lookbackDuration: PT5H
  createIncident: true
suppressionDuration: 5h
name: Ransomware Client Blocked
triggerThreshold: 0
suppressionEnabled: false
eventGroupingSettings:
  aggregationKind: AlertPerResult
query: |-
  Syslog
  | project TimeGenerated, Computer, SyslogMessage
  | where SyslogMessage has "The Filer has enforced the mitigation policy on volume"
  | extend SrcIpAddr = substring(SyslogMessage, indexof(SyslogMessage, "(")+1, indexof(SyslogMessage, ")") - indexof(SyslogMessage,"(")-1)
  | extend volume_name = substring(SyslogMessage, indexof(SyslogMessage, "volume")+7, indexof(SyslogMessage,"and") - (indexof(SyslogMessage, "volume")+7))
  | sort by TimeGenerated desc  
alertDetailsOverride:
  alertDescriptionFormat: Nasuni has blocked a client involved in a ransomware attack from accessing a Nasuni Edge Appliance at {{TimeGenerated}}
  alertnameFormat: 'Nasuni: Ransomware Client Blocked'
triggerOperator: gt
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Nasuni/Analytic Rules/RansomwareClientBlocked.yaml
requiredDataConnectors:
- connectorId: NasuniEdgeAppliance
  datatypes:
  - Syslog
- connectorId: SyslogAma
  datatypes:
  - Syslog
description: Identifies malicious clients blocked by the Ransomware Protection service running on a Nasuni Edge Appliance.
tactics:
- Impact
severity: High
id: 0c96a5a2-d60d-427d-8399-8df7fe8e6536
queryPeriod: 5m
entityMappings:
- fieldMappings:
  - columnName: SrcIpAddr
    identifier: Address
  entityType: IP
{
  "$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/0c96a5a2-d60d-427d-8399-8df7fe8e6536')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/0c96a5a2-d60d-427d-8399-8df7fe8e6536')]",
      "properties": {
        "alertDetailsOverride": {
          "alertDescriptionFormat": "Nasuni has blocked a client involved in a ransomware attack from accessing a Nasuni Edge Appliance at {{TimeGenerated}}",
          "alertnameFormat": "Nasuni: Ransomware Client Blocked"
        },
        "alertRuleTemplateName": "0c96a5a2-d60d-427d-8399-8df7fe8e6536",
        "customDetails": {
          "VolumeName": "volume_name"
        },
        "description": "Identifies malicious clients blocked by the Ransomware Protection service running on a Nasuni Edge Appliance.",
        "displayName": "Ransomware Client Blocked",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "IP",
            "fieldMappings": [
              {
                "columnName": "SrcIpAddr",
                "identifier": "Address"
              }
            ]
          }
        ],
        "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/RansomwareClientBlocked.yaml",
        "query": "Syslog\n| project TimeGenerated, Computer, SyslogMessage\n| where SyslogMessage has \"The Filer has enforced the mitigation policy on volume\"\n| extend SrcIpAddr = substring(SyslogMessage, indexof(SyslogMessage, \"(\")+1, indexof(SyslogMessage, \")\") - indexof(SyslogMessage,\"(\")-1)\n| extend volume_name = substring(SyslogMessage, indexof(SyslogMessage, \"volume\")+7, indexof(SyslogMessage,\"and\") - (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"
    }
  ]
}