Azure Ad Service Principal Credentials

Description

Manually added new client credentials (secret and certificate) for a Service Principal account. Tenant specific details have been replaced in the dataset including tenant id, user names, ips, etc.

MITRE ATT&CK Techniques

ID Technique Tactic
T1098.001 Additional Cloud Credentials Persistence, Privilege Escalation

Environment Details

Field Value
Environment attack_range
Directory azure_ad_service_principal_credentials
Test Date 2022-08-18

Datasets

The following datasets were collected during this attack simulation:

Azure-Audit

  • Path: /datasets/attack_techniques/T1098.001/azure_ad_service_principal_credentials/azure-audit.log
  • Sourcetype: azure:monitor:aad
  • Source: azure

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 New Client Credentials TTP Cloud T1098.001 Azure Active Directory Persistence, Azure Active Directory Privilege Escalation, NOBELIUM Group, Scattered Lapsus$ Hunters

Usage Instructions

Replay with Splunk Attack Data

Replay attack data with replay.py from Splunk Attack Data.

1python replay.py --dataset /datasets/attack_techniques/T1098.001/azure_ad_service_principal_credentials/azure-audit.log --index attack_data

Manual Import

  1. Download the dataset files from the paths listed above
  2. Configure your Splunk instance with the appropriate sourcetypes
  3. Import the logs using the Splunk Add Data wizard

Find more detections and analytics for this attack technique in our security content repository.


Source: GitHub | Version: 1.0