PCMag editors select and review products independently. If you buy through affiliate links, we may earn commissions, which help support our testing.

How Google is Stopping Malicious Office Docs From Targeting Gmail Users

At RSA, Google provided a glimpse into the malicious email attachments Gmail is routinely blocking, and which victims are getting targeted by them the most.

 & Michael Kan Principal Reporter

Our team tests, rates, and reviews more than 1,500 products each year to help you make better buying decisions and get more from technology.

Our Expert
LOOK INSIDE PC LABS HOW WE TEST
65 EXPERTS
43 YEARS
41,500+ REVIEWS

At the RSA security conference, Google offered a rare look into the kinds of malicious attachments hackers will send to Gmail users. It turns out Microsoft Office documents that’ve been secretly rigged to download malware are in vogue .

In recent weeks, about 56 percent of the malicious attachments detected and blocked by Gmail’s filters have been Microsoft Office documents, according to Google’s anti-abuse research leader Elie Bursztein.

These malicious Office documents can often contain “macros,” or series of automated commands in the file. If you enable the macros, the malicious document will be able to download and execute the hacker’s desired malware.



The remaining 44 percent of the malicious documents Google will block include Adobe PDF documents, archived files and HTML-based documents, among others. (By default, Gmail will also prevent users from attaching .exe programs and Javascript files to email messages.) 

During his presentation, Bursztein also supplied a snapshot of the organizations and countries most frequently targeted with the malicious documents. To no surprise, the attacks most often target government organizations. Industries involved in transportation, utilities and manufacturing are frequent targets as well.



Curiously, Norway was the top country targeted by the malicious documents, followed by the UK, Finland, and the US. Bursztein said he didn’t have any evidence to explain why. However, the snapshots he supplied only pertained to Gmail messages sent in recent weeks, and don’t reflect a yearly, or long-term historical trend.



However, one trend that has remained consistent is how the hackers are constantly modifying their evil attachments. Currently, about 63 percent of the malicious documents Google blocks will technically be different from all previous bad attachments encountered, he added.    

That all said, the tweaks can be small. The hackers will often end up changing a few lines of text or code to try and evade the anti-spam and malware filters Gmail and other email services use to catch phishing messages. But despite the modifications, the malicious attachments will rely on the same overarching attacks.

So who’s behind all these malicious emails? Bursztein blamed part of the problem on hacker-developed “phishing kits,” which can automate the whole process of sending a massive volume of spam email messages to victims across the internet. The same services will let buyers package the emails with malicious files, including ransomware. Access to such kits can be sold for $400 to $5,000 in hacker forums, Bursztein said.



The good news is that Google says it blocks more than 99.9 percent of the spam and phishing messages that target Gmail users. Nevertheless, the company is scanning 300 billion attachments each week, so missing a small percentage of malicious emails can still pose a danger to numerous Gmail users.

At the same time, the hackers —especially cyberspies from governments— are constantly upgrading their attacks with new techniques to evade Google’s anti-spam filters. However, the company has found a promising way to fight back; it’s been experimenting with a new AI-powered scanner to more closely analyze documents for any potential malicious behavior. The scanner will go as far as extracting the macros and other suspicious features from an Office document to deduce whether the file may be malicious.

“Since the new scanner launched at the end of 2019, we have increased our daily detection coverage of Office documents that contain malicious scripts by 10 percent,” Bursztein wrote in a Google security blog post on the same day. In some cases, the detection rate can rise to more than 150 percent, he added. 

For now, the new AI-powered malicious document scanner will forward any flagged emails to your spam folder. All other blocked emails with the malicious attachments are immediately purged, preventing them from ever ending up in your email inbox. 

Further Reading

More Security Reviews

More Security Best Picks

About Our Expert

Michael Kan

Michael Kan

Principal Reporter

My Experience

I've been a journalist for over 15 years. I got my start as a schools and cities reporter in Kansas City and joined PCMag in 2017, where I cover satellite internet services, cybersecurity, PC hardware, and more. I'm currently based in San Francisco, but previously spent over five years in China, covering the country's technology sector.

Since 2020, I've covered the launch and explosive growth of SpaceX's Starlink satellite internet service, writing 600+ stories on availability and feature launches, but also the regulatory battles over the expansion of satellite constellations, fights with rival providers like AST SpaceMobile and Amazon, and the effort to expand into satellite-based mobile service. I've combed through FCC filings for the latest news and driven to remote corners of California to test Starlink's cellular service.

I also cover cyber threats, from ransomware gangs to the emergence of AI-based malware. In 2024 and 2025, the FTC forced Avast to pay consumers $16.5 million for secretly harvesting and selling their personal information to third-party clients, as revealed in my joint investigation with Motherboard.

I also cover the PC graphics card market. Pandemic-era shortages led me to camp out in front of a Best Buy to get an RTX 3000. I'm now following how the AI-driven memory shortage is impacting the entire consumer electronics market. I'm always eager to learn more, so please jump in the comments with feedback and send me tips.

The Best Tech I've Had:

  • My first video game console: a Nintendo Famicom
  • I loved my Sega Saturn despite PlayStation's popularity.
  • The iPod Video I received as a gift in college
  • Xbox 360 FTW
  • The Galaxy Nexus was the first smartphone I was proud to own.
  • The PC desktop I built in 2013, which still works to this day.

Read full bio