diff --git a/detection-rules/open_redirect_qrxtech.yml b/detection-rules/open_redirect_qrxtech.yml new file mode 100644 index 00000000000..a886df75f7d --- /dev/null +++ b/detection-rules/open_redirect_qrxtech.yml @@ -0,0 +1,35 @@ +name: "Open Redirect: qrxtech.com" +description: | + Message contains use of the qrxtech.com open redirect. This has been exploited in the wild. +type: "rule" +severity: "medium" +source: | + type.inbound + and any(body.links, + .href_url.domain.root_domain == "qrxtech.com" + and strings.iends_with(.href_url.path, 'XMLServer.aspx') + and strings.icontains(.href_url.query_params, 'HREF=') + and strings.icontains(.href_url.query_params, 'FUNC=') + and not strings.icontains(.href_url.query_params, + 'HREF=(?:https?(?:%3a|:))?(?:%2f|\/){2}[^&]*qrxtech\.com(?:\&|\/|$)' + ) + ) + // remove uses that originate from qrxtech.com + and not any(headers.domains, .root_domain == "qrxtech.com") + // 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 + ) +attack_types: + - "Credential Phishing" + - "Malware/Ransomware" +tactics_and_techniques: + - "Open redirect" +detection_methods: + - "Sender analysis" + - "URL analysis" +id: "b790552a-b115-50f8-b1ed-9fb3731824df"