Open Redirect: bananaguide.com

Message contains use of the bananaguide.com redirect with url parameter. This has been exploited in the wild.

Sublime rule (View on GitHub)

 1name: "Open Redirect: bananaguide.com"
 2description: |
 3    Message contains use of the bananaguide.com redirect with url parameter. This has been exploited in the wild.
 4type: "rule"
 5severity: "medium"
 6source: |
 7  type.inbound
 8  and any(body.links,
 9          .href_url.domain.domain == "bananaguide.com"
10          and .href_url.path == "/thru.php"
11          and length(.href_url.query_params_decoded["url"]) > 0
12          // Make sure the redirect is not going back to bananaguide.com
13          and not any(.href_url.query_params_decoded["url"],
14                      strings.parse_url(.).domain.root_domain == "bananaguide.com"
15          )
16  )
17  and not sender.email.domain.root_domain == "bananaguide.com"
18  
19  // negate highly trusted sender domains unless they fail DMARC authentication
20  and (
21    (
22      sender.email.domain.root_domain in $high_trust_sender_root_domains
23      and not headers.auth_summary.dmarc.pass
24    )
25    or sender.email.domain.root_domain not in $high_trust_sender_root_domains
26  )  
27attack_types:
28  - "Credential Phishing"
29  - "Malware/Ransomware"
30tactics_and_techniques:
31  - "Open redirect"
32detection_methods:
33  - "Sender analysis"
34  - "URL analysis"
35id: "92fecf26-2a60-5db8-8ba8-98e08b53f686"
to-top