SecurityBrief Asia logo
Asia's leading source of cybersecurity and cyber-attack news
Story image

Misconfigured email servers open the door to spoofed emails from top domains

FYI, this story is more than a year old

Missing SPF records are a common and long-standing security issue that puts sensitive information at risk. To get a better idea of just how widespread the problem is, the Detectify team decided to scan the 500 top-ranked Alexa sites for it. We found that less than half of those domains have configured email authentication correctly to prevent spoofed emails being sent from their domains, which means that users are at risk of receiving false emails appearing to come from domains that they trust. To prevent spoofed emails, all systems must be manually configured correctly to the highest standard of authentication. Unfortunately, the process is complicated, and often servers are misconfigured. The Detectify team has put together an extensive guide to help you check if your domain is at risk of forced spoofed emails, and also give you the tools to configure the authentication correctly.


According to a study from 2014, 193 billion emails are sent every day. Email has become a system that is very essential to our lives, but it was first designed in 1982. The Internet was different back then, and the threats we see today were not obvious at that time.

Email spoofing is when someone sends an email with a forged sender address. Because email does not have authentication built in, spam, phishing and attackers use spoofing to take advantage of the trust that the spoofed domain carries, and to get users to give up sensitive information.

To protect a domain, you need to take action yourself, and configure authentication on your email servers, such as SPF and DMARC. It is however common that SPF is misconfigured, and for companies to be at risk without realizing it.

The Detectify team have done research on how common the issue with vulnerable email servers is, scanning the top 500 ranked sites on Alexa, the biggest provider of commercial web traffic data and analytics, to map the problem. We found that over 50% of the domains were vulnerable, either from having no authentication configured, or by having it misconfigured. This shows how widespread the problem really is, and that installing email authentication the right way can be difficult. In this guide, we explain how to evaluate and improve your authentication configuration and protect yourself from spoofing. At the end of the article, we also show the results of our research on vulnerable email servers and what this means in terms of security.

Examples of potential impact

An example of a spoofing could be sending an email appearing to come from a bank and asking the user to enter their credit card credentials. This is also a common way to get passwords.

The same method can be used to fool the media. One example is when someone sent an email that appeared to be a press release coming from the startup Fingerprint Cards in Sweden, announcing that they were about to be bought by Samsung. Media published the news, manipulating stock buyers and increasing the stock price of Fingerprint Cards increased by 50%. More on the story from The Verge.

Companies are well aware of the risks with spoofed emails coming from similar looking domains, and many have warnings on their websites, informing their customers and users to be careful:

Like this one from iTunes:

Or this one from Twitter:

The solutions available today: SPF, DMARC and DKIM

Today, there are three solutions available to protect yourself from spoofed emails: SPF, DKIM and DMARC. To effectively stop forged email being delivered, the sending domains, their mail servers, and the receiving system all need to be configured correctly for these higher standards of authentication.


SPF is a record that is applied to the DNS-record (a global database containing information about domain names and their corresponding address) that specifies what servers are allowed to send email using that domain.

SPF can be set up to have three different actions: hardfail, softfail och neutral.

SPF set up to hardfail means that all emails that are suspected to be forged or spam are rejected and not delivered.

If the SPF record is set up to softfail, emails are accepted / shown for the user, but marked with a warning as suspicious / spam.

If the SPF is set up as neutral, all emails are accepted.




Accept but mark




Do nothing

Softfail is usually recommended as a first step when setting up a SPF record, this way you are able to check if legit emails are marked as spam or not, and then able to accept them as legit for future correspondence. After softfail has been in place for a while, it is common to switch the configuration to hardfail.

The problem is that many email providers today, for example Gmail, seem to skip marking emails as possible spam in the user inbox even if softfail is in place. That way, users are receiving suspected emails anyway, while thinking that they've already taken measures to protect themselves. In other words, just setting up a SPF record is not enough.

More on SPF records:


When sending an email from a server with DKIM configured, the server will hash the body and the header of the email separately. It will then, with a private key, create a signature it will send along with the email.

