Skip to content

Commit

Permalink
New + updated Zip attachment insights (#2139)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkamdjou authored Nov 20, 2024
1 parent 0e7a302 commit ecf3a6f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions insights/attachments/encrypted_zip_attachment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: "Encrypted zip attachment"
type: "query"
source: |
any(attachments,
(.file_type == "zip" or .file_extension == "zip")
and any(file.explode(.),
any(.flavors.yara, . == 'encrypted_zip') or .scan.zip.encrypted
)
)
severity: "low"
tags:
- "Suspicious attachments"
2 changes: 1 addition & 1 deletion insights/attachments/encrypted_zip_inside.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Files inside encrypted zip"
name: "Files inside zip attachment"
type: "query"
source: |
map(filter(attachments, .file_extension == "zip"),
Expand Down

0 comments on commit ecf3a6f

Please sign in to comment.