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

CyberArkEPM - Process started from different locations

Back
Id0d4e62da-0a64-4532-b93e-28cd2940c300
RulenameCyberArkEPM - Process started from different locations
DescriptionDetects when process started from different locations on a host.
SeverityMedium
TacticsExecution
DefenseEvasion
TechniquesT1204
T1036
Required data connectorsCyberArkEPM
KindScheduled
Query frequency1h
Query period1h
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CyberArkEPM/Analytic Rules/CyberArkEPMProcessChangedStartLocation.yaml
Version1.0.0
Arm template0d4e62da-0a64-4532-b93e-28cd2940c300.json
Deploy To Azure
CyberArkEPM
| where EventSubType != 'AttackAttempt'
| extend bin_path = tolower(extract(@'\A(.*)(\\|/)', 1, ActingProcessName))
| summarize p = makeset(bin_path) by ActingProcessFileInternalName, DvcId
| where array_length(p) > 1
| extend FileCustomEntity = ActingProcessFileInternalName
relevantTechniques:
- T1204
- T1036
name: CyberArkEPM - Process started from different locations
requiredDataConnectors:
- dataTypes:
  - CyberArkEPM
  connectorId: CyberArkEPM
entityMappings:
- fieldMappings:
  - identifier: Name
    columnName: FileCustomEntity
  entityType: File
triggerThreshold: 0
id: 0d4e62da-0a64-4532-b93e-28cd2940c300
tactics:
- Execution
- DefenseEvasion
version: 1.0.0
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CyberArkEPM/Analytic Rules/CyberArkEPMProcessChangedStartLocation.yaml
queryPeriod: 1h
kind: Scheduled
queryFrequency: 1h
severity: Medium
description: |
    'Detects when process started from different locations on a host.'
query: |
  CyberArkEPM
  | where EventSubType != 'AttackAttempt'
  | extend bin_path = tolower(extract(@'\A(.*)(\\|/)', 1, ActingProcessName))
  | summarize p = makeset(bin_path) by ActingProcessFileInternalName, DvcId
  | where array_length(p) > 1
  | extend FileCustomEntity = ActingProcessFileInternalName  
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/0d4e62da-0a64-4532-b93e-28cd2940c300')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/0d4e62da-0a64-4532-b93e-28cd2940c300')]",
      "properties": {
        "alertRuleTemplateName": "0d4e62da-0a64-4532-b93e-28cd2940c300",
        "customDetails": null,
        "description": "'Detects when process started from different locations on a host.'\n",
        "displayName": "CyberArkEPM - Process started from different locations",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "File",
            "fieldMappings": [
              {
                "columnName": "FileCustomEntity",
                "identifier": "Name"
              }
            ]
          }
        ],
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CyberArkEPM/Analytic Rules/CyberArkEPMProcessChangedStartLocation.yaml",
        "query": "CyberArkEPM\n| where EventSubType != 'AttackAttempt'\n| extend bin_path = tolower(extract(@'\\A(.*)(\\\\|/)', 1, ActingProcessName))\n| summarize p = makeset(bin_path) by ActingProcessFileInternalName, DvcId\n| where array_length(p) > 1\n| extend FileCustomEntity = ActingProcessFileInternalName\n",
        "queryFrequency": "PT1H",
        "queryPeriod": "PT1H",
        "severity": "Medium",
        "subTechniques": [],
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "DefenseEvasion",
          "Execution"
        ],
        "techniques": [
          "T1036",
          "T1204"
        ],
        "templateVersion": "1.0.0",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}