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.
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.
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.