Skip to content
System hardening
ASD ISMISM-1673

ASD ISM 1673 Prevent Win32 API calls by Office macros

What it says

Microsoft Office macros are blocked from making Win32 API calls.

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

What it means

In plain English

Microsoft Office macros cannot make direct calls to Windows APIs.

This control means Microsoft Office macros can't directly communicate with the core parts of Windows that handle tasks like opening programs or accessing files. This is important because if macros could do this, they might be used by bad actors to spread viruses or steal data from your computer systems.

Why it matters

If Office macros can call Win32 APIs, attackers can run native code, bypass protections and deliver malware or steal data.

How to implement

  1. IT team should configure Microsoft Office settings: Adjust the settings in Microsoft Office applications to disable direct calls to Windows APIs by macros.

    This can typically be done through group policy settings in the network management tools they use.

  2. Office manager to inform and educate staff: Ensure all staff are aware that Office macros will have restricted capabilities and this is for their security.

    Use a short email or a meeting to explain that macros won't be able to perform risky operations that could harm the computer system.

  3. System administrator should implement updates: Regularly check for and apply Microsoft Office updates that may be required to enforce this control.

    Make use of the automatic update feature where possible to ensure all Office applications are up to date.

  4. The security team should perform regular checks: Conduct periodic reviews of policy settings to ensure that the macro security settings remain enforced.

    This can be done through audits of system configurations.

  5. Procurement should verify software compatibility: Before purchasing or updating software that integrates with Office, ensure it is compatible with this restriction on macros.

    Discuss with software vendors about how their applications work with restricted macro functionality.

Keep it running

Configure Office policy to block Win32 API calls from VBA/macros, and validate via GPO/registry settings and audit logs.

Evidence and audit

  1. Check 1 of 5What an auditor asks for

    Ask for

    The Office macro policy settings documentation: Request evidence of current Microsoft Office macro settings being enforced.

    Look at

    The group policy or configuration files for entries that block API calls.

    Good evidence

    Is policies showing settings that restrict macro API usage.

  2. Check 2 of 5What an auditor asks for

    Ask for

    A demonstration of restricted macro behaviour: Request an IT staff member to show how a macro's attempt to make API calls is blocked during operation.

    Look at

    How the application responds and logs errors.

    Good evidence

    Would be real-time logs showing blocked API call attempts.

  3. Check 3 of 5What an auditor asks for

    Ask for

    A recent security test report on Office macros: Obtain a report on security test results concerning blocked macro actions.

    Look at

    Any mention of penetration tests attempting to use API calls.

    Good evidence

    Is a report showing no successful attempts to exploit APIs.

  4. Check 4 of 5What an auditor asks for

    Ask for

    Training records regarding macro policy: Check records of staff training sessions that cover Microsoft Office restrictions on macros.

    Look at

    The topics covered and attendance lists.

    Good evidence

    Includes completed training records with dates and attendees.

  5. Check 5 of 5What an auditor asks for

    Ask for

    Update logs or schedules for Office software: Request the update logs or schedules showing regular software updates are applied.

    Look at

    Specific entries related to macro security updates.

    Good evidence

    Is a documented update routine ensuring the latest security patches are applied.

Mappings

Closest match in ASD Essential Eight: E8-RM-ML2.1, Microsoft Office macros are blocked from making Win32 API calls, which asks for the same thing.

ISO 27001

ISO/IEC 27001: 1 mapping

Essential Eight

ASD Essential Eight: 8 mappings

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