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

Azure DevOps Audit Detection for known malicious tooling

Back
Idbc71cf84-c02c-4c0a-a64c-306d84f9ff89
RulenameAzure DevOps Audit Detection for known malicious tooling
DescriptionAzure DevOps has been targeted over the years with a handful of toolkits. This detection will look for some common signs known for a few of these tools.
SeverityHigh
TacticsCollection
TechniquesT1119
KindScheduled
Query frequency1d
Query period1d
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/AzureDevOpsAuditing/Analytic Rules/ADOMaliciousToolingDetections1.yaml
Version1.0.4
Arm templatebc71cf84-c02c-4c0a-a64c-306d84f9ff89.json
Deploy To Azure
ADOAuditLogs
// Look for known bad user agents
| where UserAgent has_any ("ADOKit")
| extend timestamp = TimeGenerated
| extend AccountName = tostring(split(ActorUPN, "@")[0]), AccountUPNSuffix = tostring(split(ActorUPN, "@")[1])
status: Available
entityMappings:
- fieldMappings:
  - columnName: ActorUPN
    identifier: FullName
  - columnName: AccountName
    identifier: Name
  - columnName: AccountUPNSuffix
    identifier: UPNSuffix
  entityType: Account
- fieldMappings:
  - columnName: IpAddress
    identifier: Address
  entityType: IP
requiredDataConnectors: []
id: bc71cf84-c02c-4c0a-a64c-306d84f9ff89
queryFrequency: 1d
tactics:
- Collection
query: |
  ADOAuditLogs
  // Look for known bad user agents
  | where UserAgent has_any ("ADOKit")
  | extend timestamp = TimeGenerated
  | extend AccountName = tostring(split(ActorUPN, "@")[0]), AccountUPNSuffix = tostring(split(ActorUPN, "@")[1])  
relevantTechniques:
- T1119
queryPeriod: 1d
version: 1.0.4
triggerThreshold: 0
triggerOperator: gt
name: Azure DevOps Audit Detection for known malicious tooling
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/AzureDevOpsAuditing/Analytic Rules/ADOMaliciousToolingDetections1.yaml
description: |
    'Azure DevOps has been targeted over the years with a handful of toolkits.  This detection will look for some common signs known for a few of these tools.'
severity: High
kind: Scheduled