Anatomy of a Barracuda Sentinel catch
Barracuda Sentinel is a security solution designed specifically to protect companies from phishing and account takeover attacks. It integrates directly into Office 365 and works silently in the background to learn the unique communication patterns of your company. This allows Sentinel to identify and stop communication anomalies like a spear-phishing attack. This is real-time protection against email threats that get through traditional security gateways.
To show you how this works and why it’s so important, I’ve dissected an attack that was stopped by Barracuda Sentinel. We have removed the details to protect the privacy of the customer.
This attack was directed at the customer’s Chief Financial Officer (CFO). It’s a classic credential harvesting attempt with an interesting twist: the landing page of the attacker is SSL encrypted with a valid Microsoft signed certificate. Even a trained user that would investigate the certificate could easily be tricked by this.
The attack was discovered only after it bypassed the customer’s non-Barracuda email gateway. Barracuda Sentinel caught two anomalies and alerted the administrator that it had quarantined a spear-phishing attack on the CFO:
The email header
The attack was sent from outside of the customer’s Office 365 tenant, but it was sent from another Office 365 account. The customer’s cloud-based gateway email security solution identified this as a legitimate message and allowed the threat into the network.
As you can see in the partial headers above, there are a few reasons why this email made it through the gateway:
- The SPF check returned a “pass” result. SPF, or Sender Policy Framework, is an authentication method that can help prevent email address forgery. Because this message was sent from another Office 365 account, this was not detected as a domain forgery.
- There was no malicious attachment in the message
- The message did not appear to be spam and was assigned a spam score of 0.
As you can see, traditional gateway solutions simply cannot catch every type of email threat.
The harvesting website
I created a test environment so that I could evaluate the suspicious link that was caught by Barracuda Sentinel. This webpage displayed like a normal safe page would, both in Google Chrome and Microsoft Edge. There were no browser warnings that the site was malicious, likely because we caught the threat before it was widely known.
As you can see in the URL, this is an SSL encrypted website. And to reiterate, it’s not being flagged as malicious.
I didn’t get a certificate warning when I opened this website. That’s a problem because it means that my computer trusts the entity that signed the certificate of this credential harvesting website. Taking a look at the certificate we can see that it was signed by Microsoft themselves:
To sum up, an Office 365 email attack is sending victims to a credential harvesting site that has an SSL certificate signed by Microsoft.
How is this possible?
Scammers always look for new ways to entice an unsuspecting user to fall for a phishing message. The more legitimacy the scammers can project into their emails, the more effective they are at exploiting their recipients. As part of Microsoft’s cloud offering, customers have the ability to configure a custom domain name for Azure storage accounts. This feature certainly has legitimate use cases, but as you see here, it can be extremely useful for malicious actors as well.
Hopefully, this little example serves as a reminder for a few crucial truths in e-mail security:
- Securing e-mail at the gateway level is not enough anymore. It’s still important to leverage gateway security to protect against traditional attacks (viruses, 0-day ransomware, spam, etc.) but it’s defenseless against targeted attacks like the one we saw above.
- SSL certificates are NOT an indicator if a website is legitimate or safe. Talk to your users and over 80% will tell you they look at “the lock” in the URL bar to determine if it’s a safe website. 10% will be a little more cautious and the remaining 10% don’t care either way and click everything anyways.
- Sentinel’s AI engine has caught and eliminated this threat. It did it NOT by using traditional detection algorithms like hashes or patterns, but by using a context-aware natural language processing algorithm that was able to instantly protect the customer from this and many other attacks.
If you would like more about Barracuda Sentinel, Click Here.