Hi, I thought to share some uBol rules to increase protection. They are grouped by subject.
IMPORTANT: DON'T COPY THEM ALL IN, READ THE RULE EXPLANATION (starts with hashtag #) and decide to add them to your list.
# --------------------------------------------------------------------------------------------------
# GROUP: fraud/scam/phishing related
# these rules have a very low change of website breakage.
# --------------------------------------------------------------------------------------------------
# GROUP: much abused COUNTRY Top Level Domains
# copy the regex rule and ask CHATGPT what countries are listed and decide to include it or not
# --------------------------------------------------------------------------------------------------
# GROUP: much abused GENERIC Top Level Domains (spilt in 3 groups to overcome regex limitation in uBol)
# these rules have a change of website breakage, check whether you use
# --------------------------------------------------------------------------------------------------
# GROUP: non latin character (puny-code) restrictions
# don't apply these when your language contains a lot of non-latin characters
IMPORTANT: DON'T COPY THEM ALL IN, READ THE RULE EXPLANATION (starts with hashtag #) and decide to add them to your list.
# --------------------------------------------------------------------------------------------------
# GROUP: fraud/scam/phishing related
# these rules have a very low change of website breakage.
# --------------------------------------------------------------------------------------------------
# GROUP: much abused COUNTRY Top Level Domains
# copy the regex rule and ask CHATGPT what countries are listed and decide to include it or not
# --------------------------------------------------------------------------------------------------
# GROUP: much abused GENERIC Top Level Domains (spilt in 3 groups to overcome regex limitation in uBol)
# these rules have a change of website breakage, check whether you use
# --------------------------------------------------------------------------------------------------
# GROUP: non latin character (puny-code) restrictions
# don't apply these when your language contains a lot of non-latin characters
Code:
# GROUP fraud/scam/phishing related
# 1. Double extension + high-risk TLD (zip/mov)
priority: 5
action:
type: block
condition:
regexFilter: "\\.(pdf|doc|xls|xlsx|ppt)\\.(zip|mov)(\\b|/)"
resourceTypes:
- main_frame
---
# 2. Account/login/support phishing combined with zip/mov payload
priority: 5
action:
type: block
condition:
regexFilter: "(login|secure|account|verify|update|bank|helpdesk|support|service|security).*(\\.zip|\\.mov)(\\b|/)"
resourceTypes:
- main_frame
---
# 3. Scam TLDs combined with file-like deception patterns
priority: 5
action:
type: block
condition:
regexFilter: "(download|open|view|document|invoice).*(\\.(online|site|top|xyz|click|help|support))(\\b|/)"
resourceTypes:
- main_frame
---
# 4. Helpdesk/support impersonation + scam TLDs
priority: 5
action:
type: block
condition:
regexFilter: "(helpdesk|support|customer|service|security|billing|account).*(\\.(online|site|top|xyz|click|help|support))(\\b|/)"
resourceTypes:
- main_frame
---
# GROUP: much abused COUNTRY Top Level Domains
# 1. Small islands / offshore / disposable hosting-heavy ccTLDs
priority: 5
action:
type: block
condition:
regexFilter: "\\.(cc|cx|nf|ms|vg|tc|gd|gg|sh|fm|tv|ws|to|vu|ki|nr|pw)(\\b|/)"
resourceTypes:
- main_frame
---
# 2. Post-Soviet / Eastern Europe abuse clusters
priority: 5
action:
type: block
condition:
regexFilter: "\\.(ru|su|by|kz|kg|uz|tj|tm)(\\b|/)"
resourceTypes:
- main_frame
---
# 3. Far east: SAR related countries abuse clusters
priority: 5
action:
type: block
condition:
regexFilter: "\\.(cn|hk|mo|kp)(\\b|/)"
resourceTypes:
- main_frame
---
# 4. Middle East high-abuse observed TLDs
priority: 5
action:
type: block
condition:
regexFilter: "\\.(ir|iq|sy|ye)(\\b|/)"
resourceTypes:
- main_frame
---
# 5. South & Central America high-abuse observed TLDs
priority: 5
action:
type: block
condition:
regexFilter: "\\.(ag|bo|bz|cu|do|gt|hn|jm|ni|pa|pr|py|sv|tt|uy|ve)(\\b|/)"
resourceTypes:
- main_frame
---
# 6. South East Asia high-abuse observed TLDs
priority: 5
action:
type: block
condition:
regexFilter: "\\.(af|bd|bt|la|lk|mm|mn|np|pk|ph)(\\b|/)"
resourceTypes:
- main_frame
---
# 7. African ccTLDs (abuse-clustered)
priority: 5
action:
type: block
condition:
regexFilter: "\\.(bj|bw|cf|cm|cv|ga|gh|ke|lr|mg|ml|mw|mz|na|ne|rw|sn|sl|so|ss|st|sz|td|tg|tz|ug|zm|zw)(\\b|/)"
resourceTypes:
- main_frame
---
# GROUP: much abused GENERIC Top Level Domains
# 1 Scam / high-abuse TLDs (group A split because regex filter maximum)
priority: 5
action:
type: block
condition:
regexFilter: "\\.(zip|mov|top|xyz|click|loan|work|support|help)(\\b|/)"
---
# 2 Scam / high-abuse TLDs (group B split because regex filter maximum)
priority: 5
action:
type: block
condition:
regexFilter: "\\.(online|site|live|store|fun|today|icu|info)(\\b|/)"
---
# 3 Scam / high-abuse TLDs ((group C split because regex filter maximum)
priority: 5
action:
type: block
condition:
regexFilter: "\\.(biz|pw|pro|monster|rest|host|cfd|cam|lol|uno)(\\b|/)"
---
# don't apply these when your language contains a lot of non-latin characters
# 1 Block everything from TLD containing a punycode (xn--)
priority: 5
action:
type: block
condition:
regexFilter: "\\.[^/]*xn--[^/]*(\\b|/)"
---
# 2 Block Punycode domains (non-ASCII domains encoded in Punycode)
priority: 5
action:
type: block
condition:
regexFilter: "xn--"
resourceTypes:
- main_frame
---
Last edited:
