MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Initial Access |
Rule body
id: 2e5158e1-9fc2-40ff-a909-c701a13a0405
name: Cisco SEG - Potential phishing link
description: |
'Detects mails with suspicious links.'
severity: Medium
status: Available
requiredDataConnectors:
- connectorId: CefAma
dataTypes:
- CommonSecurityLog
queryFrequency: 1h
queryPeriod: 1h
triggerOperator: gt
triggerThreshold: 0
tactics:
- InitialAccess
relevantTechniques:
- T1566
query: |
let dl_cat = dynamic(['Illegal Downloads']);
CiscoSEGEvent
| where NetworkDirection =~ 'Incoming'
| where tostring(AdditionalFields) has 'ESAURLDetails'
| extend link_cat = extract(@"'Category': '(.*?)'", 1, tostring(AdditionalFields))
| where link_cat in~ (dl_cat)
| extend AccountCustomEntity = DstUserName
entityMappings:
- entityType: Account
fieldMappings:
- identifier: Name
columnName: AccountCustomEntity
version: 1.0.3
kind: Scheduled
Stages and Predicates
Parameters
let dl_cat = dynamic(['Illegal Downloads']);
Stage 1: source
CiscoSEGEvent
Stage 2: where
| where NetworkDirection =~ 'Incoming'
Stage 3: where
| where tostring(AdditionalFields) has 'ESAURLDetails'
Stage 4: extend
| extend link_cat = extract(@"'Category': '(.*?)'", 1, tostring(AdditionalFields))
Stage 5: where
| where link_cat in~ (dl_cat)
Stage 6: extend
| extend AccountCustomEntity = DstUserName
Indicators
These rows show field, operator, and value matches.
| Field | Kind | Values | Search |
|---|---|---|---|
AdditionalFields | match |
| field:"AdditionalFields" kind:match value:"ESAURLDetails" |
NetworkDirection | eq |
| field:"NetworkDirection" kind:eq value:"Incoming" |
link_cat | in |
| field:"link_cat" kind:in value:"dl_cat" |
Output fields
These fields are emitted when the rule matches.
| Field | Source |
|---|---|
link_cat | extend |
AccountCustomEntity | extend |