Sigma Rule Library

Account Created And Deleted By Non Approved Users

Detects accounts that are created or deleted by non-approved users.

View on GitHubOpen raw file

Detection logic

selection

properties.message:
  - Add user
  - Delete user
Status: Sucess

valid_admin

Initiatied.By|expand: "%ApprovedUserUpn%"

Condition

selection and not valid_admin

Raw YAML

title: Account Created And Deleted By Non Approved Users
id: c98184ba-4a27-4e10-b7b7-da48e71f4d25
status: test
description: Detects accounts that are created or deleted by non-approved users.
references:
    - https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/security-operations-user-accounts#short-lived-accounts
author: Mark Morowczynski '@markmorow', MikeDuddington, '@dudders1'
date: 2022-08-11
modified: 2023-12-15
tags:
    - attack.initial-access
    - attack.persistence
    - attack.privilege-escalation
    - attack.stealth
    - attack.t1078
logsource:
    product: azure
    service: auditlogs
detection:
    selection:
        properties.message:
            - Add user
            - Delete user
        Status: Sucess
    valid_admin:
        Initiatied.By|expand: '%ApprovedUserUpn%'
    condition: selection and not valid_admin
falsepositives:
    - Legit administrative action
level: medium

False positives

  • Legit administrative action

References

Similar rules