When it comes to security, we all want increased accuracy… so we’re giving it to you. We're introducing hostnames for compromised website listings.

EDITORS NOTE Feb 1st, 2022: The Spamhaus Domain Blocklist (DBL) with hostnames is now in production and can automatically be accessed by anyone using the DBL via the Data Query Service or Rsync.

Listing legitimate domains

Part of the Spamhaus Domain Blocklist (DBL) details legitimate domains that cybercriminals have compromised; it’s called “abused-legit.”

A legitimate domain with a good reputation is a precious commodity to a bad actor. It can assist them with avoiding immediate detection (and the subsequent listing on a blocklist), enabling them to run a malicious campaign for longer. Therefore, it will come as no surprise that it’s worth their while to go to the effort of hacking a content management system (CMS), for example, WordPress, to get their hands on a domain that has been nurtured and used appropriately.

Once a web server or CMS is compromised, a bad actor places a file to redirect visitors’ browsers to their malicious website – a phishing or malware dropper site. Then they use the legitimate domain’s URL in emails, texts or posts, to lure people to the fraudulent webpage(s).

There’s a drawback to these kinds of listings…

In these circumstances, when a compromised domain is listed, the second-level domain and top-level domain (TLD) are listed in the DBL; however, this can cause issues.

Take, for example, a multi-site like the well-known website design site, wix.com, which has millions of subdomains associated with its second-level domain. Every free Wix site has the following URL structure:

URL with labels to show each part that makes up the URL

So if https://example-accountname.wixsite.com/example_website were compromised, then the second level and TLD would be listed, i.e., “wixsite.com” in the DBL. This would block every free Wix website URL. Not ideal.

Hostnames to the rescue

To prevent this from happening, the DBL abused-legit will soon list hostnames instead.

As you can see from the above image, a hostname consists of the subdomain(s), the second-level domain, and the TLD. This means the listing is more targeted. In the case of the WIX example, only the compromised site will be listed and blocked, not all of them.

What are the benefits?

Here are just a few of the benefits of this change to the DBL:

  • Users of the DBL abused-legit will see a reduction in the number of false positives they experience.
  • Users of the DBL abused-legit will be able to make more informed decisions regarding how they treat email messages, e.g., this message needs to be rejected, not placed in the spam folder.
  • Legitimate domain owners won’t be inconvenienced. No longer will their domain be listed on a blocklist when another website on the same second-level domain is compromised.

When are these changes coming to the DBL?

From Tuesday, February 1st, 2022, the DBL abused-legit will be listing hostnames for users of the Data Query Service (DQS) and rsync. It’s worth noting that rsync users will need to check their configuration (see below for further information).

Hostnames will not be available to those of you who use the Spamhaus Project’s free DNSBLs available via their Public Mirrors. So we recommend you move across to the free Data Query Service – reconfiguration only takes minutes, and you get access to additional blocklists.

Want to test the beta version of the DBL with hostnames?

If you want to test the new DBL with hostnames, it’s now available via the Spamhaus Project’s free public mirrors dbl-beta.spamhaus.org.

How? If you’re using one of our plug-ins for SpamAssassin or Rspamd we have beta versions to use alongside the beta DBL with hostnames. See the configuration updates here for SpamAssassin or here for Rspamd.

How long will the beta zone be available? Only until Monday, January 31st, 2022. So REMEMBER – put a reminder in your calendar to move back to dbl.spamhaus.org on January 31st, 2022!!!

Using the DBL via rsync?

As mentioned, on February 1st, 2022, we will change the DBL file you currently download to incorporate hostnames for abused-legit rather than wild card domains.

For anyone consuming the data in an rbldnsd setup, this shouldn’t cause any issues. However, if you’re doing something a little different with the data, you may need to make changes, so please check now, not on January 31st, 2022.

Using legacy SpamAssassin or Rspamd configurations?

If you rely on legacy configurations for either of the above spam filters and do NOT query full hostnames but reduce them to the base domain, you won’t be able to take advantage of the hostname-based component unless you tweak (a highly technical term) your system/config accordingly. This won’t cause you operational issues, but you won’t be able to use abused-legit listings out of the box.

Also, remember that if you want to test the beta version and use our plug-ins, for either SpamAssassin or Rspamd, you need to update the code (see “Want to test the beta version of the DBL with hostnames”).

We’d love your feedback

If you are using the beta zone and have any comments, issues, or suggestions, please reach out to us with your feedback. You can either send us a message using this form or send us a tweet.

Related Products

Data Query Service (DQS)

Spamhaus’ Data Query Service (DQS) is an affordable and effective solution to protect your email infrastructure and users.

Using your existing email protection solution, you will be able to block spam and other related threats including malware, ransomware, and phishing emails.

The service has never failed and utilizes the longest established DNSBLs in the industry.

  • Proactive & preventative
  • Save on email infrastructure & management costs
  • Actionable

Resources

If you query Spamhaus Projects’ DNSBLs via Cloudflare’s DNS move to the free Data Query Service

17 January 2022

News

Are you currently using the Spamhaus Project’s DNS Blocklists (DNSBLs) and use Cloudflare’s DNS? If you've answered "yes" to both of these questions, you need to make some changes to your email infrastructure.

When doorbells go rogue!

19 October 2021

Blog

Here's a story of doorbells, specific software development kits (SDKs), proxies, and miscreants using your home network to send spam.

A new testing tool for blocklist users – The Blocklist Tester

28 September 2021

Blog News

There's now a tool to test if your email servers are correctly configured to use the Spamhaus blocklists, called the Blocklist Tester.