Skip to content

Commit f3bbd5a

Browse files
[PR #3464] added rule: Suspicious mailer received from Gmail servers
1 parent 0cfd839 commit f3bbd5a

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: "Suspicious mailer received from Gmail servers"
2+
description: "Mailer is atypical of sends from Gmail infrastructure. Observed sending callback phishing and general spam."
3+
type: "rule"
4+
severity: "low"
5+
source: |
6+
type.inbound
7+
and (
8+
strings.ilike(headers.mailer,
9+
"Microsoft CDO for Windows 2000",
10+
"PHPMailer*",
11+
"nodemailer*"
12+
)
13+
or any(headers.hops, any(.fields, .value == "Produced By Microsoft MimeOLE"))
14+
)
15+
and (
16+
any(headers.hops, .index == 0 and .received.server.raw in ("smtp.gmail.com", "mx.google.com"))
17+
or headers.return_path.domain.root_domain in ("gmail.com", "googlemail.com")
18+
)
19+
and not profile.by_sender().any_messages_benign
20+
tags:
21+
- "Attack surface reduction"
22+
attack_types:
23+
- "Callback Phishing"
24+
- "Spam"
25+
tactics_and_techniques:
26+
- "Free email provider"
27+
- "Social engineering"
28+
detection_methods:
29+
- "Header analysis"
30+
id: "f21c50a0-759b-506a-8929-51a47ab7c49d"
31+
og_id: "f05f04ee-1234-5a28-98d9-54510c62e1f6"
32+
testing_pr: 3464
33+
testing_sha: 66b6e704e8ab84e05055053ab6a514b34ce3bd98

0 commit comments

Comments
 (0)