Old Dog, New Trick: Hackers Use Logons in URLs to Bypass Email Scanners

Stu Sjouwerman | Jun 7, 2022

Old Dog, New Trick: Hackers Use Logons in URLs to Bypass Email ScannersA new phishing method uses a decades-old special URL format to take advantage of how security solutions and email clients interpret URLs, tricking victims into clicking.

It’s called the HTTP Authorization header and it’s been around since 1999 as part of RFC 2616 which defined HTTP version 1.1. It specifies that an HTTP web request can contain a username and password in a URL just before the fully-qualified domain name. For example:

https://username:password@notarealdomainname.ext

Everything after the double forward slash and before the “@” is interpreted as authentication credentials. A new phishing method spotted by security researchers at Perception Point found that scammers were taking advantage of the “@”, placing it in what would be perceived as the “middle” of a valid URL, only to trick email clients and scanning solutions into interpreting the URL as being benign, when it was anything but.

Take the idea of tricking a user into thinking they were going to be taken to the following URL:

http://www[.]office[.]com[/]login

But the URL actually reads:

http://www[.]office[.]com[/]login@maliciousdomain[.]com

With many web browsers, everything before the “@” is considered authentication details and the destination domain is everything after the “@”. In contrast, the email scanners may not interpret the URL properly at all and deem it not to be a threat. 

In the case of the attack found by Perception Point, the URL in question is found in the following image:

HTTP-example

The actual URL is the Bitly link which takes victims to a spoofed Microsoft 365 logon page.

The only saving grace would be found in those users that know to scrutinize the final URL they are taken to (which was not Microsoft 365) before they provide credentials. Users that undergo continual Security Awareness Training are taught to always be on guard looking to anything out of the ordinary – whether it be a link with an “@” in the middle of it, or an incorrect URL on a logon page.

Topics: Phishing

Discover Your Organization’s Phish-prone™ Percentage

Ninety-one percent of data breaches begin with spear phishing. Launch our Free Phishing Security Test for up to 100 users to uncover your team's vulnerability and see how your security posture stacks up against industry benchmarks.

Get Your Free Phishing Security Test

Secure the Digital Workforce: Human + AI

KnowBe4 empowers the modern workforce to make smarter security decisions every day. Trusted by more than 70,000 organizations worldwide, KnowBe4 is the pioneer of digital workforce security, securing both AI agents and humans. The KnowBe4 Platform provides attack simulation and training, collaboration security, and agent security powered by AIDA (Artificial Intelligence Defense Agents) and a proprietary Risk Score. The platform leverages 15 years of behavioral data to combat advanced threats including social engineering, prompt injection, and shadow AI. By securing humans and agents, KnowBe4 leads the industry in workforce trust and defense.