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:

Replace your Microsoft Office subscription with a lifetime license in this deal

Microsoft Outlook workaround fixes freezes when copying text

Get $20 off Microsoft Office 2024 and ditch those monthly subscriptions

Get 15 months of Microsoft 365 on all your devices — now under $50

Ditch subscriptions and get a Office 2021 standalone license in this deal