CyberArkEPM
| where EventSubType != 'AttackAttempt'
| where ActingProcessName endswith @'msbuild.exe'
| where ActingProcessCommandLine has_any ('xml', 'csproj', 'vcxproj', 'vbproj', 'fsproj')
| extend AccountCustomEntity = ActorUsername
queryFrequency: 30m
version: 1.0.0
queryPeriod: 30m
id: a11bf869-458e-49fd-be03-58021b14be15
triggerOperator: gt
triggerThreshold: 0
tactics:
- DefenseEvasion
query: |
CyberArkEPM
| where EventSubType != 'AttackAttempt'
| where ActingProcessName endswith @'msbuild.exe'
| where ActingProcessCommandLine has_any ('xml', 'csproj', 'vcxproj', 'vbproj', 'fsproj')
| extend AccountCustomEntity = ActorUsername
severity: Medium
kind: Scheduled
requiredDataConnectors:
- connectorId: CyberArkEPM
dataTypes:
- CyberArkEPM
entityMappings:
- entityType: Account
fieldMappings:
- identifier: Name
columnName: AccountCustomEntity
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CyberArkEPM/Analytic Rules/CyberArkEPMMSBuildLOLBin.yaml
name: CyberArkEPM - MSBuild usage as LOLBin
description: |
'Detects usage of msbuild tool as LOLBin.'
relevantTechniques:
- T1127