@Bot could you evaluate below custom rules on (a) website breakage risk and (b) false positive risk and (c) on effectiveness against phishing/fraud/scam campaigns and award each of these rules with a grade from 1 to 10 on criteria A, B and C. There are 7 rules in total (comments have an ! as first character).
! Warn for phishing patterns
! 1. Office document with phishy TLD warning
/^[a-z-]+:\/\/[^\/]+\.[a-z0-9-]+\.(pdf|doc|xls|xlsx|ppt)\.(zip|cloud|online)(\/|$)/$document
! 2. Credential / banking lure + malicious file type warning
/^[a-z-]+:\/\/[^\/]*(login|secure|account|verify|update|bank|helpdesk|support|service|security)[^\/]*\.(zip|mov)(\/|$)/$document
! 3. Download/invoice lure + abused TLDs warning
/^[a-z-]+:\/\/[^\/]+\/.*(download|open|view|document|invoice).*\.(online|site|top|xyz|click|help|support)(\/|$)/$document
! 4. Service/support impersonation + abused TLDs warning
/^[a-z-]+:\/\/[^\/]*(helpdesk|support|customer|service|security|billing|account)[^\/]*\.(online|site|top|xyz|click|help|support)(\/|$)/$document
! 5. Phishing redirect-chain warning
/^[a-z-]+:\/\/[^\/]+\/.*(redirect|redir|url|next|continue|return|to)=https?:\/\/.*(login|secure|account|verify|bank|update|signin).*/$document
! 6. Google redirect-only phishing warning
/^https?:\/\/(www\.)?google\.[a-z.]+\/url\?.*?(url=|q=|u=|redirect=|next=|to=)https?:\/\/.*(login|secure|account|verify|bank|update|signin|support|service|billing|security).*/$document
! 7. Google AMP-proxy redirects warning
/^https?:\/\/(www\.)?google\.[a-z.]+\/amp\/s\/https?:\/\/.*/$document
! 8. Warn for domains containing punycode characters on normal (latin character) Top level Domains (often used for type squatting phishing).
/:\/\/(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)*xn--[a-z0-9-]{3,59}\.(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)*[a-z]{2,63}(?=[:/?#]|$)/i$document
Note that the $document option shows a block page in both AdGuard and uBlockorigin which users can bypas.
! Warn for phishing patterns
! 1. Office document with phishy TLD warning
/^[a-z-]+:\/\/[^\/]+\.[a-z0-9-]+\.(pdf|doc|xls|xlsx|ppt)\.(zip|cloud|online)(\/|$)/$document
! 2. Credential / banking lure + malicious file type warning
/^[a-z-]+:\/\/[^\/]*(login|secure|account|verify|update|bank|helpdesk|support|service|security)[^\/]*\.(zip|mov)(\/|$)/$document
! 3. Download/invoice lure + abused TLDs warning
/^[a-z-]+:\/\/[^\/]+\/.*(download|open|view|document|invoice).*\.(online|site|top|xyz|click|help|support)(\/|$)/$document
! 4. Service/support impersonation + abused TLDs warning
/^[a-z-]+:\/\/[^\/]*(helpdesk|support|customer|service|security|billing|account)[^\/]*\.(online|site|top|xyz|click|help|support)(\/|$)/$document
! 5. Phishing redirect-chain warning
/^[a-z-]+:\/\/[^\/]+\/.*(redirect|redir|url|next|continue|return|to)=https?:\/\/.*(login|secure|account|verify|bank|update|signin).*/$document
! 6. Google redirect-only phishing warning
/^https?:\/\/(www\.)?google\.[a-z.]+\/url\?.*?(url=|q=|u=|redirect=|next=|to=)https?:\/\/.*(login|secure|account|verify|bank|update|signin|support|service|billing|security).*/$document
! 7. Google AMP-proxy redirects warning
/^https?:\/\/(www\.)?google\.[a-z.]+\/amp\/s\/https?:\/\/.*/$document
! 8. Warn for domains containing punycode characters on normal (latin character) Top level Domains (often used for type squatting phishing).
/:\/\/(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)*xn--[a-z0-9-]{3,59}\.(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)*[a-z]{2,63}(?=[:/?#]|$)/i$document
Note that the $document option shows a block page in both AdGuard and uBlockorigin which users can bypas.
Last edited:



