Essential Eight RM-ML3.2 Check Microsoft Office macros for malicious code before signing or trusting
What it says
Microsoft Office macros are checked to ensure they are free of malicious code before being digitally signed or placed within Trusted Locations.
Quoted as published. Everything else on this page is written by Control Stack.
In plain English
Review each Microsoft Office macro, including every new version, for malicious code, and sign it or place it in a Trusted Location only once it is found clean.
Each Microsoft Office macro must be checked and found free of malicious code before it is digitally signed or placed in a Trusted Location. Signing it with a trusted publisher's certificate, or placing it in a Trusted Location, lets it run without Office blocking it (E8-RM-ML3.1), so the check must come first. A changed macro is new code and needs a new check. A vendor's signature shows who published a macro, not that it was checked for malicious code.
Free. Save your status, tasks and notes.
Why it matters
Office runs a macro signed by a trusted publisher or kept in a Trusted Location without blocking it, so any malicious code inside gets the same trust. Checking first is the point where tampered or malicious code can be found before it gains that trust.
How to implement
Set the checking steps and who performs them.
Write down what each check covers, what evidence is kept and who is responsible for checks. Give those people the privileged accounts that, under E8-RM-ML3.3, are the only ones able to write to Trusted Locations, and keep signing with the organisation's certificate in the same hands.
Read the full code of each macro.
Get the source unlocked, refusing password-protected projects that cannot be read, and read every module, including code that runs automatically when a file opens. Look for downloads, calls to Windows functions or other programs, disguised or encoded strings, and anything beyond the macro's stated business purpose.
Scan it and test it in an isolated environment.
Scan the file with current antivirus, then run the macro on an isolated test device and watch what it does: files written, programs started and network connections made. It should do only what the business asked for.
Sign or place only the file you checked.
Record the checker, date, result and the file's hash, and confirm the file you sign or copy into the Trusted Location matches it. For vendor macros, checking them and re-signing with your own certificate means a vendor's signature never stands in for your check.
Keep it running
Every new or changed macro, including vendor updates, goes through the check before it is re-signed or replaced in a Trusted Location. Recheck stored macros if the antivirus later flags one or a vendor reports a compromise.
Evidence and audit
- Check 1 of 3What an auditor asks for
Ask for
A sample of signed macro files found in use on shared drives and workstations, and the macro check records.
Look at
Whether each file matches a completed check of the same version, made before it was signed.
Good evidence
Each sampled signed macro matches a completed check of that same version, naming the checker and result, made before it was signed.
- Check 2 of 3What an auditor asks for
Ask for
The contents and change history of each Trusted Location, and the macro check records.
Look at
Whether any file in a Trusted Location, or added or changed there recently, has no matching check.
Good evidence
Every file in each Trusted Location, including recent additions and changes, matches a completed check made before it was placed there.
- Check 3 of 3What an auditor asks for
Ask for
A walk-through by a person responsible for checks of a recently checked macro, from receipt to signing or placement.
Look at
Whether the code was read in full, scanned and run in isolation before signing, and what happens to a project that cannot be read.
Good evidence
The person shows the full code was read, scanned and tested before signing or placement, and that a locked or unreadable project is refused rather than signed.
Mappings
Closest match in ASD Information Security Manual: ISM-1890, Ensure macros are free of malicious code, which asks for the same thing.
ASD Information Security Manual: 5 mappings
This control is equivalent to ISM-1890.
E8-RM-ML3.2 requires Microsoft Office macros to be checked to ensure they are free of malicious code before they are digitally signed or placed within Trusted Locations. ISM-1890 states the same requirement with the same trigger points (signing or Trusted Locations) and the same security intent (prevent trusting malicious macros). Implementing either control would largely satisfy the other because their scope and depth are effectively identical.
This control partially overlaps ISM-1796.
ISM-1796 requires executable files to be digitally signed using a certificate with a verifiable chain of trust as part of software development. E8-RM-ML3.2 relates by requiring Microsoft Office macros (a form of executable content) to be checked for malicious code before they are digitally signed or trusted. The overlap is on signing as an integrity/authenticity control, but E8-RM-ML3.2 is specific to macro safety checks and trust decisions, while ISM-1796 is broader and focuses on trusted signing for executable software generally (not malware review).
This control supports ISM-1487.
E8-RM-ML3.2 requires macros to be checked for malicious code before they are signed or placed in Trusted Locations. ISM-1487 supports this by restricting who can modify content in Trusted Locations to privileged users responsible for performing the malicious-code checks, reducing the risk of unreviewed macros being inserted or altered after review. ISM-1487 focuses on governing write and modify access, while E8-RM-ML3.2 focuses on the pre-trust verification activity.
This control supports ISM-1672.
E8-RM-ML3.2 requires macros to be checked to ensure they are free of malicious code before being signed or trusted via Trusted Locations. ISM-1672 supports this by enabling antivirus scanning for Office macros, which is a key technical mechanism that can be used during the checking step. ISM-1672 is about configuring a detection capability, while E8-RM-ML3.2 is about the governance/assurance decision to only sign or trust macros after verification.
This control is required by ISM-1674.
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.
ASD Essentials for enterprise IT: 1 mapping
- IT.PRO-07.1Restrict execution to supported, verified and authorised software with time-bound exceptionsPartially meets
This control partially meets IT.PRO-07.1.
IT.PRO-07.1 requires that only supported, verified and organisation-authorised software can execute; E8-RM-ML3.2 requires Microsoft Office macros to be checked for malicious code before being digitally signed or placed in Trusted Locations, a verification step for macros.
Mappings show how controls relate across frameworks. They do not imply full equivalence or certification.




