Skip to content

Commit

Permalink
Update link_sharepoint_attached_eml.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zoomequipd authored Dec 11, 2024
1 parent bade6cf commit decc15b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions detection-rules/link_sharepoint_attached_eml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,12 @@ source: |
and all(recipients.to,
.email.email == file.parse_eml(..).sender.email.email
)
),
// the attached message contains a very low number of hops, as if it was never sent
(
length(file.parse_eml(.).headers.hops) <= 2
or file.parse_eml(.).headers.return_path.email is null
)
)
)
Expand Down

0 comments on commit decc15b

Please sign in to comment.