Query Details

Successfully sign-in from privileged user with password authentication (no password-less sign-in)

None Passwordless Authentication From Privileged Identities

Query

_GetWatchlist('IdentityCorrelation')
| extend UserPrincipalName = "Associated Privileged Account"
| join
(
union AADNonInteractiveUserSignInLogs, SigninLogs
| where AuthenticationDetails contains "Password" and ResultType == "0"
) on $left.UserPrincipalName == $right.UserPrincipalName
| extend timestamp = TimeGenerated, AccountCustomEntity = UserPrincipalName

Explanation

This query searches for successful sign-ins from privileged users using password authentication. It uses the Sentinel Watchlist to search for password-based authentication without FIDO2 or WHfB sign-in. The query connects to Azure Active Directory and retrieves SigninLogs and AADNonInteractiveUserSignInLogs data. It runs once a day and looks for events within the past day. The query is triggered when the number of events is greater than 0. The query is relevant to the Initial Access and Credential Access tactics and uses techniques T1078 and T1110. The query joins the Watchlist data with the sign-in logs based on the UserPrincipalName and extends the results with additional fields. The query maps the results to the Account entity using the UserPrincipalName as the identifier.

Details

Thomas Naunheim profile picture

Thomas Naunheim

Released: August 23, 2023

Tables

AADNonInteractiveUserSignInLogsSigninLogs

Keywords

DevicesIntuneUser

Operators

idnamedescriptionseverityrequiredDataConnectorsqueryFrequencyqueryPeriodtriggerOperatortriggerThresholdtacticsrelevantTechniquesqueryentityMappingsversionkindextendjoinunionwherecontainsandon$left$right.

Severity

Medium

Tactics

InitialAccessCredentialAccess

MITRE Techniques

Frequency: 1d

Period: 1d

Actions

GitHub