Open redirect: obunsha.co.jp

Detects messages containing Obunsha's passnavi redirect service that can be exploited to redirect users to malicious sites. This has been used in phishing campaigns.

Sublime rule (View on GitHub)

 1name: "Open redirect: obunsha.co.jp"
 2description: |
 3  Detects messages containing Obunsha's passnavi redirect service that can be exploited
 4  to redirect users to malicious sites. This has been used in phishing campaigns.  
 5type: "rule"
 6severity: "medium"
 7source: |
 8  type.inbound
 9  and any(body.links,
10          // Look for Obunsha passnavi URLs
11          .href_url.domain.domain == "passnavi.obunsha.co.jp"
12          and strings.icontains(.href_url.path, '/ct.html')
13          and strings.icontains(.href_url.query_params, 'uri=')
14          // Make sure it's not redirecting back to obunsha domains
15          and not regex.icontains(.href_url.query_params,
16                                  'uri=(?:https?(?:%3a|:))?(?:%2f|\/){2}[^&]*obunsha\.co\.jp(?:\&|\/|$|%2f)'
17          )
18  )
19  // Exclude legitimate Obunsha domains as senders
20  and not sender.email.domain.root_domain == "obunsha.co.jp"
21  
22  // negate highly trusted sender domains unless they fail DMARC authentication
23  and (
24    (
25      sender.email.domain.root_domain in $high_trust_sender_root_domains
26      and not headers.auth_summary.dmarc.pass
27    )
28    or sender.email.domain.root_domain not in $high_trust_sender_root_domains
29  )  
30attack_types:
31  - "Credential Phishing"
32  - "Malware/Ransomware"
33tactics_and_techniques:
34  - "Open redirect"
35detection_methods:
36  - "Sender analysis"
37  - "URL analysis"
38id: "e972dacf-0316-57d0-b135-38517042b9e8"
to-top