Skip to content

Commit 2fd1608

Browse files
[Test Rules] [PR #4362] added rule: Attachment: ICS file with links to newly registered domains
1 parent d80d1f7 commit 2fd1608

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: "Attachment: ICS file with links to newly registered domains"
2+
description: "Detects calendar invite attachments (ICS files) containing links to domains registered within the last 30 days, which may indicate malicious calendar invitations designed to redirect users to suspicious websites."
3+
type: "rule"
4+
severity: "medium"
5+
source: |
6+
type.inbound
7+
and any(attachments,
8+
(
9+
.file_extension in~ ('ics')
10+
or .content_type in ("application/ics", "text/calendar")
11+
)
12+
//
13+
// This rule makes use of a beta feature and is subject to change without notice
14+
// using the beta feature in custom rules is not suggested until it has been formally released
15+
//
16+
and any(beta.file.parse_ics(.).events,
17+
any(.links, network.whois(.href_url.domain).days_old < 30)
18+
)
19+
)
20+
21+
22+
attack_types:
23+
- "Credential Phishing"
24+
- "Malware/Ransomware"
25+
tactics_and_techniques:
26+
- "Social engineering"
27+
detection_methods:
28+
- "File analysis"
29+
- "URL analysis"
30+
- "Whois"
31+
id: "3060cdf5-5cdb-5b64-8b65-5eb83ead5698"
32+
og_id: "9d8ea98f-4a4b-5e35-9c3f-d3a3ac11bdc4"
33+
testing_pr: 4362
34+
testing_sha: 557e30781bfd0a54d73fd08ba3f946ec4fcada7b

0 commit comments

Comments
 (0)