Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions Detections/OfficeActivity/MultipleTeamsDeletes.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
id: 173f8699-6af5-484a-8b06-8c47ba89b380
name: Multiple Teams deleted by a single user
description: |
'This detection flags the occurrences of deleting multiple teams within an hour.
This data is a part of Office 365 Connector in Azure Sentinel.'
tactics:
Comment thread
samikroy marked this conversation as resolved.
- Impact
relevantTechniques:
- T1485
- T1489
query: |

// Adjust this value to change how many Teams should be deleted before including
let max_delete = 3;
// Adjust this value to change the timewindow the query runs over
let time_window = 1d;
OfficeActivity
| where OfficeWorkload == "MicrosoftTeams"
| where TimeGenerated > ago(time_window)
Comment thread
samikroy marked this conversation as resolved.
Outdated
| where Operation =~ "MemberAdded"
Comment thread
samikroy marked this conversation as resolved.
Outdated
| summarize make_set(ItemName) by UserId
Comment thread
samikroy marked this conversation as resolved.
Outdated
| where set_ItemName > max_delete
Comment thread
samikroy marked this conversation as resolved.
Outdated
| extend AccountCustomEntity = UserId
Comment thread
samikroy marked this conversation as resolved.
Outdated