Cybercriminals Disable Macro Warnings to Execute Attacks

  • By Dawna M. Roberts
  • Published: Jul 21, 2021
  • Last Updated: Mar 18, 2022

A large portion of the business world uses Microsoft Office programs, and some of them use macros. Hackers have recently devised a method of bypassing security warnings when a macro-laced file is opened and are delivering malicious files to victims.

The Problem

Hackers Using Microsoft Office

Typically, bad actors infect a Microsoft Office file (Word or Excel) with malware and use phishing techniques to send to victims. They hope that users will enable macros even with the security prompt, which will then execute their malicious code. However, recently cybercriminals have found a way to disable the security warning and enable the macros as a default. 

According to The Hacker News, McAfee discovered the technique last week as hackers continue to ‘evolve their techniques to evade detection, researchers from McAfee Labs stumbled upon a novel tactic that “downloads and executes malicious DLLs (ZLoader) without any malicious code present in the initial spammed attachment macro.”’

The report showed that ZLoader infections had been found in the U.S., Canada, Spain, Japan, and Malaysia. A popular banking trojan (ZeuS) is one such tool used by hackers that is 

“well known for aggressively using macro-enabled Office documents as an initial attack vector to steal credentials and personally identifiable information from users of targeted financial institutions.”

How Does it Work?

The details revealed that the ruse starts with a phishing email sent to victims. The email contains a Microsoft Word document attached. When the document is opened, it downloads a password-protected Excel document from the hacker’s remote server. Although the Excel file does not require the macros, the initial file (Word document) needs to have macros enabled before it will download the infected file. 

The Hacker News reported that 

“After downloading the XLS file, the Word VBA reads the cell contents from XLS and creates a new macro for the same XLS file and writes the cell contents to XLS VBA macros as functions,” the researchers said. “Once the macros are written and ready, the Word document sets the policy in the registry to ‘Disable Excel Macro Warning’ and invokes the malicious macro function from the Excel file. The Excel file now downloads the ZLoader payload. The ZLoader payload is then executed using rundll32.exe.”

Fortunately, macros are disabled by default. However, the techniques used by these hackers are sophisticated, and they operate using social engineering to trick victims into enabling the macros. Since the first file is free of any malware, it builds trust, and then the deception begins. The clever tactic of turning off the macro warning gives the user a false sense of security, so they are not expecting anything to execute. 

The Hacker News explains that ‘Malicious documents have been an entry point for most malware families, and these attacks have been evolving their infection techniques and obfuscation, not just limiting to direct downloads of payload from VBA, but creating agents dynamically to download payloads,” the researchers said. “Usage of such agents in the infection chain is not only limited to Word or Excel, but further threats may use other living off the land tools to download its payloads.”’

What is MS Office?

Microsoft Office is a suite of software programs used by millions of businesses across the globe. It is probably the most used software anywhere, with the only exception being Google apps. The suite includes things like Word (word processing program), Excel (spreadsheet program), PowerPoint (presentation software), Access (database software), and others.

How MS Office Users Can Stay Safe

By dissecting this attack, it is evident in a few areas where users can avoid infections. The first and most important is never, ever click links or download files from an email unless you are 100% sure you know where it came from. Some other tips would be:

  • Never enable macros in a file from an untrusted source.

  • Keep antivirus software running on all devices.

  • Educate yourself on phishing emails and social engineering tactics to avoid getting caught.

  • Always verify the sender of the email before taking any action.

  • Update all MS Office files with the latest security patches.

About the Author
IDStrong Logo

Related Articles

46,000 Veterans and 13 Community Care Providers Affected by a VA Data Breach

The Incident Early last week, the Department of Veteran Affairs (VA) was breached by an unknown c ... Read More

Instagram Vulnerability Allowed Hackers Access to Control Your Phone

Security experts Check Point Research discovered a critical vulnerability while examining Instagra ... Read More

Alien Malware Infects More than 226 Mobile Apps and Steals Bank Data

As reported on September 24, 2020, by ZDNet and ThreatPost, a new strain of malware named “A ... Read More

Universal Health Systems Hit by Ransomware Attack

Universal Health Systems (UHS), a Fortune 500 company owning more than 400 hospitals across the co ... Read More

Exchange Server Bug Exposes a Big Risk to Hackers

Months after Microsoft released a patch to fix a serious flaw in MS Exchange Server, more than 61% ... Read More

Latest Articles

What you need to know about the Esse Health Data Breach

What you need to know about the Esse Health Data Breach

Established in 1996, Esse Health was the product of a merger of two physician-led institutions. It soon emerged as a leading independent physician group in the larger St. Louis area, operating in more than 50 locations.

What You Need to Know about the Episource Data Breach

What You Need to Know about the Episource Data Breach

Episource is a California-based healthcare services and technology company that provides risk adjustment and medical coding services to healthcare plans, doctors, and several other types of healthcare organizations.

What you need to know about the Krispy Kreme Data Breach

What you need to know about the Krispy Kreme Data Breach

The popular doughnut and coffeehouse chain Krispy Kreme was established in 1937 in Winston-Salem, North Carolina. It has grown over the years and currently operates 1,500 shops and 17,900 points of access in 40 nations.

What You Need to Know about the Ocuco Data Breach

What You Need to Know about the Ocuco Data Breach

Ocuco is a Dublin-based organization that specializes in optical software solutions. Established in 1993 by Leo Mac Canna, the company initially developed software for independent optometrists.

What You Need to Know about the TxDOT Data Breach

What You Need to Know about the TxDOT Data Breach

The Texas Department of Transportation (TxDOT) is responsible for designing, planning, operating, building, and maintaining the state's transportation system to deliver a reliable and safe transportation system.

What You Need to Know about the AT&T Data Breach

What You Need to Know about the AT&T Data Breach

AT&T, one of the largest telecommunications providers in the United States and the fourth-largest telecommunications company in the world by revenue, experienced a significant data leak, which became public in June 2025.

Featured Articles

How to Buy a House with Bad Credit

How to Buy a House with Bad Credit

Buying your own home is the American Dream, but it might seem out of reach to those with bad credit. However, the good news is, if your credit is less than perfect, you do still have options and in most cases, can still buy a home.

How Secure Is Your Password? Tips to Improve Your Password Security

How Secure Is Your Password? Tips to Improve Your Password Security

Any good IT article on computers and network security will address the importance of strong, secure passwords. However, the challenge of good passwords is that most people have a hard time remembering them, so they use simple or obvious ones that pose a security risk.

Top 10 Senior Scams and How to Prevent Them

Top 10 Senior Scams and How to Prevent Them

Senior scams are becoming a major epidemic for two reasons. First, seniors often have a lot of money in the bank from a life of working hard and saving.

Notice

By proceeding with this scan, you agree to let IDStrong run a Free Scan of supplied parameters of your personal information and provide free preliminary findings in compliance with our Terms of Use and Privacy Notice. You consent to us using your provided information to complete the Free Scan and compare it against our records and breach databases or sources to provide your Free preliminary findings report.

Rest assured: IDStrong will not share your information with third parties or store your information beyond what is required to perform your scan and share your results.

Free Identity Threat Scan
Instantly Check if Your Personal Information is Exposed
All fields below are required
Please enter first name
Please enter last name
Please enter a city
Please select a state
Please enter an age
Please enter an email address
Close