Detections

Explore public detection logic contributed by the community across SIEM and rule languages.

21 detections

KQL Query from file: Detect Microsoft Graph API Abuse
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
130173
KQL Query from file: NEW Real-time Anomalous Token Detection
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
50131
KQL Query from file: Detect Privilege Admin under AiTM attack
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
70127
KQL Query from file: BadSuccessor Detection
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
50102
KQL Query from file: Hunting fasthttp Bruteforce Campaign
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
3093
KQL Query from file: Entra Admin Roles Query
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
4084
KQL Query from file: Azure AI Security Finding Report
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
4079
KQL Query
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
3051
'Identifies an export of the ADFS DKM Master Key from Active Directory.
References: https://blogs.microsoft.com/on-the-issues/2020/12/13/customers-protect-nation-state-cyberattacks/,
https://www.fireeye.com/blog/threat-research/2020/12/evasive-attacker-leverages-solarwinds-supply-chain-compromises-with-sunburst-backdoor.html?1
To understand further the details behind this detection, please review the details in the original PR and subequent PR update to this:
https://github.com/Azure/Azure-Sentinel/pull/1562#issue-551542469
https://github.com/Azure/Azure-Sentinel/pull/1512#issue-543053339
'
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
2065
'Identifies accounts that have been added to a PIM managed privileged group'
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
2045
'Looks for multiple users that had their admin role removed by a single user within a certain period.
The default threshold is 5 removals, this can be edited in the query.'
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
2044
This query shows all modifications to highly sensitive active directory groups (also known as Tier 0). An example of these groups include Domain Admins, Schema Admins and Enterprise Admins.
More info can be found here:
https://docs.microsoft.com/security/compass/privileged-access-access-model#evolution-from-the-legacy-ad-tier-model
https://docs.microsoft.com/windows-server/identity/ad-ds/plan/security-best-practices/appendix-c--protected-accounts-and-groups-in-active-directory
This advanced hunting query requires Defender for Identity be deployed due to it's reliance on the IdentityDirectoryEvents table.
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
5041
Detect multiple Active Directory LDAP queries made in bin time
Replace 10 on line 1 with your desired thershold
Replace 1m on line 2 with your desired bin time
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
1038
'This query detects domain user accounts creation (event ID 4720) where the username ends with $.
Accounts that end with $ are normally domain computer accounts and when they are created the event ID 4741 is generated instead.
Ref: https://blog.menasec.net/2019/02/threat-hunting-6-hiding-in-plain-sights.html'
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
1038
'This query looks for accounts being created that do not have attributes populated that are commonly populated in the tenant.
Attackers may attempt to add accounts as a means of establishing persistant access to an environment, looking for anomalies in created accounts may help identify illegitimately created accounts.
Created accounts should be investigated to ensure they were legitimated created.
Ref: https://docs.microsoft.com/azure/active-directory/fundamentals/security-operations-user-accounts#accounts-not-following-naming-policies'
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
1033
'Detects a successful logon by a privileged account from an ASN not logged in from in the last 14 days.
Monitor these logons to ensure they are legitimate and identify if there are any similar sign ins.'
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0030
'Identifies the host and account that executed AdFind by hash and filename in addition to common and unique flags that are used by many threat actors in discovery.
To use this analytics rule, make sure you have deployed the [ASIM normalization parsers](https://aka.ms/ASimProcessEvent)'
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
1029
// Detect Active Directory service accounts that are not active because their last logon was more than 14 days ago
// Replace XXX on line 4 with the naming convention start of your Active Directory service accounts
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
3024
'This query looks at the last 14 days for "Consent to application" operation by a user/app which could potentially mean unauthorized access. Additional context is added from AuditLogs based on CorrleationId from the same account that performed the action.'
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0023
'Example query for SigninLogs showing how to break out packed fields. In this case extending conditional access Policies '
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0022
The following query detects possible CVE-2021-42278 exploitation by finding changes of device names in the network using Microsoft Defender for Identity
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0016