Privilege Role Sign-In Outside Expected Controls


Description

Detects failed sign-in due to user not meeting expected controls for adminitrators

Query · sigma

selection:
  location|expand: '%UnLegitCountries%'
  callerIpAddress|expand: '%UnApprovedIp%'
  properties.deviceDetail.deviceId|expand: '%UnApprovedDevice%'
filter_main_success:
  resultType: 0
condition: selection and not 1 of filter_main_*

Known false positives

  • Unknown
Raw source Privilege Role Sign-In Outside Expected Controls · Sigma
Esc
Published by SigmaHQ/sigma ↗, licensed under Detection Rule License 1.1 ↗. Reproduced here unmodified.
title: Privilege Role Sign-In Outside Expected Controls
id: cf1e5687-84e1-41af-97a9-158094efef53
status: test
description: Detects failed sign-in due to user not meeting expected controls for adminitrators
references:
    - https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/security-operations-privileged-accounts#things-to-monitor
author: Mark Morowczynski '@markmorow', Yochana Henderson, '@Yochana-H'
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: signinlogs
detection:
    # You have to tune the rule for your environment before use it
    selection:
        # Countries you do NOT operate out of e,g GB, use list for mulitple
        location|expand: '%UnLegitCountries%'
        callerIpAddress|expand: '%UnApprovedIp%'
        # unapproved browser, operating system
        properties.deviceDetail.deviceId|expand: '%UnApprovedDevice%'
    filter_main_success:
        resultType: 0
    condition: selection and not 1 of filter_main_*
falsepositives:
    - Unknown
level: high

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.