ApexOne - Suspicious commandline arguments
Id | 4d7199b2-67b8-11ec-90d6-0242ac120003 |
Rulename | ApexOne - Suspicious commandline arguments |
Description | Detects suspicious commandline arguments. |
Severity | High |
Tactics | Execution |
Techniques | T1059 |
Required data connectors | CefAma TrendMicroApexOne TrendMicroApexOneAma |
Kind | Scheduled |
Query frequency | 1h |
Query period | 1h |
Trigger threshold | 0 |
Trigger operator | gt |
Source Uri | https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Trend Micro Apex One/Analytic Rules/TMApexOneCommandLineSuspiciousRequests.yaml |
Version | 1.0.2 |
Arm template | 4d7199b2-67b8-11ec-90d6-0242ac120003.json |
TMApexOneEvent
| where EventMessage has "Endpoint Application"
| where Command has_any ("whoami", "dpkg", "useradd", "sudo")
| extend IPCustomEntity = SrcIpAddr, AccountCustomEntity = DstUserName
queryPeriod: 1h
version: 1.0.2
tactics:
- Execution
queryFrequency: 1h
id: 4d7199b2-67b8-11ec-90d6-0242ac120003
triggerOperator: gt
requiredDataConnectors:
- dataTypes:
- TMApexOneEvent
connectorId: TrendMicroApexOne
- dataTypes:
- TMApexOneEvent
connectorId: TrendMicroApexOneAma
- dataTypes:
- CommonSecurityLog
connectorId: CefAma
severity: High
entityMappings:
- entityType: IP
fieldMappings:
- columnName: IPCustomEntity
identifier: Address
- entityType: Account
fieldMappings:
- columnName: AccountCustomEntity
identifier: Name
triggerThreshold: 0
relevantTechniques:
- T1059
query: |
TMApexOneEvent
| where EventMessage has "Endpoint Application"
| where Command has_any ("whoami", "dpkg", "useradd", "sudo")
| extend IPCustomEntity = SrcIpAddr, AccountCustomEntity = DstUserName
kind: Scheduled
name: ApexOne - Suspicious commandline arguments
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Trend Micro Apex One/Analytic Rules/TMApexOneCommandLineSuspiciousRequests.yaml
description: |
'Detects suspicious commandline arguments.'
status: Available
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"workspace": {
"type": "String"
}
},
"resources": [
{
"apiVersion": "2024-01-01-preview",
"id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/4d7199b2-67b8-11ec-90d6-0242ac120003')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/4d7199b2-67b8-11ec-90d6-0242ac120003')]",
"properties": {
"alertRuleTemplateName": "4d7199b2-67b8-11ec-90d6-0242ac120003",
"customDetails": null,
"description": "'Detects suspicious commandline arguments.'\n",
"displayName": "ApexOne - Suspicious commandline arguments",
"enabled": true,
"entityMappings": [
{
"entityType": "IP",
"fieldMappings": [
{
"columnName": "IPCustomEntity",
"identifier": "Address"
}
]
},
{
"entityType": "Account",
"fieldMappings": [
{
"columnName": "AccountCustomEntity",
"identifier": "Name"
}
]
}
],
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Trend Micro Apex One/Analytic Rules/TMApexOneCommandLineSuspiciousRequests.yaml",
"query": "TMApexOneEvent\n| where EventMessage has \"Endpoint Application\"\n| where Command has_any (\"whoami\", \"dpkg\", \"useradd\", \"sudo\")\n| extend IPCustomEntity = SrcIpAddr, AccountCustomEntity = DstUserName\n",
"queryFrequency": "PT1H",
"queryPeriod": "PT1H",
"severity": "High",
"status": "Available",
"subTechniques": [],
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"Execution"
],
"techniques": [
"T1059"
],
"templateVersion": "1.0.2",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0
},
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}