Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Vulnerabilities / Threats

05:00 PM
Connect Directly

Attackers Find New Way to Exploit Google Docs for Phishing

Tactic continues recent trend by attackers to use trusted cloud services to send and host malicious content.

Researchers spotted what they describe as a new method that attackers appear to be using to lure victims to malicious phishing websites via Google Docs.

The attack chain begins with the threat actor sending potential victims an email—on a topic of likely interest or relevance to the victim—with a link to a document on Google Docs. Users who follow the link are directed to a Google Docs page with what appears to be a downloadable document, according to researchers at Avanan.

Related Content:

Microsoft 365: Most Common Threat Vectors & Defensive Tips

Special Report: Assessing Cybersecurity Risk in Today's Enterprises

New From The Edge: 11 Security Certifications to Seek Out This Summer

The page looks like a typical Google Docs page for sharing documents outside the organization. However, in reality it is a custom Web page that is designed to look like a Google Docs page, according to the researchers. When a user clicks on the link to download the document, they are redirected to a malicious phishing website that looks exactly like the sign-in page for Google Docs. Users who enter their username and password end up having their credentials stolen.

Gil Friedrich, CEO and Co-Founder of Avanan, says this is the first time his company has observed attackers abusing using Google Docs in this manner. "This is the first time—to our knowledge—that we have seen Google Docs used to render an entirely attacker-crafted Web page," Friedrich says.

The approach is very different than when an attacker might use a small company website to host malicious content. In those instances, an organization can simply block access to the site until the issue is resolved. 

"You can't block Google," Friedrich says. "There's no way to establish a static layer, and even if you wanted to block that specific link for that specific file, within ten seconds, the hackers would move to a new file," because it costs them nothing to do so, he notes.

According to Avanan, the attack is straightforward to execute, with Google itself doing most of the work for the adversaries. To pull it off, all that an attacker has to do is develop a Web page that looks similar to a Google Docs sharing page and upload the file to Google Drive. Google scans the file and automatically renders it as a Web page.

The attacker then opens the rendered image in Google Docs, publishes it to the Web, and gets a link with embed tags that are meant for rendering custom content on Web forums. Attackers can insert the link in an email and send it to victims.

"There's nothing Google can really do," Friedrich says. "They created the feature of embedding the website for an easy way for people to share and embed rich content in HTML without being programmers," he says.

One of the only ways around this would be to disable the feature entirely. Or Google could impose limitations on what can and cannot be published via the embed feature. However, even if Google were to take such a measure, hackers would likely find a way around the restrictions, Friedrich says.

Cloud Services Abuse

The Google Docs hack is only the latest example of attackers attempting to use trusted cloud services such as Google Docs, AWS, and Microsoft Azure to host and send malicious and host malicious content. A recent study that Proofpoint conducted showed that with organizations increasingly adopting cloud collaboration tools and services, attackers have begun abusing these services increasingly as well. In 2020, for instance, attackers targeted thousands of Proofpoint customers with some 60 million malicious messages via Microsoft Office 365 and 90 million messages that were sent or hosted on Google cloud.

Proofpoint's data shows that such attacks are only increasing in volume. Just in Q1, 2021, for instance, Proofpoint says it observed 7 million and 45 million malicious messages from Microsoft Office 365 and Google cloud infrastructure, respectively.

"Hackers don't always need access to sophisticated tools sold on the Dark Web—they can use freely available tools to accomplish the same goals," Friedrich says. Organizations should expect more such attacks since the price to carry them out is low and getting lower, he says.

Launching attacks from trusted site is also safer for attacker. With the Google Docs vector, since everything is hosted on Google's end, attackers don't even have to register domains that point to them, he says. "Enterprises need to prepare by investing in advanced email security tools and phishing training for their employees."


Jai Vijayan is a seasoned technology reporter with over 20 years of experience in IT trade journalism. He was most recently a Senior Editor at Computerworld, where he covered information security and data privacy issues for the publication. Over the course of his 20-year ... View Full Bio

Recommended Reading:

Comment  | 
Print  | 
More Insights
Newest First  |  Oldest First  |  Threaded View
User Rank: Moderator
6/24/2021 | 2:05:04 PM
Excellent article on use of Google Docs by hackers
This well written article tells us exactly how hackers are using Google Docs to phish for user credentials, and why user security training & advanced email security technologies are the only hope we have to protect our organizations.

What is interesting is the simple, straight forward logic employed by hackers to turn a helpful web services feature into a Google-enabled phishing webpage.

The lesson is, once again, that cloud collaboration services are trivial to exploit given all of the powerful "user friendly features" that get coded into them. But this is the road we are on and data insecurity is the price we will be paying forever.
I Smell a RAT! New Cybersecurity Threats for the Crypto Industry
David Trepp, Partner, IT Assurance with accounting and advisory firm BPM LLP,  7/9/2021
Attacks on Kaseya Servers Led to Ransomware in Less Than 2 Hours
Robert Lemos, Contributing Writer,  7/7/2021
It's in the Game (but It Shouldn't Be)
Tal Memran, Cybersecurity Expert, CYE,  7/9/2021
Register for Dark Reading Newsletters
White Papers
Current Issue
How Data Breaches Affect the Enterprise
Data breaches continue to cause negative outcomes for companies worldwide. However, many organizations report that major impacts have declined significantly compared with a year ago, suggesting that many have gotten better at containing breach fallout. Download Dark Reading's Report "How Data Breaches Affect the Enterprise" to delve more into this timely topic.
Flash Poll
How Enterprises are Developing Secure Applications
How Enterprises are Developing Secure Applications
Recent breaches of third-party apps are driving many organizations to think harder about the security of their off-the-shelf software as they continue to move left in secure software development practices.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
PUBLISHED: 2021-11-26
This affects all versions of package html-to-csv. When there is a formula embedded in a HTML page, it gets accepted without any validation and the same would be pushed while converting it into a CSV file. Through this a malicious actor can embed or generate a malicious link or execute commands via C...
PUBLISHED: 2021-11-26
@joeattardi/emoji-button is a Vanilla JavaScript emoji picker component. In affected versions there are two vectors for XSS attacks: a URL for a custom emoji, and an i18n string. In both of these cases, a value can be crafted such that it can insert a `script` tag into the page and execute malicious...
PUBLISHED: 2021-11-26
Backstage is an open platform for building developer portals. In affected versions the auth-backend plugin allows a malicious actor to trick another user into visiting a vulnerable URL that executes an XSS attack. This attack can potentially allow the attacker to exfiltrate access tokens or other se...
PUBLISHED: 2021-11-26
There is a Potential Zip Slip Vulnerability and OS Command Injection Vulnerability on the management system of baserCMS. Users with permissions to upload files may upload crafted zip files which may execute arbitrary commands on the host operating system. This is a vulnerability that needs to be add...
PUBLISHED: 2021-11-26
BaserCMS is an open source content management system with a focus on Japanese language support. In affected versions users with upload privilege may upload crafted zip files capable of path traversal on the host operating system. This is a vulnerability that needs to be addressed when the management...