Skip to content

Commit e25a28a

Browse files
[PR #3457] added rule: Brand impersonation: Paperless Post
1 parent 02b12a2 commit e25a28a

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: "Brand impersonation: Paperless Post"
2+
description: "Detects messages containing multiple images hosted on ppassets.com (Paperless Post's asset domain) but with fewer than 3 legitimate Paperless Post links, while excluding authentic forwards/replies and messages from verified Paperless Post domains with valid DMARC authentication."
3+
type: "rule"
4+
severity: "high"
5+
source: |
6+
type.inbound
7+
and strings.contains(body.html.raw, 'ppassets.com')
8+
and length(filter(html.xpath(body.html, '//img/@src').nodes,
9+
// calling parse_url allows url decoding to help us
10+
strings.parse_url(.raw).domain.root_domain == 'ppassets.com'
11+
)
12+
) >= 2
13+
and length(filter(body.links,
14+
.href_url.domain.domain == "links.paperlesspost.com"
15+
)
16+
) < 3
17+
and not (
18+
(subject.is_forward or subject.is_reply)
19+
and (length(headers.references) != 0 or headers.in_reply_to is not null)
20+
and length(body.previous_threads) > 0
21+
)
22+
and not (
23+
sender.email.domain.root_domain == "paperlesspost.com"
24+
and headers.auth_summary.dmarc.pass
25+
)
26+
27+
attack_types:
28+
- "Credential Phishing"
29+
- "Malware/Ransomware"
30+
tactics_and_techniques:
31+
- "Impersonation: Brand"
32+
detection_methods:
33+
- "Content analysis"
34+
- "Header analysis"
35+
- "HTML analysis"
36+
- "Sender analysis"
37+
- "URL analysis"
38+
id: "bc42e605-e209-565f-aa99-de14bf398910"
39+
og_id: "e9ec5e09-e50f-5d02-ad14-35a1a1442960"
40+
testing_pr: 3457
41+
testing_sha: e3fec67c8215b08a3dd27147b29f0ffda2d04c0d

0 commit comments

Comments
 (0)