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 not (
21    sender.email.domain.root_domain in $high_trust_sender_root_domains
22    and coalesce(headers.auth_summary.dmarc.pass, false)
23  )  
24attack_types:
25  - "Credential Phishing"
26  - "Malware/Ransomware"
27tactics_and_techniques:
28  - "Open redirect"
29detection_methods:
30  - "Sender analysis"
31  - "URL analysis"
32id: "92fecf26-2a60-5db8-8ba8-98e08b53f686"
to-top