Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] O365 Exchange Suspicious Mailbox Right Delegation - False Positives for "NT AUTHORITY\SYSTEM (Microsoft.Exchange.ServiceHost)" #3702

Open
willem-dhaese opened this issue May 22, 2024 · 0 comments
Assignees
Labels
backlog bug Something isn't working community

Comments

@willem-dhaese
Copy link

O365 Exchange Suspicious Mailbox Right Delegation => https://www.elastic.co/guide/en/security/current/o365-exchange-suspicious-mailbox-right-delegation.html

Describe the bug
False positive alerts are bing generated for user.id : "NT AUTHORITY\SYSTEM (Microsoft.Exchange.ServiceHost)"

Original Query:

event.dataset:o365.audit and event.provider:Exchange and event.action:Add-MailboxPermission and o365.audit.Parameters.AccessRights:(FullAccess or SendAs or SendOnBehalf) and event.outcome:success and not user.id : ( "NT AUTHORITY\SYSTEM (Microsoft.Exchange.Servicehost)"

Better Query:

event.dataset:o365.audit and event.provider:Exchange and event.action:Add-MailboxPermission and o365.audit.Parameters.AccessRights:(FullAccess or SendAs or SendOnBehalf) and event.outcome:success and not user.id : "NT AUTHORITY\SYSTEM (Microsoft.Exchange.Servicehost)" and not user.id : "NT AUTHORITY\SYSTEM (Microsoft.Exchange.ServiceHost)"

Expected behavior

user.id : "NT AUTHORITY\SYSTEM (Microsoft.Exchange.ServiceHost)" does not trigger alerts

In our logs only "NT AUTHORITY\SYSTEM (Microsoft.Exchange.ServiceHost)" exists, not "NT AUTHORITY\SYSTEM (Microsoft.Exchange.Servicehost)", but to be sure lets exclude them both...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog bug Something isn't working community
Projects
None yet
Development

No branches or pull requests

3 participants