Detections

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

10 detections

KQL Query from file: Detect Privilege Admin under AiTM attack
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
70127
KQL Query
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
7078
KQL Query from file: KQL URL Protection Report
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
4052
Expanding on DeviceEvents output with Attack Surface Reduction (ASR) rule descriptions.
The ActionType values of the ASR events already explain what rule was matched and if it was audited or blocked.
However, it could still be useful to have a more human-friendly description in the results.
Also, this query is a good example for how you could define your own lookup tables and join with them.
The events in the DeviceEvents table contain a GUID for the various ASR rules rather than a full description of the rule.
This query will create a table which has the description for each ASR rule as per https://docs.microsoft.com/windows/security/threat-protection/windows-defender-exploit-guard/enable-attack-surface-reduction.
This table is then joined to the output of a query against the DeviceEvents table and shows a summary count of the events by the newly defined description.
This query shows the ability to use joins and custom dimension tables.
See https://docs.loganalytics.io/docs/Language-Reference/Tabular-operators/join-operator for more information on the join syntax.
For more questions on this query, feel free to ping @FlyingBlueMonki on twitter or mattegen@microsoft.com via email.
First lets start by creating a table of the rule descriptions to rule guids.
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
4042
Simple query to show the unique network connections that were audited or blocked by ExploitGuard.
For more questions on this query, feel free to ping @FlyingBlueMonki on twitter or mattegen@microsoft.com via email.
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
1015
// Author: jan geisbauer
// @janvonkirchheim
// ------------------------
// 1. A list of all devices that have this vulnerability
// 2. A list of all users that uses those devices
// 3. If these users received .mkv files recently
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0014
Total Controlled Folder Access events.
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0014
Get stats on ExploitGuard blocks - count events and machines per rule.
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0013
These queries check telemetry from the Exploit Guard rule: Rule: Block Office applications from creating child processes.
(Rule ID d4f940ab-401b-4efc-aadc-ad5f3c50688a).
Read more about it here: https://docs.microsoft.com/windows/security/threat-protection/windows-defender-exploit-guard/attack-surface-reduction-exploit-guard.
Oftentimes organizations enable this rule in audit mode and check the results before setting block mode.
You can use query #2 to measure the rule impact on your network in audit mode before turning it to block mode.
Query #1 is used after setting it to block mode - to analyze the block stats.
Tags: #ASR.
Query #1: block stats.
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0011
Get stats on ExploitGuard blocks - count events and machines per rule.
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
1011