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

ApexOne - Suspicious commandline arguments

Back
Id4d7199b2-67b8-11ec-90d6-0242ac120003
RulenameApexOne - Suspicious commandline arguments
DescriptionDetects suspicious commandline arguments.
SeverityHigh
TacticsExecution
TechniquesT1059
Required data connectorsCefAma
KindScheduled
Query frequency1h
Query period1h
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Trend Micro Apex One/Analytic Rules/TMApexOneCommandLineSuspiciousRequests.yaml
Version1.0.3
Arm template4d7199b2-67b8-11ec-90d6-0242ac120003.json
Deploy To Azure
TMApexOneEvent
| where EventMessage has "Endpoint Application"
| where Command has_any ("whoami", "dpkg", "useradd", "sudo")
| extend IPCustomEntity = SrcIpAddr, AccountCustomEntity = DstUserName
triggerThreshold: 0
entityMappings:
- entityType: IP
  fieldMappings:
  - identifier: Address
    columnName: IPCustomEntity
- entityType: Account
  fieldMappings:
  - identifier: Name
    columnName: AccountCustomEntity
requiredDataConnectors:
- dataTypes:
  - CommonSecurityLog
  connectorId: CefAma
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Trend Micro Apex One/Analytic Rules/TMApexOneCommandLineSuspiciousRequests.yaml
name: ApexOne - Suspicious commandline arguments
relevantTechniques:
- T1059
status: Available
version: 1.0.3
queryPeriod: 1h
kind: Scheduled
id: 4d7199b2-67b8-11ec-90d6-0242ac120003
query: |
  TMApexOneEvent
  | where EventMessage has "Endpoint Application"
  | where Command has_any ("whoami", "dpkg", "useradd", "sudo")
  | extend IPCustomEntity = SrcIpAddr, AccountCustomEntity = DstUserName  
description: |
    'Detects suspicious commandline arguments.'
queryFrequency: 1h
severity: High
triggerOperator: gt
tactics:
- Execution