Azure Active Directory Hybrid Health AD FS New Server

This detection uses azureactivity logs (Administrative category) to identify the creation or update of a server instance in an Azure AD Hybrid health AD FS service. A threat actor can create a new AD Health ADFS service and create a fake server instance to spoof AD FS signing logs. There is no need to compromise an on-prem AD FS server. This can be done programmatically via HTTP requests to Azure.

Sigma rule (View on GitHub)

 1title: Azure Active Directory Hybrid Health AD FS New Server
 2id: 288a39fc-4914-4831-9ada-270e9dc12cb4
 3status: test
 4description: |
 5    This detection uses azureactivity logs (Administrative category) to identify the creation or update of a server instance in an Azure AD Hybrid health AD FS service.
 6    A threat actor can create a new AD Health ADFS service and create a fake server instance to spoof AD FS signing logs. There is no need to compromise an on-prem AD FS server.
 7    This can be done programmatically 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
19logsource:
20    product: azure
21    service: activitylogs
22detection:
23    selection:
24        category: 'Administrative'
25        resourceId|contains: 'AdFederationService'
26        operationName: 'MICROSOFT.ADHYBRIDHEALTHSERVICE/SERVICES/SERVICEMEMBERS/ACTION'
27    condition: selection
28falsepositives:
29    - Legitimate AD FS servers added to an AAD Health AD FS service instance
30level: medium

References

Related rules

to-top