MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Initial Access |
Rule body
id: b91ec98d-5747-45c8-b2f6-a07bf47068f0
name: Box - Executable file in folder
description: |
'Detects executable files in folders.'
severity: Medium
status: Available
requiredDataConnectors:
- connectorId: BoxDataConnector
dataTypes:
- BoxEvents_CL
queryFrequency: 1h
queryPeriod: 1h
triggerOperator: gt
triggerThreshold: 0
tactics:
- InitialAccess
relevantTechniques:
- T1189
query: |
BoxEvents
| where SourceFileName hassuffix '.exe' or SourceItemName hassuffix '.exe'
| extend IPCustomEntity = SrcIpAddr
entityMappings:
- entityType: IP
fieldMappings:
- identifier: Address
columnName: IPCustomEntity
version: 1.0.0
kind: Scheduled
Stages and Predicates
Stage 1: source
BoxEvents
Stage 2: where
| where SourceFileName hassuffix '.exe' or SourceItemName hassuffix '.exe'
Stage 3: extend
| extend IPCustomEntity = SrcIpAddr
Indicators
These rows show field, operator, and value matches.
| Field | Kind | Values | Search |
|---|---|---|---|
SourceFileName | ends_with |
| field:"SourceFileName" kind:ends_with value:".exe" |
SourceItemName | ends_with |
| field:"SourceItemName" kind:ends_with value:".exe" |
Output fields
These fields are emitted when the rule matches.
| Field | Source |
|---|---|
IPCustomEntity | extend |