Microsoft Excel

​Microsoft has announced that Excel 4.0 (XLM) macros will now be disabled by default to protect customers from malicious documents.

In October, the company first revealed in a Microsoft 365 message center update that it would disable XLM macros in all tenants if the users or admins hadn't manually toggled the feature on or off.

Starting July 2021, Windows admins could also use group policies and users the 'Enable XLM macros when VBA macros are enabled' setting from the Excel Trust Center to disable this feature manually.

"In July of 2021, we released a new Excel Trust Center setting option to restrict the usage of Excel 4.0 (XLM) macros," said Catherine Pidgeon, a Principal Program Manager Lead at Microsoft, earlier this week in a Tech Community blog post.

"As planned, we have now made this setting the default when opening Excel 4.0 (XLM) macros. This will help our customers protect themselves against related security threats."

Admins can configure how Excel macros are allowed to run using Group Policy settings, Cloud policies, and ADMX policies.

They can also block all Excel XLM macro use in their environments (including new user-created files) by toggling on the "Prevent Excel from running XLM macros" Group Policy, configurable via Group Policy Editor or registry key.

Right now, XLM macros are disabled by default in the September fork, Excel version 16.0.14527.20000 and newer available in the:

  • Current Channel builds 2110 or greater (first released in October)
  • Monthly Enterprise Channel builds 2110 or greater (first released in December)
  • Semi-Annual Enterprise Channel (Preview) builds 2201 or greater (first ships in March 2022)
  • Semi-Annual Enterprise Channel builds 2201 or greater (will ship July 2022)
XLS document with obfuscated Excel 4.0 macro
XLS document with obfuscated Excel 4.0 macro

XLM (aka Excel 4.0) macros were the default Excel macro format until Excel 5.0 was released in 1993 when Microsoft first introduced VBA macros which are still the default format.

However, despite being discontinued, threat actors are still using XLM three decades later to create documents that deploy malware or perform other malicious behavior manipulating files on the local filesystem because current Microsoft Office versions still come with support for XLM macros.

Malicious campaigns using this type of macros to push malware have been observed downloading and installing TrickBotZloaderQbotDridex, and many other strains on victims' computers.

Microsoft also silently added a Group Policy in October 2019 that allows admins to block Excel users from opening untrusted (and potentially malicious) Microsoft Query files with IQY, OQY, DQY, and RQY extensions.

Such files have been weaponized in numerous malicious attacks to deliver remote access Trojans and malware loaders since early 2018.

Related Articles:

Microsoft Office LTSC 2024 preview available for Windows, Mac

Add Microsoft Office 2021 to your PC for an extra 20% off

Add Office to your Mac or Windows laptop for an extra 20% off

Get Microsoft Office Pro 2021 with 20% off this instant download

Microsoft fixes Outlook security alerts bug caused by December updates