Detection rules › Kusto

Stale last password change

Status
available
Severity
low
Time window
6h
Source
github.com/Azure/Azure-Sentinel

'This query searches for stale last password change'

MITRE ATT&CK coverage

TacticTechniques
Initial Access

Rule body

id: 645A8724-5C7E-4A1F-81CB-C33AFF1439EB
name: Stale last password change
description: |
  'This query searches for stale last password change'
severity: Low
status: Available
requiredDataConnectors:
  - connectorId: SenservaPro
    dataTypes:
      - SenservaPro_CL
queryFrequency: 6h
queryPeriod: 6h
triggerOperator: gt
triggerThreshold: 0
tactics:
  - InitialAccess
relevantTechniques:
  - T1566
query: |
  SenservaPro_CL
  | where ControlName_s == 'UserStaleLastPasswordChange'
entityMappings:
  - entityType: Account
    fieldMappings:
      - identifier: Name
        columnName: ControlName_s
      - identifier: AadTenantId
        columnName: TenantId
      - identifier: DisplayName
        columnName: TenantDisplayName_s 
  - entityType: SecurityGroup
    fieldMappings:
      - identifier: DistinguishedName
        columnName: Group_s
  - entityType: AzureResource
    fieldMappings:
      - identifier: ResourceId
        columnName: SourceSystem 
version: 1.0.0
kind: Scheduled

Stages and Predicates

Stage 1: source

SenservaPro_CL

Stage 2: where

| where ControlName_s == 'UserStaleLastPasswordChange'

Indicators

These rows show field, operator, and value matches.