Sign Ins by UserAgent


Description

This query can be used to detect rare UserAgents that are used to sign into your tenant. Those rare UserAgents can be used for malicious acces into your tenant.

The query can be extended by filtering on succesful and failed sign ins.

Query · kql

AADSignInEventsBeta
| summarize count() by UserAgent
| sort by count_
Raw source Sign Ins by UserAgent · KQL
Esc
Published by Bert-JanP/Hunting-Queries-Detection-Rules ↗, licensed under BSD 3-Clause ↗. Reproduced here unmodified.
# Sign Ins by UserAgent

## Query Information

#### Description
This query can be used to detect rare UserAgents that are used to sign into your tenant. Those rare UserAgents can be used for malicious acces into your tenant.

The query can be extended by filtering on succesful and failed sign ins. 

## Defender XDR
```KQL
AADSignInEventsBeta
| summarize count() by UserAgent
| sort by count_
```

## Sentinel
```KQL
SigninLogs
| summarize count() by UserAgent
| sort by count_
```

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.