Detection rules › Sublime MQL
Attachment: Link to Doubleclick.net open redirect
Doubleclick.net link in a document leveraging an open redirect.
Threat classification
Sublime's own taxonomy (not MITRE ATT&CK).
| Category | Values |
|---|---|
| Attack types | BEC/Fraud, Credential Phishing |
| Tactics and techniques | Evasion, Open redirect, Social engineering |
Event coverage
| Message attribute |
|---|
| attachments (collection) |
| body |
| type |
Rule body MQL
type.inbound
and length(body.links) == 0
and any(attachments,
(.file_type in ("pdf", "doc", "docx"))
and any(file.explode(.),
any(.scan.url.urls,
.domain.root_domain == "doubleclick.net"
and (
strings.icontains(.path, "/aclk")
or strings.icontains(.path, "/pcs/click")
or strings.icontains(.path, "/searchads/link/click")
)
and regex.icontains(.query_params,
'&(?:adurl|ds_dest_url)=(?:[a-z]+(?:\:|%3a))?(?:\/|%2f)(?:\/|%2f)'
)
)
)
)
Detection logic
Scope: inbound message.
Doubleclick.net link in a document leveraging an open redirect.
- inbound message
- length(body.links) is 0
any of
attachmentswhere all hold:- .file_type in ('pdf', 'doc', 'docx')
any of
file.explode(.)where:any of
.scan.url.urlswhere all hold:- .domain.root_domain is 'doubleclick.net'
any of:
- .path contains '/aclk'
- .path contains '/pcs/click'
- .path contains '/searchads/link/click'
- .query_params matches '&(?:adurl|ds_dest_url)=(?:[a-z]+(?:\\:|%3a))?(?:\\/|%2f)(?:\\/|%2f)'
Inspects: attachments[].file_type, body.links, type.inbound. Sensors: file.explode, regex.icontains, strings.icontains.
Indicators matched (8)
| Field | Match | Value |
|---|---|---|
attachments[].file_type | member | pdf |
attachments[].file_type | member | doc |
attachments[].file_type | member | docx |
file.explode(attachments[])[].scan.url.urls[].domain.root_domain | equals | doubleclick.net |
strings.icontains | substring | /aclk |
strings.icontains | substring | /pcs/click |
strings.icontains | substring | /searchads/link/click |
regex.icontains | regex | &(?:adurl|ds_dest_url)=(?:[a-z]+(?:\:|%3a))?(?:\/|%2f)(?:\/|%2f) |