Skip to content

Commit edaae03

Browse files
morriscodeID Generator
andauthored
Add detection rule for 7z archives containing RAR files (#3471)
Co-authored-by: ID Generator <hello@sublimesecurity.com>
1 parent e6c974f commit edaae03

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: "Attachment: 7z Archive Containing RAR File"
2+
description: "Detects 7z archive attachments that contain RAR files, which may be used to evade detection by nesting compressed file formats."
3+
type: "rule"
4+
severity: "medium"
5+
source: |
6+
type.inbound
7+
and any(attachments,
8+
(
9+
.file_extension in~ $file_extensions_common_archives
10+
and .file_type == "7z"
11+
)
12+
and any(file.expand_archives(.).files, .file_type == "rar")
13+
)
14+
tags:
15+
- "Attack surface reduction"
16+
attack_types:
17+
- "Malware/Ransomware"
18+
tactics_and_techniques:
19+
- "Evasion"
20+
detection_methods:
21+
- "Archive analysis"
22+
- "File analysis"
23+
id: "1a629bb4-931a-5395-bf22-da327d224d3c"

0 commit comments

Comments
 (0)