Spam: Item giveaway spam template

This detection rule matches on observed html templates impersonating multiple popular brands used to deliver spam. Often the lure leverages a theme of item giveaways or a chance to win an item for completing a survey.

Sublime rule (View on GitHub)

 1name: "Spam: Item giveaway spam template"
 2description: "This detection rule matches on observed html templates impersonating multiple popular brands used to deliver spam.  Often the lure leverages a theme of item giveaways or a chance to win an item for completing a survey."
 3type: "rule"
 4severity: "low"
 5source: |
 6  type.inbound
 7  and (not profile.by_sender().solicited or sender.email.email == "")
 8  // not high trust sender domains
 9  and not (
10    sender.email.domain.root_domain in $high_trust_sender_root_domains
11    and coalesce(headers.auth_summary.dmarc.pass, false)
12  )
13  and regex.icontains(body.html.raw,
14                      '<(?:div|body)[^\>]*\>\s*<a href=(?:\x22[^\>]+)\>\s*[^\n]*<br>\s*<img src=(?:\x22[^\>]+)\>\s*\<img src=(?:\x22[^\>]+)\><\/a>\s*<br>\s*<a href=(?:\x22[^\>]+)\>\s*\<img src=(?:\x22[^\>]+)\>\s*\<img src=(?:\x22[^\>]+)\><\/a>\s*<br>',
15                      '<center>(?:<[^\>]+>)*<a href=(?:\x22[^\>]+)\>\s*[^\n]*<img src=(?:\x22[^\>]+)\>\s*\<img src=(?:\x22[^\>]+)\>\s*<br>\s*\<img src=(?:\x22[^\>]+)\><\/a>'
16  )  
17attack_types:
18  - "Spam"
19tactics_and_techniques:
20  - "Image as content"
21detection_methods:
22  - "Content analysis"
23  - "HTML analysis"
24  - "Sender analysis"
25  - "Exif analysis"
26id: "06a5f93b-dff1-583a-a3b4-dd0182c11bb7"
to-top