TMApexOneEvent
| where EventMessage has "Suspicious Connection"
| where NetworkDirection == 1
| where DvcAction in ('1', '3')
| extend IPCustomEntity = SrcIpAddr, AccountCustomEntity = DstUserName
relevantTechniques:
- T1102
name: ApexOne - Suspicious connections
requiredDataConnectors:
- dataTypes:
- CommonSecurityLog
connectorId: CefAma
entityMappings:
- fieldMappings:
- identifier: Address
columnName: IPCustomEntity
entityType: IP
- fieldMappings:
- identifier: Name
columnName: AccountCustomEntity
entityType: Account
triggerThreshold: 0
id: 9e3dc038-67b7-11ec-90d6-0242ac120003
tactics:
- CommandAndControl
version: 1.0.3
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Trend Micro Apex One/Analytic Rules/TMApexOneSuspiciousConnections.yaml
queryPeriod: 1h
kind: Scheduled
queryFrequency: 1h
severity: High
status: Available
description: |
'Detects suspicious connections.'
query: |
TMApexOneEvent
| where EventMessage has "Suspicious Connection"
| where NetworkDirection == 1
| where DvcAction in ('1', '3')
| extend IPCustomEntity = SrcIpAddr, AccountCustomEntity = DstUserName
triggerOperator: gt
{
"$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/9e3dc038-67b7-11ec-90d6-0242ac120003')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/9e3dc038-67b7-11ec-90d6-0242ac120003')]",
"properties": {
"alertRuleTemplateName": "9e3dc038-67b7-11ec-90d6-0242ac120003",
"customDetails": null,
"description": "'Detects suspicious connections.'\n",
"displayName": "ApexOne - Suspicious connections",
"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/TMApexOneSuspiciousConnections.yaml",
"query": "TMApexOneEvent\n| where EventMessage has \"Suspicious Connection\"\n| where NetworkDirection == 1 \n| where DvcAction in ('1', '3')\n| extend IPCustomEntity = SrcIpAddr, AccountCustomEntity = DstUserName\n",
"queryFrequency": "PT1H",
"queryPeriod": "PT1H",
"severity": "High",
"status": "Available",
"subTechniques": [],
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"CommandAndControl"
],
"techniques": [
"T1102"
],
"templateVersion": "1.0.3",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0
},
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}