Skip to content

Detection : External User Added to Team and Immediately Uploads File - #3556

Merged
Shain (shainw) merged 5 commits into
Azure:masterfrom
samikroy:patch-14
Dec 30, 2021
Merged

Detection : External User Added to Team and Immediately Uploads File#3556
Shain (shainw) merged 5 commits into
Azure:masterfrom
samikroy:patch-14

Conversation

@samikroy

Copy link
Copy Markdown
Contributor

Proposed Changes

This detection identifies an external user is added to a Team or Teams chat
and within 1 minute of being added upload a file via the chat.

This detection identifies an external user is added to a Team or Teams chat
 and within 1 minute of being added upload a file via the chat.
@ep3p

Copy link
Copy Markdown
Contributor

You may want to specify the kind of join to not lose events of the left table.

@samikroy

Copy link
Copy Markdown
Contributor Author

You may want to specify the kind of join to not lose events of the left table.

Thank you for the review Jose Sebastián Canós (@ep3p) .
Have added inner as a join kind to avoid default innerunique picking a random one.
Please let know further.

@shainw

Copy link
Copy Markdown
Contributor

Adding Pete Bryan (@petebryan) as he did the Hunting query that this is based on and he may have tested to see if this type of detection was too noisy for a detection - https://github.com/Azure/Azure-Sentinel/blob/master/Hunting%20Queries/OfficeActivity/UserAddToTeamsAndUploadsFile.yaml.. Pete Bryan (@petebryan) - thoughts?

@samikroy

Copy link
Copy Markdown
Contributor Author

Adding Pete Bryan (@petebryan) as he did the Hunting query that this is based on and he may have tested to see if this type of detection was too noisy for a detection - https://github.com/Azure/Azure-Sentinel/blob/master/Hunting%20Queries/OfficeActivity/UserAddToTeamsAndUploadsFile.yaml.. Pete Bryan (@petebryan) - thoughts?

Pete Bryan (@petebryan) - please share your thoughts

@petebryan

Copy link
Copy Markdown
Contributor

Samik Roy (@samikroy) so when I first created this we didn't have an official Teams connector publicly available yet so we had limited data to determine FP rate. However in the data did show this was potentially quite noisy. It would be good to re-evaluate to see if that is still the case.

@samikroy

Copy link
Copy Markdown
Contributor Author

Samik Roy (@samikroy) so when I first created this we didn't have an official Teams connector publicly available yet so we had limited data to determine FP rate. However in the data did show this was potentially quite noisy. It would be good to re-evaluate to see if that is still the case.

Agree Pete Bryan (@petebryan) , this detection now applies few more filters

External User Added > File Uploaded > File is accessed by many users > External user is removed.
Please have a look and let me know
Thank you.

shainw
Shain (shainw) previously approved these changes Dec 2, 2021

@shainw Shain (shainw) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did some testing and looks like looking only for #EXT# (external users) and checking for within 1m has very low results. Approving and we will watch if alerts start to flood for some customers.

@shainw Shain (shainw) added the Detection Detection specialty review needed label Dec 30, 2021
@shainw
Shain (shainw) merged commit bb976ea into Azure:master Dec 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Detection Detection specialty review needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants