Successful Authentications From Countries You Do Not Operate Out Of


Description

Detect successful authentications from countries you do not operate out of.

Query · sigma

selection:
  resultType: 0
filter_main_known_location:
  location|contains|expand: '%Known_Location%'
condition: selection and not 1 of filter_main_*

Known false positives

  • Sometime connection to/from VPN, tunneling or cloud services can generate fps.
Raw source Successful Authentications From Countries You Do Not Operate Out Of · Sigma
Esc
Published by SigmaHQ/sigma ↗, licensed under Detection Rule License 1.1 ↗. Reproduced here unmodified.
title: Successful Authentications From Countries You Do Not Operate Out Of
id: 8c944ecb-6970-4541-8496-be554b8e2846
status: test
description: Detect successful authentications from countries you do not operate out of.
references:
    - https://learn.microsoft.com/en-gb/entra/architecture/security-operations-user-accounts
    - https://ishitasingh724.medium.com/cracking-kql-how-a-suspicious-login-alert-led-me-into-the-world-of-threat-hunting-and-the-10-kql-4ea6366ff0b3
author: MikeDuddington, '@dudders1'
date: 2022-07-28
modified: 2026-05-08
tags:
    - attack.privilege-escalation
    - attack.persistence
    - attack.initial-access
    - attack.credential-access
    - attack.stealth
    - attack.t1078.004
    - attack.t1110
logsource:
    product: azure
    service: signinlogs
detection:
    selection:
        resultType: 0
    filter_main_known_location:
        location|contains|expand: '%Known_Location%'
    condition: selection and not 1 of filter_main_*
falsepositives:
    - Sometime connection to/from VPN, tunneling or cloud services can generate fps.
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.