Cybercriminals are adopting specially crafted URLs to trick users into entering their Gmail credentials in a new sophisticated phishing campaign.
Security experts discoveredÂ a new effective Gmail phishing attack that is able to deceive alsoÂ tech-savvy people. Crooks leverage onÂ specially crafted URLs to trickÂ victims into providing theirÂ Gmail credentials on a phishing page.
The malicious messages are sent fromÂ one of the victimâ€™s contacts and pretend to carry a PDF document that can be previewed directly from Gmail. When the victim clicks on the â€śattachmentâ€ť image included in the body of the message itÂ is redirected to a Gmail phishing page.
The URL to which the images of attachments point is crafted to appear legitimate:
The web browser does not display any certificate warning, experts noticed that the apparently legitimate part of the URL is followed by white spaces, which prevent the victimsÂ from seeing suspicious strings and an obfuscated script that opens a Gmail phishing page in a new tab. A technical description of the Chrome/Gmail attack has been published on Github.
â€śYou click on the image, expecting Gmail to give you a preview of the attachment. Instead, a new tab opens up and you are prompted by GmailÂ to sign in again. You glance at the location bar and you seeÂ accounts.google.com in there. It looks like thisâ€¦.â€ť states a blog post published by WordFence. â€śOnce you completeÂ sign-in, your account has been compromised.â€ť
This technique is not new, several victims reportedÂ similar attacks in July.
One of the main characteristics of the attacks that have been recently detected by the experts is that crooks immediately accessed the compromised accounts and used them to send out phishing emails to all the victimâ€™s contacts. It is still unclear if the attackers have found a way to automate the process.
As usual, let me suggest to enable two-factor authentication (2FA) on Gmail in order to avoid being victims of this powerful phishing scheme. Â However, if the cyber criminals immediately access the compromised account they could also include in a phishing page the 2FA code.
â€ś2FA would make it harder to exploit, but phishing attacks are getting fancier. They capture the 2FA code you enter and immediately start a session elsewhere with your password and 2FA. Hardware 2FA, a security key, (such as a Yubikey) is the only likely way to prevent phishing (excluding targets of state actors)â€ť wroteÂ a user in a discussion on Hacker News.
Google has been aware of this new phishing tactic at least March 2016, for this reason, the Chrome security team suggested introducing a â€śNot Secureâ€ť tag in the address bar for data:, blob: and other URLs that may be exploited by phishers in hacking campaigns.