Azure Active Directory Hybrid Health AD FS Service Delete
This detection uses azureactivity logs (Administrative category) to identify the deletion of an Azure AD Hybrid health AD FS service instance in a tenant. A threat actor can create a new AD Health ADFS service and create a fake server to spoof AD FS signing logs. The health AD FS service can then be deleted after it is not longer needed via HTTP requests to Azure.
Sigma rule (View on GitHub)
1title: Azure Active Directory Hybrid Health AD FS Service Delete
2id: 48739819-8230-4ee3-a8ea-e0289d1fb0ff
3status: test
4description: |
5 This detection uses azureactivity logs (Administrative category) to identify the deletion of an Azure AD Hybrid health AD FS service instance in a tenant.
6 A threat actor can create a new AD Health ADFS service and create a fake server to spoof AD FS signing logs.
7 The health AD FS service can then be deleted after it is not longer needed via HTTP requests to Azure.
8references:
9 - https://web.archive.org/web/20220619212736/https://o365blog.com/post/hybridhealthagent/
10 - https://aadinternals.com/talks/HelSec%20August%202021.pdf
11 - https://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/identity#microsoftadhybridhealthservice
12 - https://www.inversecos.com/2023/01/detecting-fake-events-in-azure-sign-in.html
13author: Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research), MSTIC
14date: 2021-08-26
15modified: 2026-10-21
16tags:
17 - attack.defense-impairment
18 - attack.t1578.003
19logsource:
20 product: azure
21 service: activitylogs
22detection:
23 selection:
24 category: 'Administrative'
25 resourceId|contains: 'AdFederationService'
26 operationName: 'MICROSOFT.ADHYBRIDHEALTHSERVICE/SERVICES/DELETE'
27 condition: selection
28falsepositives:
29 - Legitimate AAD Health AD FS service instances being deleted in a tenant
30level: medium
References
Related rules
- Azure Active Directory Hybrid Health AD FS New Server
- A Rule Has Been Deleted From The Windows Firewall Exception List
- HackTool - Defendnot Default Scheduled Task Activity
- HackTool - Defendnot Execution
- HackTool - Defendnot Installation via PowerShell One-Liner