Skip to content
User application hardening
Essential EightE8-AH-ML2.3

Essential Eight AH-ML2.3 Block Microsoft Office from creating executable content

What it says

Microsoft Office is blocked from creating executable content.

Quoted as published. Everything else on this page is written by Control Stack.

In plain English

Microsoft Office, including its email client, must be blocked from creating executable content such as programs and scripts, so a document cannot use Office to produce them.

Microsoft Office must be blocked from creating executable content, meaning files that can run as code, such as programs, code libraries and scripts. The block must stop every Office application from producing such files, on every device that runs Office, and stop the email client from saving or opening programs and scripts that arrive as attachments. Blocked means the attempt fails, not that it is only logged or that the user can override it. This is a Maturity Level Two requirement; E8-AH-ML2.2 separately blocks Office from starting other programs.

Why it matters

A malicious document or macro often uses Office to write a program or script to disk, where it can run and survive a restart. Blocking Office from creating executable content removes that step, even if the user opens the document.

How to implement

  1. Run the blocking rules in audit mode on a pilot group first.

    On Windows, use the endpoint protection rules that block Office applications from creating executable content and block executable files and scripts arriving through the email client. Review the audit events for add-ins or processes that legitimately save such files.

  2. Change what the audit finds instead of excluding it.

    Update or replace add-ins and processes that save programs or scripts from Office, for example by distributing scripts through software deployment rather than email. An exclusion leaves Office able to create that content, so any exclusion is a gap against this requirement until removed.

  3. Switch the rules to block on every device running Office.

    Apply them through Group Policy or device management to all workstations and servers with Office, including remote desktop hosts. Use block, not audit or warn, since warn lets the user allow the file. If another product replaces the built-in Windows antivirus, use its equivalent rule.

  4. Test with a document that tries to save a program.

    Signed in as a user allowed to run macros (E8-RM-ML1.1 limits who can), open a test document whose macro tries to write a harmless executable file to disk, in each main Office application. Confirm the file is not created and the device records the block.

Keep it running

Investigate each block event, and where a business tool caused it, change the tool rather than add an exclusion. Recheck when endpoint protection changes or new devices are built, since a rule can be missed or left in audit.

Evidence and audit

  1. Check 1 of 3What an auditor asks for

    Ask for

    Office licence activation records or a software inventory, compared with the devices reporting the blocking rules.

    Look at

    Devices running Office, including servers and remote desktop hosts, that are missing from the report or not set to block.

    Good evidence

    Every device running Office reports both rules, for Office applications and for executable content from the email client, set to block, with none missing.

  2. Check 2 of 3What an auditor asks for

    Ask for

    The exclusions configured for the blocking rules.

    Look at

    Whether any exclusion lets Office create executable content.

    Good evidence

    No exclusion lets Office create executable content; one recorded as an approved exception still counts as a gap.

  3. Check 3 of 3What an auditor asks for

    Ask for

    A demonstration with a test document whose macro tries to write a harmless executable file, run by a user allowed to run macros.

    Look at

    Whether the file is created in each main Office application, and whether the device records the block.

    Good evidence

    No executable file is created in any Office application tested, and each attempt appears in the device's block events.

Mappings

Closest match in ASD Information Security Manual: ISM-1668, Prevent Microsoft Office from creating executable files, which asks for the same thing.

ISO 27001

ISO/IEC 27001: 1 mapping

  • A.8.7Protection against malwarePartially meets
ASD ISM

ASD Information Security Manual: 6 mappings

ASD Essentials

ASD Essentials for enterprise IT: 1 mapping

Mappings show how controls relate across frameworks. They do not imply full equivalence or certification.