When the receiver then receives the email, it will do a DNS-request to the domain that the email said it was from, and by doing so get the public key which is the DKIM-record. It will then with help from that verify that the signature is correct, and by doing so confirming that the sender is correct and the mail have not been manipulated on its way there.

More on DKIM:


DMARC takes advantage of both SPF and DKIM, and can be seen as the recommended action to take when neither SPF or DKIM confirm an email as legit. DMARC actions are: ‘reject', ‘quarantine' or ‘none'.

‘Quarantine' is to put the email into some kind of quarantine, while ‘reject' is a full rejection. If rejected, an end-user will never see the email.

Another key feature of DMARC is to generate a report on when it failed, so the owner of the domain can know when someone is trying to send emails on their behalf.

More on DMARC:

Why SPF is not enough

Despite email authentication methods that can be manually set up, email spoofing is still a problem. This is mainly due to the fact that authentication setup is often missing or misconfigured.

A lot of domains only use SPF with softfail, and have not implemented DMARC. Many believe that just using SPF is be enough, with the intended action configured to ‘accept but mark'. The problem is that softfail in reality is as good as nothing if you are using some email providers, eg. Gmail, as explained in the earlier description about SPF. There is no marking or special treatment of these emails, at least not visible to the end user.

This also applies to using SPF with softfail, and implementing DMARC but with the action ‘nothing'.

We decided to scan the internet for it

