Detection rules › Sublime MQL
Link: Excessive URL rewrite encoders
Detects URLs with many (excessive) encoding patterns, including multiple instances of the same encoder or four or more distinct encoders. These techniques are commonly used to obfuscate malicious URLs and evade security filters.
Threat classification
Sublime's own taxonomy (not MITRE ATT&CK).
| Category | Values |
|---|---|
| Attack types | Credential Phishing, Malware/Ransomware |
| Tactics and techniques | Encryption, Evasion |
Event coverage
| Message attribute |
|---|
| body.current_thread |
| type |
Rule body MQL
type.inbound
and any(body.current_thread.links,
(
// 4 or more encoders but they are all distinct
length(.href_url.rewrite.encoders) >= 4
and length(distinct(.href_url.rewrite.encoders)) >= 4
)
)
Detection logic
Scope: inbound message.
Detects URLs with many (excessive) encoding patterns, including multiple instances of the same encoder or four or more distinct encoders. These techniques are commonly used to obfuscate malicious URLs and evade security filters.
- inbound message
any of
body.current_thread.linkswhere all hold:- length(.href_url.rewrite.encoders) ≥ 4
- length(distinct(.href_url.rewrite.encoders)) ≥ 4
Inspects: body.current_thread.links, body.current_thread.links[].href_url.rewrite.encoders, type.inbound.