Detection rules › Kusto

GWorkspace - An Outbound Relay has been added to a G Suite Domain

Status
available
Severity
medium
Time window
1h
Source
github.com/Azure/Azure-Sentinel

Detects outbound relays may be added to collect email.

MITRE ATT&CK coverage

TacticTechniques
Collection

Telemetry coverage

Rule body

id: ead87cd6-5da7-11ec-bf63-0242ac130002
name: GWorkspace - An Outbound Relay has been added to a G Suite Domain
description: |
  'Detects outbound relays may be added to collect email.'
severity: Medium
status: Available
requiredDataConnectors:
  - connectorId: GoogleWorkspaceReportsAPI
    dataTypes:
      - GWorkspaceActivityReports
queryFrequency: 1h
queryPeriod: 1h
triggerOperator: gt
triggerThreshold: 0
tactics:
  - Collection
relevantTechniques:
  - T1114
query: |
  GWorkspaceActivityReports
  | where EventMessage has "TOGGLE_OUTBOUND_RELAY"
  | extend AccountCustomEntity = ActorEmail
entityMappings:
  - entityType: Account
    fieldMappings:
      - identifier: Name
        columnName: AccountCustomEntity
version: 1.0.1
kind: Scheduled

Stages and Predicates

Stage 1: source

GWorkspaceActivityReports

Stage 2: where

| where EventMessage has "TOGGLE_OUTBOUND_RELAY"

Stage 3: extend

| extend AccountCustomEntity = ActorEmail

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
EventMessagematch
  • TOGGLE_OUTBOUND_RELAY transforms: term
field:"EventMessage" kind:match value:"TOGGLE_OUTBOUND_RELAY"

Output fields

These fields are emitted when the rule matches.

FieldSource
AccountCustomEntityextend