Skip to content

Commit

Permalink
Updating rule: attachment_any_html_unsolicited.yml (#855)
Browse files Browse the repository at this point in the history
  • Loading branch information
aidenmitchell authored Oct 13, 2023
1 parent 68f430f commit a0a8541
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions detection-rules/attachment_any_html_unsolicited.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,8 @@ source: |
type.inbound
and any(attachments, .file_extension in~ ('htm', 'html') or .file_type == "html")
and (
not profile.by_sender().solicited
or (
profile.by_sender().any_messages_malicious_or_spam
and not profile.by_sender().any_false_positives
)
not profile.by_sender().any_false_positives
and not profile.by_sender().solicited
)
tags:
- "Attack surface reduction"
Expand Down

0 comments on commit a0a8541

Please sign in to comment.