Operation / OperationsSuspicious
set-casmailbox: Set-CASMailbox
Client access settings for a mailbox changed, such as enabling IMAP, POP or EWS.
How to read it
Re-enabling legacy protocols on one mailbox lets an attacker bypass modern authentication controls.
Find it
OfficeActivity
| where Operation =~ "Set-CASMailbox"
| project TimeGenerated, UserId, ClientIP, Operation, Parameters, OfficeObjectIdATT&CK
About Operation
The activity recorded in the unified audit log. These are the operations that matter most in business email compromise and data theft cases.
Questions
- What does Operation set-casmailbox mean?
- Set-CASMailbox. Client access settings for a mailbox changed, such as enabling IMAP, POP or EWS. Re-enabling legacy protocols on one mailbox lets an attacker bypass modern authentication controls.
- Is Operation set-casmailbox a sign of an attack?
- It deserves a look. It is associated with MITRE ATT&CK Modify Authentication Process (T1556). Confirm it with the surrounding events: who made the request, from where, and what happened next.
- Where is Operation set-casmailbox recorded?
- In the Operation field of Microsoft 365 unified audit log.
- How do I search for Operation set-casmailbox?
- The queries on this page filter for it in PowerShell, Microsoft Sentinel and the source's own tools. Paste a full record into the WETNav decoder to see every other field explained too.
Appears in
Other Microsoft 365 audit Operation values
- new-inboxruleNew-InboxRule
- set-inboxruleSet-InboxRule
- updateinboxrulesUpdateInboxRules
- set-mailboxSet-Mailbox
- add-mailboxpermissionAdd-MailboxPermission
- add-recipientpermissionAdd-RecipientPermission
- new-transportruleNew-TransportRule
- set-transportruleSet-TransportRule
- mailitemsaccessedMailItemsAccessed
- sendSend
- sendasSendAs
- sendonbehalfSendOnBehalf
- softdeleteSoftDelete
- harddeleteHardDelete
Decode a whole event
Paste the event and every field is explained, in your browser.