TMApexOneEvent
| where EventMessage has "Endpoint Application"
| where Command has_any ("whoami", "dpkg", "useradd", "sudo")
| extend IPCustomEntity = SrcIpAddr, AccountCustomEntity = DstUserName
name: ApexOne - Suspicious commandline arguments
queryFrequency: 1h
description: |
'Detects suspicious commandline arguments.'
relevantTechniques:
- T1059
id: 4d7199b2-67b8-11ec-90d6-0242ac120003
triggerOperator: gt
version: 1.0.3
entityMappings:
- entityType: IP
fieldMappings:
- columnName: IPCustomEntity
identifier: Address
- entityType: Account
fieldMappings:
- columnName: AccountCustomEntity
identifier: Name
kind: Scheduled
status: Available
tactics:
- Execution
triggerThreshold: 0
queryPeriod: 1h
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Trend Micro Apex One/Analytic Rules/TMApexOneCommandLineSuspiciousRequests.yaml
requiredDataConnectors:
- dataTypes:
- CommonSecurityLog
connectorId: CefAma
query: |
TMApexOneEvent
| where EventMessage has "Endpoint Application"
| where Command has_any ("whoami", "dpkg", "useradd", "sudo")
| extend IPCustomEntity = SrcIpAddr, AccountCustomEntity = DstUserName
severity: High