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

ApexOne - Inbound remote access connection

Back
Id6303235a-ee70-42a4-b969-43e7b969b916
RulenameApexOne - Inbound remote access connection
DescriptionDetects inbound remote access connection.
SeverityHigh
TacticsLateralMovement
TechniquesT1021
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/TMApexOneInboundRemoteAccess.yaml
Version1.0.3
Arm template6303235a-ee70-42a4-b969-43e7b969b916.json
Deploy To Azure
TMApexOneEvent
| where EventSubType has "WB"
| where NetworkDirection == 1
| where ApplicationProtocol in ('15', '17', '20', '22', '23', '27', '36', '37')
| extend IPCustomEntity = SrcIpAddr, AccountCustomEntity = DstUserName
relevantTechniques:
- T1021
name: ApexOne - Inbound remote access connection
requiredDataConnectors:
- dataTypes:
  - CommonSecurityLog
  connectorId: CefAma
entityMappings:
- fieldMappings:
  - identifier: Address
    columnName: IPCustomEntity
  entityType: IP
- fieldMappings:
  - identifier: Name
    columnName: AccountCustomEntity
  entityType: Account
triggerThreshold: 0
id: 6303235a-ee70-42a4-b969-43e7b969b916
tactics:
- LateralMovement
version: 1.0.3
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Trend Micro Apex One/Analytic Rules/TMApexOneInboundRemoteAccess.yaml
queryPeriod: 1h
kind: Scheduled
queryFrequency: 1h
severity: High
status: Available
description: |
    'Detects inbound remote access connection.'
query: |
  TMApexOneEvent
  | where EventSubType has "WB"
  | where NetworkDirection == 1
  | where ApplicationProtocol in ('15', '17', '20', '22', '23', '27', '36', '37')
  | 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/6303235a-ee70-42a4-b969-43e7b969b916')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/6303235a-ee70-42a4-b969-43e7b969b916')]",
      "properties": {
        "alertRuleTemplateName": "6303235a-ee70-42a4-b969-43e7b969b916",
        "customDetails": null,
        "description": "'Detects inbound remote access connection.'\n",
        "displayName": "ApexOne - Inbound remote access connection",
        "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/TMApexOneInboundRemoteAccess.yaml",
        "query": "TMApexOneEvent\n| where EventSubType has \"WB\"\n| where NetworkDirection == 1\n| where ApplicationProtocol in ('15', '17', '20', '22', '23', '27', '36', '37')\n| extend IPCustomEntity = SrcIpAddr, AccountCustomEntity = DstUserName\n",
        "queryFrequency": "PT1H",
        "queryPeriod": "PT1H",
        "severity": "High",
        "status": "Available",
        "subTechniques": [],
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "LateralMovement"
        ],
        "techniques": [
          "T1021"
        ],
        "templateVersion": "1.0.3",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}