corelight_smtp
| where subject hasprefix @'\=?utf-16'
| summarize recipients = dcount(_to)
| extend k = 1
| join (corelight_smtp
| where subject hasprefix @'\=?utf-16'
| summarize by _to
| extend k = 1) on k
| where recipients > 1
description: |
'Detects where an emails contain non ascii characters within the Subject.'
version: 2.1.0
tactics:
- InitialAccess
queryFrequency: 1h
query: |
corelight_smtp
| where subject hasprefix @'\=?utf-16'
| summarize recipients = dcount(_to)
| extend k = 1
| join (corelight_smtp
| where subject hasprefix @'\=?utf-16'
| summarize by _to
| extend k = 1) on k
| where recipients > 1
status: Available
triggerOperator: gt
kind: Scheduled
triggerThreshold: 0
relevantTechniques:
- T1566
id: 50c61708-9824-46f3-87cf-22490796fae2
queryPeriod: 1h
entityMappings:
- fieldMappings:
- identifier: Recipient
columnName: _to
entityType: MailMessage
severity: Low
name: Corelight - SMTP Email containing NON Ascii Characters within the Subject
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Corelight/Analytic Rules/CorelightSMTPEmailSubjectNonAsciiCharacters.yaml
requiredDataConnectors:
- dataTypes:
- Corelight_v2_smtp
- corelight_smtp
connectorId: Corelight