Body: No-reply footer template with copyright notice

Detects emails with a specific footer template including a specific gray color (#9d9d9d) applied to some text, as well as a fake copyright notice.

Sublime rule (View on GitHub)

 1name: "Body: No-reply footer template with copyright notice"
 2description: "Detects emails with a specific footer template including a specific gray color (#9d9d9d) applied to some text, as well as a fake copyright notice."
 3type: "rule"
 4severity: "medium"
 5source: |
 6  type.inbound
 7  and any(html.xpath(body.html, '//table/tbody/tr/td').nodes,
 8          strings.icontains(.raw, "#9d9d9d")
 9          and .inner_text == "Please do not reply to this email."
10  )
11  and any(html.xpath(body.html, '//table/tbody/tr/td').nodes,
12          strings.starts_with(.inner_text, "© ")
13          and strings.ends_with(.inner_text, ".")
14  )  
15attack_types:
16  - "Credential Phishing"
17tactics_and_techniques:
18  - "Impersonation: Brand"
19  - "Social engineering"
20detection_methods:
21  - "HTML analysis"
22  - "Content analysis"
23id: "9891ab38-5f62-5bfe-b740-d0ab6844eceb"
to-top