Detection rules › Kusto

RSA ID Plus - Locked Administrator Account Detected

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

'Raises an alert when an admin account is locked out of the Admin console (RSAIDPlus Admin Events).'

MITRE ATT&CK coverage

TacticTechniques
Credential AccessNo specific technique
ImpactNo specific technique

Rule body kusto

id: "488c759d-a82e-44cd-91bb-d766573918d7"
name: "RSA ID Plus - Locked Administrator Account Detected"
description: |
  'Raises an alert when an admin account is locked out of the Admin console (RSAIDPlus Admin Events).'
severity: Medium
status: Available
requiredDataConnectors:
  - connectorId: RSAIDPlus_AdminLogs_Connector
    dataTypes:
      - RSAIDPlus_AdminLogs_CL
queryFrequency: 30m
queryPeriod: 1d
triggerOperator: GreaterThan
triggerThreshold: 0
tactics: 
  - Impact
  - CredentialAccess
relevantTechniques: []
query: |
    RSAIDPlus_AdminLogs_CL
    |where activityKey == 'LOCKED_ADMIN_ACCOUNT'
    |project TimeGenerated, customerName, adminUserName, adminUserRole, activityKey, sourceIPAddress
entityMappings: 
  - entityType: IP
    fieldMappings:
      - identifier: Address
        columnName: sourceIPAddress
  - entityType: Account
    fieldMappings: 
      - identifier: Name
        columnName: adminUserName
  - entityType: Host
    fieldMappings:
      - identifier: HostName
        columnName: customerName
incidentConfiguration:
    createIncident: true
    groupingConfiguration : 
      enabled: true
      reopenClosedIncident: false
      lookbackDuration : 2h
      matchingMethod : AllEntities
eventGroupingSettings:
    aggregationKind: SingleAlert
alertDetailsOverride:
    alertDisplayNameFormat: 'RSA ID Plus Administrator - {{{adminUserName}} is locked out.'
    alertDescriptionFormat: 'Administrator - {{{adminUserName}} with Role - {{{adminUserRole}} got locked out of Admin Console at: {{{TimeGenerated}}'
customDetails:
    Customer_Name: customerName
    Administrator: adminUserName
    Administrator_Type: adminUserRole
    Activity: activityKey
version: 1.0.0
kind: Scheduled

Stages and Predicates

Stage 1: source

RSAIDPlus_AdminLogs_CL

Stage 2: where

| where activityKey == 'LOCKED_ADMIN_ACCOUNT'

Stage 3: project

| project TimeGenerated, customerName, adminUserName, adminUserRole, activityKey, sourceIPAddress

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
activityKeyeq
  • LOCKED_ADMIN_ACCOUNT transforms: cased

Output fields

Fields the rule emits when it matches. Chronicle authors list these in the outcome block; they appear on the detection and $risk_score drives alerting. Sentinel / Defender XDR rules build them up through project / summarize / extend stages. Sentinel maps these into alert fields via entityMappings and customDetails; Defender XDR custom detections surface them as alert fields directly.

FieldSource
TimeGeneratedproject
activityKeyproject
adminUserNameproject
adminUserRoleproject
customerNameproject
sourceIPAddressproject