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

Cisco SE - Unexpected binary file

Back
Ideabb9c20-7b0b-4a77-81e8-b06944f351c6
RulenameCisco SE - Unexpected binary file
DescriptionDetects binary files in uncommon locations.
SeverityMedium
TacticsInitialAccess
TechniquesT1190
T1133
Required data connectorsCiscoSecureEndpoint
KindScheduled
Query frequency1h
Query period1h
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Cisco Secure Endpoint/Analytic Rules/CiscoSEUnexpectedBinary.yaml
Version1.0.0
Arm templateeabb9c20-7b0b-4a77-81e8-b06944f351c6.json
Deploy To Azure
CiscoSecureEndpoint
| where isnotempty(SrcFileName)
| where SrcFilePath contains @'AppData\Local\Temp' or SrcFilePath contains @'OUTLOOK_TEMP'
| extend ext = extract(@"(.*\/)?(.*)", 2, tostring(SrcFilePath))
| where ext contains 'dll' or ext contains @'ps1' or ext contains @'exe'
| extend HostCustomEntity = DstHostname
requiredDataConnectors:
- connectorId: CiscoSecureEndpoint
  dataTypes:
  - CiscoSecureEndpoint
triggerOperator: gt
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Cisco Secure Endpoint/Analytic Rules/CiscoSEUnexpectedBinary.yaml
version: 1.0.0
status: Available
queryPeriod: 1h
severity: Medium
relevantTechniques:
- T1190
- T1133
tactics:
- InitialAccess
kind: Scheduled
queryFrequency: 1h
description: |
    'Detects binary files in uncommon locations.'
query: |
  CiscoSecureEndpoint
  | where isnotempty(SrcFileName)
  | where SrcFilePath contains @'AppData\Local\Temp' or SrcFilePath contains @'OUTLOOK_TEMP'
  | extend ext = extract(@"(.*\/)?(.*)", 2, tostring(SrcFilePath))
  | where ext contains 'dll' or ext contains @'ps1' or ext contains @'exe'
  | extend HostCustomEntity = DstHostname  
id: eabb9c20-7b0b-4a77-81e8-b06944f351c6
triggerThreshold: 0
entityMappings:
- fieldMappings:
  - identifier: HostName
    columnName: HostCustomEntity
  entityType: Host
name: Cisco SE - Unexpected binary file
{
  "$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/eabb9c20-7b0b-4a77-81e8-b06944f351c6')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/eabb9c20-7b0b-4a77-81e8-b06944f351c6')]",
      "properties": {
        "alertRuleTemplateName": "eabb9c20-7b0b-4a77-81e8-b06944f351c6",
        "customDetails": null,
        "description": "'Detects binary files in uncommon locations.'\n",
        "displayName": "Cisco SE - Unexpected binary file",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "Host",
            "fieldMappings": [
              {
                "columnName": "HostCustomEntity",
                "identifier": "HostName"
              }
            ]
          }
        ],
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Cisco Secure Endpoint/Analytic Rules/CiscoSEUnexpectedBinary.yaml",
        "query": "CiscoSecureEndpoint\n| where isnotempty(SrcFileName)\n| where SrcFilePath contains @'AppData\\Local\\Temp' or SrcFilePath contains @'OUTLOOK_TEMP'\n| extend ext = extract(@\"(.*\\/)?(.*)\", 2, tostring(SrcFilePath))\n| where ext contains 'dll' or ext contains @'ps1' or ext contains @'exe'\n| extend HostCustomEntity = DstHostname\n",
        "queryFrequency": "PT1H",
        "queryPeriod": "PT1H",
        "severity": "Medium",
        "status": "Available",
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "InitialAccess"
        ],
        "techniques": [
          "T1133",
          "T1190"
        ],
        "templateVersion": "1.0.0",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}