Cisco SE - Unexpected binary file
Id | eabb9c20-7b0b-4a77-81e8-b06944f351c6 |
Rulename | Cisco SE - Unexpected binary file |
Description | Detects binary files in uncommon locations. |
Severity | Medium |
Tactics | InitialAccess |
Techniques | T1190 T1133 |
Required data connectors | CiscoSecureEndpoint |
Kind | Scheduled |
Query frequency | 1h |
Query period | 1h |
Trigger threshold | 0 |
Trigger operator | gt |
Source Uri | https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Cisco Secure Endpoint/Analytic Rules/CiscoSEUnexpectedBinary.yaml |
Version | 1.0.0 |
Arm template | eabb9c20-7b0b-4a77-81e8-b06944f351c6.json |
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
relevantTechniques:
- T1190
- T1133
name: Cisco SE - Unexpected binary file
requiredDataConnectors:
- dataTypes:
- CiscoSecureEndpoint
connectorId: CiscoSecureEndpoint
entityMappings:
- fieldMappings:
- identifier: HostName
columnName: HostCustomEntity
entityType: Host
triggerThreshold: 0
id: eabb9c20-7b0b-4a77-81e8-b06944f351c6
tactics:
- InitialAccess
version: 1.0.0
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Cisco Secure Endpoint/Analytic Rules/CiscoSEUnexpectedBinary.yaml
queryPeriod: 1h
kind: Scheduled
queryFrequency: 1h
severity: Medium
status: Available
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
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/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",
"subTechniques": [],
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"InitialAccess"
],
"techniques": [
"T1133",
"T1190"
],
"templateVersion": "1.0.0",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0
},
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}