Azure Ad Service Principal Authentication
Description
Used python to authenticate as a service principal to an Azure AD tenant. Tenant specific details have been replaced in the dataset including tenant id, user names, ips, etc.
MITRE ATT&CK Techniques
| ID | Technique | Tactic |
|---|---|---|
| T1078.004 | Cloud Accounts | Defense Evasion, Initial Access, Persistence, Privilege Escalation |
Environment Details
| Field | Value |
|---|---|
| Environment | attack_range |
| Directory | azure_ad_service_principal_authentication |
| Test Date | 2024-02-12 |
Datasets
The following datasets were collected during this attack simulation:
Azure_ad_service_principal_authentication
- Path:
/datasets/attack_techniques/T1078.004/azure_ad_service_principal_authentication/azure_ad_service_principal_authentication.log - Sourcetype:
linux_secure - Source:
linux_secure
Related Detections
The following detections in our security content repository use this attack data for testing:
| Detection Name | Type | Source | MITRE ATT&CK | Analytic Story |
|---|---|---|---|---|
| Azure AD Service Principal Authentication | TTP |
Cloud | T1078.004 | Azure Active Directory Account Takeover, NOBELIUM Group |
Usage Instructions
Replay with Splunk Attack Data
Replay attack data with replay.py from Splunk Attack Data.
1python replay.py --dataset /datasets/attack_techniques/T1078.004/azure_ad_service_principal_authentication/azure_ad_service_principal_authentication.log --index attack_data
Manual Import
- Download the dataset files from the paths listed above
- Configure your Splunk instance with the appropriate sourcetypes
- Import the logs using the Splunk Add Data wizard
Related Content
Find more detections and analytics for this attack technique in our security content repository.
Source: GitHub | Version: 1.0