Sigma rule: Activity Performed by Terminated User
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-071bfa4c59a6, updated 2022-10-09T00:00:00.000Z.
Rule
- Title
- Activity Performed by Terminated User
- Status
- test
- Level
- medium
- Author
- Austin Songer @austinsonger
- Date
- 2021-08-23
- Modified
- 2022-10-09
- File
- rules/cloud/m365/threat_management/microsoft365_activity_by_terminated_user.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects when a Microsoft Cloud App Security reported for users whose account were terminated in Azure AD, but still perform activities in other platforms such as AWS or Salesforce.
This is especially relevant for users who use another account to manage resources, since these accounts are often not terminated when a user leaves the company.
Log source
- product
- m365
- service
- threat_management
Detection
selection:
eventSource: SecurityComplianceCenter
eventName: 'Activity performed by terminated user'
status: success
condition: selectionFalse positives (as the rule lists them)
- Unknown
Tags
- attack.impact
References
- https://learn.microsoft.com/en-us/defender-cloud-apps/anomaly-detection-policy
- https://learn.microsoft.com/en-us/defender-cloud-apps/policy-template-reference
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/cloud/m365/threat_management/microsoft365_activity_by_terminated_user.yml
Sources and licences
SigmaHQ
"Activity Performed by Terminated User" by Austin Songer @austinsonger (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/cloud/m365/threat_management/microsoft365_activity_by_terminated_user.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Activity Performed by Terminated User",
entity page, dataset version ref-071bfa4c59a6, updated 2022-10-09T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/2e669ed8-742e-4fe5-b3c4-5a59b486c2ee (accessed 2026-11-03).
Underlying source: SigmaHQ rule 2e669ed8-742e-4fe5-b3c4-5a59b486c2ee, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.