Detection rules › Sublime MQL

Open redirect: Bitrix24 URL Path

Severity
medium
Type
rule
Source
github.com/sublime-security/sublime-rules

Message contains use of the Bitrix24 redirect. This has been exploited in the wild for phishing.

Threat classification

Sublime's own taxonomy (not MITRE ATT&CK).

CategoryValues
Attack typesCredential Phishing
Tactics and techniquesOpen redirect

Event coverage

Rule body MQL

type.inbound
and any(body.links,
        strings.istarts_with(.href_url.path, '/bitrix/')
        and strings.iends_with(.href_url.path, '.php')
        and strings.icontains(.href_url.query_params, 'goto=')
)

// negate highly trusted sender domains unless they fail DMARC authentication
and (
  (
    sender.email.domain.root_domain in $high_trust_sender_root_domains
    and not headers.auth_summary.dmarc.pass
  )
  or sender.email.domain.root_domain not in $high_trust_sender_root_domains
)

Detection logic

Scope: inbound message.

Message contains use of the Bitrix24 redirect. This has been exploited in the wild for phishing.

  1. inbound message
  2. any of body.links where all hold:
    • .href_url.path starts with '/bitrix/'
    • .href_url.path ends with '.php'
    • .href_url.query_params contains 'goto='
  3. any of:
    • all of:
      • sender.email.domain.root_domain in $high_trust_sender_root_domains
      • not:
        • headers.auth_summary.dmarc.pass
    • sender.email.domain.root_domain not in $high_trust_sender_root_domains

Inspects: body.links, body.links[].href_url.path, body.links[].href_url.query_params, headers.auth_summary.dmarc.pass, sender.email.domain.root_domain, type.inbound. Sensors: strings.icontains, strings.iends_with, strings.istarts_with. Reference lists: $high_trust_sender_root_domains.

Indicators matched (3)

FieldMatchValue
strings.istarts_withprefix/bitrix/
strings.iends_withsuffix.php
strings.icontainssubstringgoto=