Detection rules › Kusto

Sentinel One - Same custom rule triggered on different hosts

Status
available
Severity
high
Time window
15m
Group by
RuleName
Source
github.com/Azure/Azure-Sentinel

'Detects when same custom rule was triggered on different hosts.'

MITRE ATT&CK coverage

Rule body

id: 5586d378-1bce-4d9b-9ac8-e7271c9d5a9a
name: Sentinel One - Same custom rule triggered on different hosts
description: |
  'Detects when same custom rule was triggered on different hosts.'
severity: High
status: Available
requiredDataConnectors:
  - connectorId: SentinelOne
    dataTypes:
      - SentinelOne
queryFrequency: 1h
queryPeriod: 1h
triggerOperator: gt
triggerThreshold: 0
tactics:
  - InitialAccess
  - LateralMovement
relevantTechniques:
  - T1190
  - T1210
query: | 
  SentinelOne
  | where ActivityType == 3608
  | extend RuleName = extract(@'Custom Rule:\s(.*?)\sin Group', 1, EventOriginalMessage)
  | extend DstHostname = extract(@'detected on\s(\S+)\.', 1, EventOriginalMessage)
  | summarize hosts = makeset(DstHostname) by RuleName, bin(TimeGenerated, 15m)
  | where array_length(hosts) > 1
  | extend HostCustomEntity = hosts
entityMappings:
  - entityType: Host
    fieldMappings:
      - identifier: HostName
        columnName: HostCustomEntity
version: 1.0.2
kind: Scheduled

Stages and Predicates

Stage 1: source

SentinelOne

Stage 2: where

| where ActivityType == 3608

Stage 3: extend

| extend RuleName = extract(@'Custom Rule:\s(.*?)\sin Group', 1, EventOriginalMessage)

Stage 4: extend

| extend DstHostname = extract(@'detected on\s(\S+)\.', 1, EventOriginalMessage)

Stage 5: summarize

| summarize hosts = makeset(DstHostname) by RuleName, bin(TimeGenerated, 15m)

Stage 6: where

| where array_length(hosts) > 1

Stage 7: extend

| extend HostCustomEntity = hosts

Indicators

These rows show field, operator, and value matches.

Output fields

These fields are emitted when the rule matches.

FieldSource
RuleNamesummarize
hostssummarize
HostCustomEntityextend