Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions insights/headers/phishing_simulation_knowbe4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,19 @@ source: |
or (
length(headers.ips) == 0
and length(headers.hops) == 1
and any(headers.hops, any(.fields, .name == "X-PHISHTEST"))
and headers.return_path.domain.root_domain == "knowbe4.com"
and not sender.email.domain.root_domain == "knowbe4.com"
and any(headers.hops,
any(.fields, strings.icontains(.value, "injector.psm.knowbe4.com"))
and any(headers.hops, any(.fields, strings.starts_with(.name, "X-PHISH")))
and (
(
headers.return_path.domain.root_domain == "knowbe4.com"
and any(headers.hops,
any(.fields,
strings.icontains(.value, "injector.psm.knowbe4.com")
)
)
)
or any(headers.hops,
any(.fields, strings.icontains(.value, "gmailapi.google.com"))
)
)
)
)
Expand Down
Loading