Open redirect: k-mil.net

Message contains use of the k-mil.net open redirect. This has been exploited in the wild.

Sublime rule (View on GitHub)

 1name: "Open redirect: k-mil.net"
 2description: |
 3    Message contains use of the k-mil.net open redirect. This has been exploited in the wild.
 4type: "rule"
 5severity: "medium"
 6source: |
 7  type.inbound
 8  and any(body.links,
 9          .href_url.domain.root_domain == "k-mil.net"
10          and strings.iends_with(.href_url.path, 'official_url')
11          and strings.icontains(.href_url.query_params, 'u=')
12          and not regex.icontains(.href_url.query_params,
13                                  'u=(?:https?(?:%3a|:))?(?:%2f|\/){2}[^&]*k-mil\.net(?:\&|\/|$)'
14          )
15  )
16  and not sender.email.domain.root_domain == "k-mil.net"
17  // negate highly trusted sender domains unless they fail DMARC authentication
18  and not (
19    sender.email.domain.root_domain in $high_trust_sender_root_domains
20    and coalesce(headers.auth_summary.dmarc.pass, false)
21  )  
22attack_types:
23  - "Credential Phishing"
24  - "Malware/Ransomware"
25tactics_and_techniques:
26  - "Open redirect"
27detection_methods:
28  - "Sender analysis"
29  - "URL analysis"
30id: "9f422356-1ee1-5135-9132-a45cf14c802e"
to-top