Virtual Event: Threat Detection and Incident Response Summit - Watch Sessions
Connect with us

Hi, what are you looking for?



Microsoft Ups Office Protections With Improved Blocking of Macros

Microsoft on Monday announced improved protections for users of its Office suite by no longer allowing them to enable macros with a single click.

Microsoft on Monday announced improved protections for users of its Office suite by no longer allowing them to enable macros with a single click.

Small programs designed to help with the execution of repetitive tasks in Microsoft Office applications, macros have long been abused for malicious purposes, and for years Microsoft has been seeking ways to prevent such behavior.

For documents coming from unknown or untrusted sources, the company has been blocking macros by default, but provided users with the option to enable them by clicking on a yellow warning at the top of the document.

Malicious actors have found a way around this by crafting specially-themed documents and luring the intended victims not only into opening them, but also into enabling the macros.

“While we provided a notification bar to warn users about these macros, users could still decide to enable the macros by clicking a button. Bad actors send macros in Office files to end users who unknowingly enable them, malicious payloads are delivered, and the impact can be severe including malware, compromised identity, data loss, and remote access,” Microsoft notes.

[READ: Microsoft Restricts Excel 4.0 Macros by Default]

To further improve user protection, Microsoft is blocking by default all macros in documents received from the Internet and it is also making it more difficult for users to enable these macros.

Advertisement. Scroll to continue reading.

On documents coming from the Internet, a message bar will be displayed to inform the user that the file contains Visual Basic for Applications (VBA) macros, and to allow them to learn more.

The Learn More button will lead users to an article that provides information on the security risks associated with the malicious use of macros, as well as phishing and malware prevention practices.

Users will also be provided with information on how they can enable macros, by saving the file and removing the Mark of the Web (MOTW) from the document. The files must be saved to NTFS file systems, as the MOTW attribute is not added to files on FAT32-formatted devices.

“The default is more secure and is expected to keep more users safe including home users and information workers in managed organizations,” Microsoft says.

To prevent employees from mistakenly opening macro-enabled files coming from untrusted sources, organizations can set the “Block macros from running in Office files from the Internet” policy. If the policy is enabled, the default change won’t affect the organization.

Starting early April 2022, the default change will come to Access, Excel, PowerPoint, Visio, and Word on Windows devices, on Current Channel (Preview). The capabilities will be pushed to other update channels at a later date.

“This is a long-awaited change by the cyber security industry which is expected to greatly reduce the chances of harmful malware being delivered via phishing emails. However, it won’t completely remove the threat. This change should not impact the small number of users who are required to run macros as a legitimate business function as it will only change the default behavior, which admins can change on a case-by-case basis,” F-Secure senior incident response consultant John Rogers said in an emailed comment.

Related: Researcher Details Sophisticated macOS Attack via Office Document Macros

Related: Researchers Dive Into Evolution of Malicious Excel 4.0 Macros

Related: Microsoft Blocks Risky Macros in Office 2016

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Click to comment

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

SecurityWeek’s Threat Detection and Incident Response Summit brings together security practitioners from around the world to share war stories on breaches, APT attacks and threat intelligence.


Securityweek’s CISO Forum will address issues and challenges that are top of mind for today’s security leaders and what the future looks like as chief defenders of the enterprise.


Expert Insights

Related Content


Less than a week after announcing that it would suspended service indefinitely due to a conflict with an (at the time) unnamed security researcher...

Data Breaches

OpenAI has confirmed a ChatGPT data breach on the same day a security firm reported seeing the use of a component affected by an...

Risk Management

The supply chain threat is directly linked to attack surface management, but the supply chain must be known and understood before it can be...


The latest Chrome update brings patches for eight vulnerabilities, including seven reported by external researchers.


Patch Tuesday: Microsoft warns vulnerability (CVE-2023-23397) could lead to exploitation before an email is viewed in the Preview Pane.


Apple has released updates for macOS, iOS and Safari and they all include a WebKit patch for a zero-day vulnerability tracked as CVE-2023-23529.

IoT Security

A group of seven security researchers have discovered numerous vulnerabilities in vehicles from 16 car makers, including bugs that allowed them to control car...

Application Security

Drupal released updates that resolve four vulnerabilities in Drupal core and three plugins.