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