Account Created And Deleted By Non Approved Users


Description

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

Query · sigma

selection:
  properties.message:
  - Add user
  - Delete user
  Status: Sucess
valid_admin:
  Initiatied.By|expand: '%ApprovedUserUpn%'
condition: selection and not valid_admin

Known false positives

  • Legit administrative action
Raw source Account Created And Deleted By Non Approved Users · Sigma
Esc
Published by SigmaHQ/sigma ↗, licensed under Detection Rule License 1.1 ↗. Reproduced here unmodified.
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

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.