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

Box - Executable file in folder

Back
Idb91ec98d-5747-45c8-b2f6-a07bf47068f0
RulenameBox - Executable file in folder
DescriptionDetects executable files in folders.
SeverityMedium
TacticsInitialAccess
TechniquesT1189
Required data connectorsBoxDataConnector
KindScheduled
Query frequency1h
Query period1h
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Box/Analytic Rules/BoxBinaryFile.yaml
Version1.0.0
Arm templateb91ec98d-5747-45c8-b2f6-a07bf47068f0.json
Deploy To Azure
BoxEvents
| where SourceFileName hassuffix '.exe' or SourceItemName hassuffix '.exe'
| extend IPCustomEntity = SrcIpAddr
name: Box - Executable file in folder
query: |
  BoxEvents
  | where SourceFileName hassuffix '.exe' or SourceItemName hassuffix '.exe'
  | extend IPCustomEntity = SrcIpAddr  
description: |
    'Detects executable files in folders.'
tactics:
- InitialAccess
requiredDataConnectors:
- dataTypes:
  - BoxEvents_CL
  connectorId: BoxDataConnector
queryPeriod: 1h
queryFrequency: 1h
status: Available
triggerThreshold: 0
id: b91ec98d-5747-45c8-b2f6-a07bf47068f0
triggerOperator: gt
version: 1.0.0
relevantTechniques:
- T1189
severity: Medium
kind: Scheduled
entityMappings:
- entityType: IP
  fieldMappings:
  - identifier: Address
    columnName: IPCustomEntity
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Box/Analytic Rules/BoxBinaryFile.yaml
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workspace": {
      "type": "String"
    }
  },
  "resources": [
    {
      "apiVersion": "2023-02-01-preview",
      "id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/b91ec98d-5747-45c8-b2f6-a07bf47068f0')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/b91ec98d-5747-45c8-b2f6-a07bf47068f0')]",
      "properties": {
        "alertRuleTemplateName": "b91ec98d-5747-45c8-b2f6-a07bf47068f0",
        "customDetails": null,
        "description": "'Detects executable files in folders.'\n",
        "displayName": "Box - Executable file in folder",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "IP",
            "fieldMappings": [
              {
                "columnName": "IPCustomEntity",
                "identifier": "Address"
              }
            ]
          }
        ],
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Box/Analytic Rules/BoxBinaryFile.yaml",
        "query": "BoxEvents\n| where SourceFileName hassuffix '.exe' or SourceItemName hassuffix '.exe'\n| extend IPCustomEntity = SrcIpAddr\n",
        "queryFrequency": "PT1H",
        "queryPeriod": "PT1H",
        "severity": "Medium",
        "status": "Available",
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "InitialAccess"
        ],
        "techniques": [
          "T1189"
        ],
        "templateVersion": "1.0.0",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}