Skip to content

Commit ebc4f06

Browse files
[Test Rules] [PR #4386] added rule: Attachment: TAR file with RAR type and SPF failure
1 parent c86f275 commit ebc4f06

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: "Attachment: TAR file with RAR type and SPF failure"
2+
description: "Detects messages with TAR file extensions that are actually RAR file types, combined with SPF authentication failure. This mismatch between file extension and actual file type may indicate an evasion technique."
3+
type: "rule"
4+
severity: "high"
5+
source: |
6+
type.inbound
7+
and not headers.auth_summary.spf.pass
8+
and any(attachments, .file_extension =~ "tar" and .file_type =~ "rar")
9+
10+
attack_types:
11+
- "Malware/Ransomware"
12+
tactics_and_techniques:
13+
- "Evasion"
14+
detection_methods:
15+
- "Archive analysis"
16+
- "File analysis"
17+
- "Header analysis"
18+
- "Sender analysis"
19+
id: "44ad8426-9203-52e2-849b-7290bdd1f4b7"
20+
og_id: "364a0ea6-8011-5de2-b4c5-5eff8134037a"
21+
testing_pr: 4386
22+
testing_sha: a3ee1606a6185a01d44ff8ebc340468bbb5d1140

0 commit comments

Comments
 (0)