ASD ISM 1674 Ensuring secure execution of Microsoft Office macros
What it says
Only Microsoft Office macros running from within a sandboxed environment, a Trusted Location or that are digitally signed by a trusted publisher are allowed to execute.
Quoted as published. Everything else on this page is written by Control Stack.
In plain English
Block every Microsoft Office macro except those running in a sandboxed environment or a Trusted Location, or digitally signed by a trusted publisher.
Only Microsoft Office macros that meet at least one of three conditions may execute. Every other macro is blocked, such as an unsigned macro in an emailed document. The conditions are:
- running within a sandboxed environment, an isolated space that limits what the macro can reach
- running from a Trusted Location, a folder whose files Office treats as safe
- being digitally signed by a trusted publisher, one whose signing certificate Office is set to trust
Free. Save your status, tasks and notes.
Why it matters
Malicious actors use macros in documents to compromise workstations, then steal data or deny access to it. Allowing only sandboxed, Trusted Location or trusted publisher macros means a macro from an unknown source either does not run or runs contained in a sandbox.
How to implement
Choose a route for each macro in use.
Macros stay disabled for users without a demonstrated business requirement (ISM-1671). For each macro the remaining users rely on, pick a Trusted Location or a trusted publisher's signature, both only after the check ISM-1890 requires, or a sandboxed environment. Signing suits files that move between folders; Trusted Locations suit shared templates.
Set every Office application to disable all macros except digitally signed ones.
Apply this through central policy, block users from enabling untrusted publishers' macros or trusting new publishers (ISM-1675), and turn off Trusted Documents, which otherwise reruns macros a user once enabled in a file. Where Office on another operating system cannot be set this way, disable its macros entirely.
Define only the Trusted Locations and trusted publishers you chose, centrally.
Set the locations in central policy, turn off the option allowing a mix of policy and user locations, and confirm in the Trust Centre that default and user-added locations no longer apply. Deploy publisher certificates centrally. ISM-1487 limits who can write to Trusted Locations.
Run macros that cannot be checked or signed only in a sandboxed environment.
Use an isolated environment, such as a separate virtual machine with no access to internal file shares or the user's normal session, for files from outside parties whose macros must run. Without one, such macros do not run.
Test the result on a standard workstation.
As an ordinary user allowed macros (ISM-1671), open four files: an unsigned macro in an ordinary folder, a macro signed by a trusted publisher, one in a Trusted Location and one signed by an untrusted publisher. Only the second and third should run, and the others should offer no way to enable them.
Keep it running
Recheck effective settings after Office updates or version changes and when a new Office application is deployed. A business process that breaks because its macro no longer runs needs one of the three permitted routes, not a looser setting.
Evidence and audit
- Check 1 of 3What an auditor asks for
Ask for
A test on a standard workstation, as an ordinary user allowed to run macros under ISM-1671, of four files: an unsigned macro in an ordinary folder, a macro signed by a trusted publisher, a macro in a Trusted Location and a macro signed by an untrusted publisher.
Look at
Which macros run, and whether the Message Bar or the File tab's Info page offers a way to enable the others.
Good evidence
Only the trusted publisher and Trusted Location macros run, and the unsigned and untrusted publisher macros neither run nor offer any way to enable them.
- Check 2 of 3What an auditor asks for
Ask for
The effective macro settings for every Office application on workstations sampled from the device inventory, including the Trusted Locations in force and the Trusted Documents setting.
Look at
Whether any route other than the three permitted ones could let a macro run, such as a Trusted Documents record or a default or user-added Trusted Location.
Good evidence
Every sampled workstation blocks macros outside the three routes in every Office application, and no Trusted Documents record or Trusted Location the organisation did not define can let other macros run.
- Check 3 of 3What an auditor asks for
Ask for
The sandboxed environment used for running other macros, where one is in use, with a test run from inside it.
Look at
Whether a macro run there can reach the user's normal workstation session, internal file shares or other internal systems.
Good evidence
Macros run in the sandboxed environment are confined to it and cannot reach the user's normal session, internal file shares or other internal systems.
Mappings
Closest match in ASD Essential Eight: E8-RM-ML3.1, Restrict Office macros to sandboxes, Trusted Locations or trusted publishers, which asks for the same thing.
ASD Essential Eight: 9 mappings
This control is equivalent to E8-RM-ML3.1.
ISM-1674 requires that only Microsoft Office macros running in a sandbox, from a Trusted Location, or digitally signed by a trusted publisher are allowed to execute. E8-RM-ML3.1 states the same execution gating conditions for macros (sandboxed, Trusted Location, or trusted digital signature). Both controls have effectively identical scope and intent around preventing unsafe macro execution.
- E8-RM-ML3.4Untrusted publisher macros cannot be enabled via Message Bar or Backstage ViewBroader than
This control is broader than E8-RM-ML3.4.
E8-RM-ML3.4 focuses on preventing users from enabling untrusted-publisher signed macros via the Message Bar or Backstage View. ISM-1674 is broader, requiring that only macros from a sandboxed environment, Trusted Location, or trusted publisher are allowed to execute (covering more execution paths than just UI enablement). E8-RM-ML3.4 is one specific enforcement aspect that contributes to meeting the broader execution-allowlist posture in ISM-1674.
This control partially overlaps E8-RM-ML1.1.
ISM-1674 requires that only macros from a sandboxed environment, Trusted Location, or trusted publisher signature are allowed to execute. E8-RM-ML1.1 overlaps by reducing macro execution exposure through disabling macros for users without a business need, which complements ISM-1674's conditional allow-listing. ISM-1674 focuses on where/how macros may run, while E8-RM-ML1.1 focuses on who should have macros enabled at all.
This control partially overlaps E8-RM-ML1.2.
ISM-1674 allows Microsoft Office macros to execute only from within a sandboxed environment or a Trusted Location, or when digitally signed by a trusted publisher. E8-RM-ML1.2 blocks Microsoft Office macros in files originating from the internet. Both restrict which macros run, but ISM-1674 applies to macros from any source and E8-RM-ML1.2 bars internet-sourced macros even where a Trusted Location would otherwise allow them.
This control supports E8-RM-ML3.5.
ISM-1674 requires that only macros that are sandboxed, from Trusted Locations, or signed by a trusted publisher are allowed to execute. E8-RM-ML3.5 supports this by restricting the ability to enable macros with non-V3 signatures via common Office enablement prompts, reducing acceptance of weaker or non-compliant signing. ISM-1674 focuses on the allowed execution conditions, whereas E8-RM-ML3.5 specifically constrains one enablement mechanism and signature type quality.
This control depends on E8-RM-ML1.4.
ISM-1674 requires enforcement of macro execution so that only sandboxed, Trusted Location, or trusted-signed macros can run. E8-RM-ML1.4 supports this by preventing users from changing Office macro security settings that could weaken or bypass the enforcement of ISM-1674. ISM-1674 defines the execution allow-list conditions, while E8-RM-ML1.4 is a configuration integrity control to keep those conditions intact.
This control depends on E8-RM-ML3.2.
ISM-1674 requires that only macros from sandboxed environments, Trusted Locations, or signed by a trusted publisher are allowed to execute. E8-RM-ML3.2 supports this by requiring macros be checked for malicious code before being signed or placed into Trusted Locations, reducing the risk that "allowed" macros are actually malicious. ISM-1674 is primarily an execution control, while E8-RM-ML3.2 is a pre-approval assurance activity for the same trust pathways.
This control depends on E8-RM-ML3.3.
ISM-1674 requires that only macros from a sandbox, Trusted Location, or trusted publisher signature can execute. E8-RM-ML3.3 supports this by restricting who can write or modify content in Trusted Locations, helping ensure the Trusted Location pathway in ISM-1674 cannot be abused by unprivileged users. ISM-1674 defines the permitted execution sources, while E8-RM-ML3.3 strengthens governance and integrity of one of those sources (Trusted Locations).
This control depends on E8-RM-ML3.6.
ISM-1674 requires that macro execution is limited to sandboxed macros, Trusted Locations, or those signed by a trusted publisher. E8-RM-ML3.6 supports this by ensuring the organisation's list of trusted publishers remains accurate and current through regular validation, which directly affects what is considered "trusted" under ISM-1674. ISM-1674 sets the rule for execution; E8-RM-ML3.6 governs ongoing maintenance of trust decisions.
Mappings show how controls relate across frameworks. They do not imply full equivalence or certification.




