Skip to content

Commit a4f16f8

Browse files
[PR #3113] modified rule: Attachment: Base64 encoded bash command in filename
1 parent 3284aff commit a4f16f8

File tree

1 file changed

+19
-15
lines changed

1 file changed

+19
-15
lines changed
Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
source: |-
1+
name: "Attachment: Base64 encoded bash command in filename"
2+
description: "This rule detects a fileless attack technique where a malicious payload is encoded directly into a filename. This technique, used by threats like VShell. The rule is designed to find these malicious filenames both in direct attachments and within archived files (like .zip, .rar, etc.)."
3+
authors:
4+
- twitter: "vector_sec"
5+
type: rule
6+
severity: high
7+
source: |
28
type.inbound
39
and length(attachments) > 0
410
and any(attachments,
@@ -11,21 +17,19 @@ source: |-
1117
and any(beta.scan_base64(.file_name), length(.) > 1)
1218
)
1319
)
14-
type: rule
15-
name: 'Attachment: Base64 encoded bash command in filename'
16-
authors:
17-
- twitter: "vector_sec"
18-
description: This rule detects a fileless attack technique where a malicious payload
19-
is encoded directly into a filename. This technique, used by threats like VShell.
20-
The rule is designed to find these malicious filenames both in direct attachments
21-
and within archived files (like .zip, .rar, etc.).
20+
attack_types:
21+
- "Malware/Ransomware"
22+
tactics_and_techniques:
23+
- "Encryption"
24+
- "Evasion"
25+
- "Suspicious Attachment"
26+
detection_methods:
27+
- "Archive analysis"
28+
- "File analysis"
29+
- "Content analysis"
30+
id: "0fb1974d-8fd6-556b-a352-d3c43e1259b1"
2231
references:
2332
- https://www.trellix.com/blogs/research/the-silent-fileless-threat-of-vshell/
24-
tags:
25-
- Suspicious Attachment
26-
- Malware
27-
severity: high
28-
id: "0fb1974d-8fd6-556b-a352-d3c43e1259b1"
2933
og_id: "819f69c8-91c2-5261-8c13-d177c46bff66"
3034
testing_pr: 3113
31-
testing_sha: 28fb8c0bb5d109505f6176bd07727cf7945163c0
35+
testing_sha: 5002b3c72a22f9f236c1cbf80a982274dcd80a66

0 commit comments

Comments
 (0)