Hash blocklists focus on email content.  They help you filter malicious email from large ISPs that can't be filtered by IP or domain blocklists. Additionally, they can be used to block emails containing malware files and cryptowallet addresses.  Here's how they work, and the value they bring to your email security infrastructure.

Doodle with computer and open email with a do not enter sign

IP & Domain Blocklists (DNSBLs) are very effective at filtering malicious emails. However, they do have one big limitation: How do you block an email sent from a compromised account at Gmail, Hotmail or any other large email service provider (ESP)?

You can’t block all email from these ESPs. But, by creating a hash of a compromised email account, emails from the hacked account can be blocked, while protecting the privacy of its owner. Additionally, this approach can be expanded to cover other areas of concern.

What’s a Hash Blocklist?

In simple terms, a Hash Blocklist (HBL) is a list of cryptographic hashes derived from malicious content. Spamhaus’ HBL has been designed to be extendable i.e., subsets of the list can detail different areas of malicious content. Compromised email addresses, cryptowallets and malware files are all included in Spamhaus’ HBL.

Users have seen >30% of spam messages being caught by this blocklist alone – with one customer confirming it detected 873 mails with Bitcoin fraud in less than 2 weeks! When applied correctly during the post-data phase, it can be a powerful asset to protect your mail stream – so let’s take a look at how it works in more detail.

How do you block emails from compromised accounts belonging to large email service providers?

Let’s imagine a case where Vicky’s Gmail account is compromised. An attacker can use Vicky’s credentials to send an email message coming directly from Vicky. The usual ‘hooks’ used in email reputation systems won’t work because the message is coming from Gmails’ server, a legitimate server providing services to millions of people. Reviewing the reputation of the sending IP address won’t help, nor will the sending domain.

However, when Spamhaus assesses an email account to be compromised, we will associate a hash to that specific email address. This allows users to query the HBL and block emails that are coming from that hacked email account, that otherwise would have gone undetected.

How does a Malware Hash Blocklist work?

Similarly to a malicious email address, where we have seen a file to be associated with malware, we assign that file with a cryptographic hash. So, even if no malicious IPs or domains can be associated with the email message containing the malware file, the Malware HBL can be queried for that hash in the “file” context. The Spamhaus HBL return codes will tell you one of two things:

  1. If it’s malicious: here the queried file has been analyzed by Spamhaus Malware Labs and is recognized as known malware. The malware family is also provided in the return record.
  2. If it’s suspicious: here the queried file has been observed in spam, and its nature makes it suspicious. While Spamhaus Malware Labs hasn’t confirmed its maliciousness, the file still should be treated with extreme caution.

A malware file can have a hash associated with it and be listed on the Malware HBL within only 30 seconds of detection. This is as a result of our researchers’ advanced collection and agile dissemination methods.

How does a Cryptowallet Hash Blocklist work?

Think of the “sextortion” scam emails, which are currently so prevalent. You know the ones – they look something like the one below:

Example of a sextortion email

The sextortion email includes a bitcoin address of where the victim is to send money. Even if the sending email doesn’t trigger a rejection based on IP or domain reputation, the bitcoin address can be used to determine that the email is malicious in nature and result in the email being blocked anyway.

Never-ending possibilities

Virtually anything that can be extracted from an email message can be hashed. This data then can be used to create a new sub-list, thus increasing the number of reputational hooks available to you. The Spamhaus HBL helps postmasters and filtering software identify and block emerging threats now and, due to its extensible nature, well into the future.

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

WEBINAR | Beyond IP and domain reputation – increasing block rates

7 July 2020

Video

Watch this on-demand webinar with Emanuele and Matt from The Spamhaus Project to learn how to increase your block rates, using content blocklists. These DNSBLs an help you block malicious email from large ISPs you previously wouldn't have been able to block.

Why you should use domain and hash blocklists

18 May 2020

Blog

It's a well-known fact that filtering emails using IP blocklists (DNSBLs) blocks the vast majority of malicious emails. It's effective and economical, using minimal computational power. So why should you also use domain and hash blocklists for filtering?

Email blocklists – buy cheap, buy twice!

29 October 2019

Blog

As IT budgets and resources are squeezed it's understandable to shop around, be it for hardware, software, or threat intelligence data, for that matter. But beware...not all email blocklists (DNSBLs) are equal.