Skip to content

Commit

Permalink
Update attachment_small_txt_suspicious_link.yml (#2038)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdj45 authored Oct 23, 2024
1 parent 4df9974 commit fc58873
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions detection-rules/attachment_small_txt_suspicious_link.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ source: |
type.inbound
and any(attachments,
.content_type in~ ("text/plain", "text")
// negate calendar invites
and not (
.file_extension == "ics"
or .content_type in ("application/ics", "text/calendar")
)
and any(file.explode(.),
.size < 1000
and any(.scan.url.urls,
Expand Down

0 comments on commit fc58873

Please sign in to comment.