Microsoft Sentinel Analytic Rules
cloudbrothers.infoAzure Sentinel RepoToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

Service principal not using client credentials

Back
IdD308318A-B298-4E57-82BD-74AE33C4A539
RulenameService principal not using client credentials
DescriptionThis query searches for an service principal is not using a client certificate or secret is not secure.

It is recommended that you review your needs and use an Authentication method for sign-in.
SeverityHigh
TacticsInitialAccess
TechniquesT1078
Required data connectorsSenservaPro
KindScheduled
Query frequency6h
Query period6h
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/SenservaPro/Analytic Rules/NotUsingClientCredentials.yaml
Version1.0.1
Arm templateD308318A-B298-4E57-82BD-74AE33C4A539.json
Deploy To Azure
SenservaPro_CL
| where ControlName_s == 'ServicePrincipalNotUsingClientCredentials'
queryPeriod: 6h
query: |
  SenservaPro_CL
  | where ControlName_s == 'ServicePrincipalNotUsingClientCredentials'  
name: Service principal not using client credentials
entityMappings:
- fieldMappings:
  - columnName: ControlName_s
    identifier: Name
  - columnName: TenantId
    identifier: AadTenantId
  - columnName: TenantDisplayName_s
    identifier: DisplayName
  entityType: Account
- fieldMappings:
  - columnName: Group_s
    identifier: DistinguishedName
  entityType: SecurityGroup
- fieldMappings:
  - columnName: SourceSystem
    identifier: ResourceId
  entityType: AzureResource
queryFrequency: 6h
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/SenservaPro/Analytic Rules/NotUsingClientCredentials.yaml
requiredDataConnectors:
- connectorId: SenservaPro
  dataTypes:
  - SenservaPro_CL
description: |
  'This query searches for an service principal is not using a client certificate or secret is not secure. 
   It is recommended that you review your needs and use an Authentication method for sign-in.'  
kind: Scheduled
version: 1.0.1
status: Available
severity: High
relevantTechniques:
- T1078
triggerOperator: gt
triggerThreshold: 0
tactics:
- InitialAccess
id: D308318A-B298-4E57-82BD-74AE33C4A539