Skip to content
Configure macro settings
Essential EightE8-RM-ML1.3

Essential Eight RM-ML1.3 Enable antivirus scanning for Microsoft Office macros

What it says

Microsoft Office macro antivirus scanning is enabled.

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

In plain English

Enable Microsoft Office macro antivirus scanning: Office passes a running macro's actions to antivirus, or the antivirus uses its own macro scanning.

Microsoft Office macro antivirus scanning must be enabled. With the Office setting on, Office passes a record of a macro's actions to the antivirus product as the macro runs, through the Antimalware Scan Interface (AMSI), a Windows channel carrying content to antivirus for scanning. This can catch malicious code that is disguised in the file and only shows itself when it runs. Ordinary file scanning is not enough. It needs either the Office setting with an antivirus product that accepts these scans, or an antivirus product's own Office macro scanning.

Why it matters

Malicious macros are often disguised so the file looks harmless to a scan on disk, revealing their real actions only when they run. Scanning at run time lets the antivirus inspect those actions and stop a macro it detects, even for users allowed macros.

How to implement

  1. Confirm your antivirus product accepts scans through AMSI.

    Check the product's documentation or console, and confirm it is the active antivirus on every workstation, because Office's scan has nothing to report to without one. If it does not support AMSI, turn on the product's own Office macro scanning feature and keep a record of how it is set.

  2. Set the Macro Runtime Scan Scope policy to scan.

    Where the antivirus accepts AMSI scans, enable Macro Runtime Scan Scope in central Office policy and choose the option that scans all files, which also covers files Office would otherwise trust, such as those in Trusted Locations. Never choose the option that turns scanning off.

  3. Test the scan with a harmless test macro.

    As a user allowed to run macros, open a file whose macro passes the industry-standard antivirus test string to a high-risk call, such as running a command, since Office requests a scan only at such calls. Confirm the antivirus raises a detection. Repeat on each Office version in use.

Keep it running

Repeat the test macro check after changing antivirus product or Office version, because either can leave Office with no antivirus receiving its scans. Follow up every macro detection the antivirus reports.

Evidence and audit

  1. Check 1 of 3What an auditor asks for

    Ask for

    The applied Office policy from workstations the auditor picks from directory or network records.

    Look at

    Whether Macro Runtime Scan Scope is enabled and which option is chosen.

    Good evidence

    Every sampled workstation has Macro Runtime Scan Scope enabled with an option that scans macros, unless its antivirus product's own Office macro scanning is turned on instead.

  2. Check 2 of 3What an auditor asks for

    Ask for

    The antivirus status on the same workstations.

    Look at

    Whether an antivirus product that accepts AMSI scans, or one with its own Office macro scanning turned on, is installed and active.

    Good evidence

    Every sampled workstation runs an active antivirus product that receives Office macro scans through AMSI, or has the product's own macro scanning feature turned on.

  3. Check 3 of 3What an auditor asks for

    Ask for

    A demonstration with a harmless test macro that passes the industry-standard antivirus test string to a high-risk call, such as running a command, run by a user allowed to run macros.

    Look at

    Whether the antivirus detects the macro while it runs.

    Good evidence

    The antivirus raises a detection for the test macro, showing the scan works on the device rather than only being set in policy.

Mappings

Closest match in ASD Information Security Manual: ISM-1672, Enable antivirus scanning for Office macros, which asks for the same thing.

ASD ISM

ASD Information Security Manual: 2 mappings

ASD Essentials

ASD Essentials for enterprise IT: 2 mappings

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