To find out how many domains were vulnerable, either by not having configured or by having misconfigurated email authentication, Detectify scanned the top 500 domains of Alexa ( to get an idea of just how widespread this problem is.

We wrote a script to request those top domains' SPF- and DMARC-records. We then let another script go over the result to sort out what records, and combinations of records, we considered to be insufficient. This was all done with a few lines of Python.

The combinations we counted as vulnerable for spoofed emails were:

  • No SPF at all
  • SPF with softfail, only
  • SPF with softfail, and DMARC with action none


If all these combinations are added up, 276 out of the 500 top domains scanned can be spoofed. That is over 50% of the world's top domains. And if half of the internet's most used domains can be spoofed, that probably means that it is even worse if you look at the entire internet.

According to our research, only 42% of the top 500 Alexa sites use DMARC. Of the ones that use only SPF, 40% of these use softfail. Since there are in fact ways to prevent this, the problem must be misinformation or lack of knowledge as to how vulnerable email without authentication configured can really be. Hopefully, we can raise awareness to mitigate this better in the future.

We contacted several of the top 276 domains to notify them of the vulnerability, of which a few got back to us and said that they would reconfigure their email configuration to protect themselves. They asked their names not to be disclosed in this article.

We also reached out to top domains that had configured their domains correctly to gain a deeper understanding of how straightforward or difficult they had found the process. One of them where Zendesk, whose VP of Security, Ryan Gurney, commented:

“Email spoofing is a big issue, and is one of the most sought out vectors for social engineering and phishing.  We know that the correct use of SPF and DKIM can help to protect an email domain from these attacks.  To setup SPF and DKIM correctly was challenging and required that we change the way we send email.  However, we knew how important this was in order to maintain a high level of email security.”

How to check if your domain is vulnerable

Get all the TXT-records for the domain ( and look for the SPF-record, it will start with v=spf1. Then get the DMARC-record by looking at the TXT-record that begins withv=DMARC1 at the subdomain _dmarc (

If the SPF-record ends with “-all” that is enough. If it instead ends with “+all” or “~all” the DMARC-record needs to contain “p=reject” or “p=quarantine“. In any other case it would be considered insufficient.

The SPF-record should exist on all subdomains as well, while DMARC is only on the main domain. p refers to the main domain, while sp controls subdomains.

How to resolve this?

If you are a smaller player and you have a good overview of the email servers used at your company, it is quite easy. Make sure that SPF and/or DKIM (SPF is often considered easier) is set up correctly, and configure DMARC to either reject or quarantine all failed emails – meaning that if you use SPF and someone tries to send a forged email, it will be rejected. Read our guide on how to do this here.

However, if you are a bigger company this actually can be harder to do. You need to map out every server that someone at your company uses to send emails with your domain. Support, marketing, and the reset-password email may all use different servers to mention a few. Forgetting to include one will result in them being unable to send emails.

If you suspect that you may have missed a server, we would recommend configuring DMARC in such way that it will not reject any emails, but will send you a report with the emails that should have failed. After making sure no server is missed, you then reconfigure DMARC to reject emails.

Related stories
Top stories
Story image
Spike in demand for cybersecurity training amid skills shortage
"Organisations cannot just rely on cybersecurity professionals to safeguard the businesses’ infrastructure and protect their data."
Story image
OpenText reveals nastiest malware of 2022, with Emotet at the top
OpenText threat intelligence experts combed through the data, analysed different behaviours, and determined which malicious payloads are the nastiest.
Story image
The growing threat of CEO fraud and how to mitigate it
By posing as the CEO or other senior figures, attackers guarantee that malicious emails get employees' attention. Many employees are reluctant to question a request from their CEO, so they usually provide the information.
Story image
Security Information and Event Management
LogRhythm announces LogRhythm Axon and new solution enhancements
According to the company, Axon provides an easier way for security teams to achieve better visibility across both cloud and on-prem log sources, helping further establish a foundation for their security practices.
Story image
Swift successfully pilots its Securities View capability
The new capability significantly increases transparency in post-trade processing while preventing costly settlement fails; it will be widely available in 2023.
Story image
Commonwealth tackling rising cybercrime threat in Asia
Ransomware, identity theft, and virtual security attacks identified as growing threats to security and economic growth.
Story image
Yubico research finds concerning trends around authentication security practices
A new global survey from Yubico has found that 59% of employees still rely on usernames and passwords as the primary method to authenticate their accounts.
Story image
Jamf shows intent to acquire mobile security firm ZecOps
This acquisition positions Jamf to help IT and security teams strengthen their organisation’s mobile security posture.
Story image
Black Lotus Labs discovers new, multipurpose malware
Black Lotus Labs, the threat intelligence team at Lumen, has discovered a new, rapidly growing, multipurpose malware written in the Go programming language.
Story image
Barracuda accelerates growth in its data protection business
Barracuda cloud-to-cloud backup protects against evolving cyber threats, such as ransomware, and is now transactable in the Azure Marketplace.
Story image
Network Management
Fortinet introduces enhanced AIOps across its gateways
FortiAIOps builds on Fortinet's rich history of developing artificial intelligence to deliver actionable network insights for self-optimising management.
Story image
Delinea shares the importance of PAM, partners and security for modern enterprise
Identity-based security is becoming a crucial tool for modern enterprises as they continue to adapt to different working environments.
Story image
Cybersecurity loopholes prevalent in South East Asia
In terms of the share of vulnerabilities with publicly available exploits, three countries out of top five are located in Southeast Asia.
Story image
Forrester names Akamai as web application firewall leader
"We continually monitor and improve our capabilities to defend customers from new threats, while enabling customers to protect evolving attack surfaces."
Story image
Data Protection
99% of security experts unhappy with tokenisation investment
Cybersecurity experts are looking for a solution that provides the strength of tokenisation while removing the friction that has accompanied it in the past.
Story image
Distributed Denial of Service
Sysdig reveals a loss of $53 for every $1 cryptojackers gain
The 2022 Sysdig Cloud Native Threat Report breaks down supply chain attacks against containers and how geopolitical conflict influences attacker behaviours.
Story image
Kaspersky uncovers new malicious malware NullMixer
Kaspersky researchers have uncovered a new malware stealing users credentials, address, credit card data, cryptocurrencies, and accounts.
Story image
Decrease in malware volume, but surge in encrypted malware
The Q2 Internet Security Report found office exploits continue to spread more than any other category of malware.
Story image
Partner Programmes
Trellix set to launch new unified partner program in 2023
"We co-developed the Xtend program with our partners to create the right business model for deploying Trellix XDR."
Story image
Varonis adds secrets discovery to data classification
The data security firm announces enhancements that detect and remediate overexposed private keys, encryption certificates, API keys, and authentication tokens.
Story image
Threat intelligence
Trellix advances threat intelligence with new research centre
Trellix has announced the establishment of the Trellix Advanced Research Center to advance global threat intelligence.
Story image
Mobile Device Management
How to easily scale your mobile workforce and devices for the peak shopping season
Retailers are under constant pressure to streamline processes and become more efficient while looking for ways to improve customer satisfaction levels.
AWS Marketplace
Whitepaper: A practical guide for mitigating risk in today’s modern applications
Link image
Story image
How modern IT architectures are moving beyond network visibility
Dealing with multiple cloud providers makes it difficult to identify security threats and performance bottlenecks and troubleshoot issues.
Story image
Test your API Security with Infinite API Scanner
The effectiveness of API scanning technology can mean the difference between successful and unsuccessful programming outcomes, and often enterprises and IT leaders struggle to get it right.
Story image
A deep dive into a Corporate Espionage operation
In the last few years, we have seen a dramatic shift in the level of sophistication of cyberattacks, mostly thanks to the introduction of the profit-sharing business model for financially motivated threat actors.
Story image
Mandiant uncovers malware ecosystem deployed on VMware hypervisors and guest systems
Mandiant research has uncovered a novel malware ecosystem that was found deployed on VMware hypervisors and guest systems by an advanced and suspected China nexus threat actor.
Story image
Cloud Security
75% of AU companies had cloud security incident in past year
According to new Venafi research, complexity is due to increase, as companies plan to host more applications in the cloud.
Story image
De-risking the innovation cycle – a modern, real-time approach to security
Many organisations see cybersecurity as an inhibitor of innovation, with burdensome protection measures standing in the way of progress and speed.
Story image
Virtual Private Network
95% of organisation rely on VPN as threats continue - report
There is a growing number of VPN-specific security threats and a need for Zero Trust security architecture in enterprise-level organisations.
Story image
Hybrid Cloud
Hybrid cloud security driving need for deep observability
Gigamon is bringing application and network-level intelligence together to help network, security, and cloud IT operations teams eliminate security blind spots.
Story image
Edge Security
Security practices for modernising the “spaghetti” of on-premises IT
Many organisations are wondering how to securely modernise their workload, often made up of a “spaghetti” of on-premises applications and management consoles.
Story image
Best practices for industrial cyber resilience
Operational technology (OT) security is gaining more attention than ever before, but sufficient understanding of what it takes to prevent breaches is still lacking amongst many organisations.
Story image
Employees unsure who to go to to report security incident
A new study shows more than 20% of the untrained global workforce do not know who to contact during a security breach.
Story image
Enterprises yet to fully commit to cybersecurity - CompTIA
“Digital transformation driven by cloud and mobile adoption requires a new strategic approach to cybersecurity, but this poses significant challenges."
Story image
Trellix enables greater cyber resiliency with extended XDR platform
"Legacy SIEM technology has failed to modernise security operations. We are confident Trellix XDR fills this critical gap.”
Story image
Data Protection
Cloudflare brings Data Localisation Suite to more APAC businesses
This allows any business in these countries to service their data locally while benefiting from the speed, security, and scalability of Cloudflare’s global network.
Story image
Work from home
Jamf showcases new products to simplify and secure work
At the 13th annual Jamf Nation User Conference, the company shared how its continuous product innovation is helping organisations succeed with Apple.
Story image
Artificial Intelligence
Fortinet advances AIOps to aid the hybrid workforce
"We’re continuing our commitment to AI innovation by delivering AIOps capabilities across our robust portfolio of enterprise networking technology."
Story image
Delinea updates DevOps security, remote access more seamless
New enhancements include development support on the most recent Mac computers and improved secrets' management usability through automation.
Aws Marketplace
Learn how to implement a backup and recovery plan for a new generation of Kubernetes-based modern applications
Link image
Story image
Ransomware attacks continue to increase, report finds
Nearly a quarter of businesses have suffered a ransomware attack, with a fifth occurring in the past 12 months.