What Is a .DOCM File? A Guide to Email Attachments and Macro Security
An email arrives in your inbox with the subject line “Overdue invoice”. The message appears to come from a supplier and asks you to check the attached Word document urgently.
The file is called Invoice.docm.
You recognise the supplier’s name, and the attachment looks like an ordinary document. But when you open it, you’re asked to enable content to view the invoice.
Would you know what to do?
This scenario is fictional, but it illustrates how cyber criminals can use email attachments and macros to put people and organisations at risk.
What is a .DOCM file?
A .docm file is a Microsoft Word document that can contain macros. The “m” in .docm indicates that the document is macro-enabled.
You may be more familiar with .docx, the standard Word document format. The difference is that a .docm file is designed to store macros, whereas a standard .docx file cannot store VBA macros.
A .docm file is not automatically malicious. Many organisations use macros for legitimate purposes. However, cyber criminals can also use them to run harmful actions.
What is a macro?

A macro is a set of instructions that automates tasks in an application such as Microsoft Word or Excel.
For example, a legitimate macro could automatically format a document, insert standard information or prepare a report. Instead of repeating those steps manually, a user can let the macro do the work.
The risk arises when someone creates a macro with harmful instructions. If that macro runs, it could, for example, download malware or allow an attacker to gain access to a device.
How might criminals use a macro-enabled attachment?

An attacker might send a document disguised as an invoice, job application, delivery notice or other familiar file. The email could appear to come from a colleague, a customer or a company you recognise.
When the recipient opens the document, it might display a message claiming that they need to “Enable Content” or enable macros to view it properly. If the macro runs, it may carry out harmful actions in the background.
Messages can look convincing, and a familiar sender’s name is not proof that an attachment is safe. An email account could have been compromised, or the sender’s details could have been impersonated. National Cyber Security Centre
Doesn’t Microsoft block macros?
Microsoft blocks macros by default in many Office files downloaded from the internet on Windows. This is a useful layer of protection, but the behaviour can vary depending on the device, Office version, file location and organisational settings. Microsoft Learn
If a document asks you to enable macros or tells you how to get around a security warning, stop and check with your IT or security team. Don’t change security settings simply because a document tells you to.
Warning signs to look out for
Be cautious when an attachment:
Arrives unexpectedly or is unrelated to work you’re doing.
Creates a sense of urgency, such as a threat of a late fee or account closure.
Asks you to enable macros or content before you can read it.
Claims to be from someone you know but feels unusual for that person.
Has an unexpected file extension, such as .docm or .xlsm.
Asks you to ignore security warnings or follow instructions to bypass them.
A message doesn’t need to contain spelling mistakes to be suspicious. If you’re unsure, contact the sender using a phone number or communication method you already know, rather than details supplied in the message.
What should you do if you receive a suspicious attachment?
Don’t open the attachment or enable its content while you’re checking it. Follow your organisation’s procedure for reporting suspicious emails and let your IT or security team investigate.
You can also report a suspicious email to the UK’s National Cyber Security Centre by forwarding it to report@phishing.gov.uk, in line with your organisation’s policies. National Cyber Security Centre
If you have already opened the attachment or enabled a macro, report it straight away, even if nothing unusual appears to have happened. Tell your IT or security team what you opened, what you clicked and when it happened. Follow their instructions and avoid deleting evidence or attempting your own investigation.
Reporting quickly gives your organisation a better opportunity to respond.
How can organisations reduce the risk?
Awareness is one part of the answer. Organisations can also ask their IT teams to review macro settings, filter suspicious attachments, keep software updated and make it easy for staff to report concerns.
Macro use should be limited to people and processes that genuinely need it, with appropriate controls in place. The NCSC recommends combining user awareness with technical defences and a supportive reporting culture. National Cyber Security Centre
Help your team recognise suspicious attachments
A familiar-looking document can create a difficult decision when someone is busy. Helping staff understand file types, security warnings and how to report concerns can give them the confidence to pause and check.
Cyber Safety Workshops helps organisations build practical cyber awareness through engaging sessions based on real-world scenarios.
Contact Cyber Safety Workshops to discuss a cyber awareness session for your team.




Comments