Detection rules › Kusto

Ransom Protect Detected a Ransomware Attack

Status
available
Severity
high
Source
github.com/Azure/Azure-Sentinel

Monitors CTERA platform to detect potential ransomware attacks detected by CTERA Ransom Protect AI engine.

MITRE ATT&CK coverage

TacticTechniques
Impact

Rule body

id: 7a075edf-1cf2-4038-ba9c-c354db6409de
name: Ransom Protect Detected a Ransomware Attack
description: 'Monitors CTERA platform to detect potential ransomware attacks detected by CTERA Ransom Protect AI engine.'
severity: High
status: Available
kind: NRT                    # Set to NRT for near real-time alerting
requiredDataConnectors:
  - connectorId: CTERA
    dataTypes:
      - Syslog
tactics:
  - Impact
relevantTechniques:
  - T1486
query: |
    Syslog
    | where SyslogMessage contains "Ransomware incident detected"
    | extend 
    Portal = extract("portal:(\\w+)", 1, SyslogMessage),
    EdgeFiler = extract("Edge Filer:(\\w+-\\d+)", 1, SyslogMessage),
    IP = extract("\\(IP:([0-9.]+)\\)", 1, SyslogMessage),
    User = extract("user:(\\w+)", 1, SyslogMessage),
    IncidentType = extract("Incident type:(\\w+)", 1, SyslogMessage),
    StartTime = extract("started at \"([^\"]+)\"", 1, SyslogMessage),
    EndTime = extract("ended at \"([^\"]+)\"", 1, SyslogMessage)
    | project TimeGenerated, Portal, EdgeFiler, IP, User, IncidentType, StartTime, EndTime
suppressionDuration: PT5H
suppressionEnabled: false
incidentConfiguration:
  createIncident: true
  groupingConfiguration:
    enabled: false
    reopenClosedIncident: false
    lookbackDuration: PT5H
    matchingMethod: AllEntities
eventGroupingSettings:
  aggregationKind: SingleAlert
alertDetailsOverride:
  alertnameFormat: 'CTERA Ransom Protect Detected a Ransomware Attack.'
  alertDescriptionFormat: CTERA Ransom Protect Detected a Ransomware Attack at {{TimeGenerated}}.
customDetails:
  EdgeFiler: EdgeFiler
entityMappings:
  - entityType: Host
    fieldMappings:
      - identifier: HostName
        columnName: EdgeFiler
version: 1.0.2

Stages and Predicates

Stage 1: source

Syslog

Stage 2: where

| where SyslogMessage contains "Ransomware incident detected"

Stage 3: extend

| extend 
Portal = extract("portal:(\\w+)", 1, SyslogMessage),
EdgeFiler = extract("Edge Filer:(\\w+-\\d+)", 1, SyslogMessage),
IP = extract("\\(IP:([0-9.]+)\\)", 1, SyslogMessage),
User = extract("user:(\\w+)", 1, SyslogMessage),
IncidentType = extract("Incident type:(\\w+)", 1, SyslogMessage),
StartTime = extract("started at \"([^\"]+)\"", 1, SyslogMessage),
EndTime = extract("ended at \"([^\"]+)\"", 1, SyslogMessage)

Stage 4: project

| project TimeGenerated, Portal, EdgeFiler, IP, User, IncidentType, StartTime, EndTime

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
SyslogMessagecontains
  • Ransomware incident detected
field:"SyslogMessage" kind:contains value:"Ransomware incident detected"

Output fields

These fields are emitted when the rule matches.

FieldSource
EdgeFilerproject
EndTimeproject
IPproject
IncidentTypeproject
Portalproject
StartTimeproject
TimeGeneratedproject
Userproject