Skip to content
Configure macro settings
Essential EightE8-RM-ML2.1

Essential Eight RM-ML2.1 Microsoft Office macros are blocked from making Win32 API calls

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

Block Office macros from running code that interacts directly with Windows.

This control means that Microsoft Office macros are prevented from interacting directly with Windows operations, stopping them from running harmful actions on your computer. It is crucial because, without this safeguard, a malicious document could execute harmful tasks on your system just by you opening it, leading to data theft or damage.

Why it matters

If Office macros can make Win32 API calls, attackers can run native code to change system settings or exfiltrate data when a document opens.

How to implement

  1. The IT team should configure group policy settings to block Office macros from making Win32 API calls.

    This can be done using the Group Policy Management Console.

  2. System administrators should ensure only users with a genuine business need have the capability to run macros.

    This involves verifying business needs and updating permissions accordingly.

  3. Security officers should review and document the business requirements for macro use regularly to ensure they remain valid and necessary.

  4. IT support should periodically update Office applications to make sure they include the latest security patches that support these restrictions.

Keep it running

Regularly validate Office macro policy to ensure updates or user changes do not re-enable Win32 API calls from VBA macros.

Evidence and audit

  1. Check 1 of 2What an auditor asks for

    Ask for

    Are macro settings configured to prevent Win32 API calls in your Office applications?

    Look at

    Review the Group Policy settings under 'User ConfigurationPoliciesAdministrative TemplatesMicrosoft Office Applications'.

    Good evidence

    Policies are set to block all macros from executing Win32 API calls, and there is documentation of business justifications for any exemptions.

  2. Check 2 of 2What an auditor asks for

    Ask for

    How do you verify that only authorised users can run macros?

    Look at

    Examine the Active Directory groups and permissions lists to ensure they match documented approvals for macro use.

    Good evidence

    The permissions align with documented business requirements, and there is an approval process in place for any changes.

Mappings

Closest match in ASD Information Security Manual: ISM-1673, Prevent Win32 API calls by Office macros, which asks for the same thing.

ASD ISM

ASD Information Security Manual: 5 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.