diff --git a/Detections/AzureDevOpsAuditing/NRT_ADOAuditStreamDisabled.yaml b/Detections/AzureDevOpsAuditing/NRT_ADOAuditStreamDisabled.yaml new file mode 100644 index 00000000000..135d6ae6a42 --- /dev/null +++ b/Detections/AzureDevOpsAuditing/NRT_ADOAuditStreamDisabled.yaml @@ -0,0 +1,29 @@ +id: 74ed028d-e392-40b7-baef-e69627bf89d1 +name: NRT Azure DevOps Audit Stream Disabled +description: | + 'Azure DevOps allow for audit logs to be streamed to external storage solutions such as SIEM solutions. An attacker looking to hide malicious Azure DevOps activity from defenders may look to disable data streams + before conducting activity and then re-enabling the stream after (so as not to raise data threshold-based alarms). Looking for disabled audit streams can identify this activity, and due to the nature of the action + its unlikely to have a high false positive rate.' +severity: High +requiredDataConnectors: [] +tactics: + - DefenseEvasion +relevantTechniques: + - T1562.008 +query: | + AzureDevOpsAuditing + | where OperationName =~ "AuditLog.StreamDisabledByUser" + | extend StreamType = tostring(Data.ConsumerType) + | project-reorder TimeGenerated, Details, ActorUPN, IpAddress, UserAgent, StreamType + | extend timestamp = TimeGenerated, AccountCustomEntity = ActorUPN, IPCustomEntity = IpAddress +entityMappings: + - entityType: Account + fieldMappings: + - identifier: FullName + columnName: AccountCustomEntity + - entityType: IP + fieldMappings: + - identifier: Address + columnName: IPCustomEntity +version: 1.0.0 +kind: NRT