Macro Virus: How an Ordinary Document Can Carry Copying Code
A macro can save you from repeating the same steps in a document. It gives the application a set of instructions to run. A macro virus uses that same ability to copy malicious code into the files people open and share.
The copying behavior is what makes it a virus. A malicious macro might download another harmful program without reproducing itself. That would be dangerous code, but it would not make the macro itself a virus. The National Institute of Standards and Technology's definition connects the term to a virus carried in application macros, commonly within documents or templates.
A template can supply the starting material for new documents. When malicious code uses documents or templates to make more infected copies, ordinary file sharing can carry those copies to other people. The file becomes both something a person wants to read and a container for code.
- Stop ransomware and malware before they reach your files.
- Bank and shop in a browser built to keep transactions private.
- Cover five devices, from Windows and Mac to phones.
The application has to run the instructions
A macro needs an application to run it. An infected attachment can sit unopened in an inbox. Even after someone opens the file, the application may block its macros. If the code does run, its behavior determines whether and how it spreads.
File extensions give a clue to what a document can carry. Modern Word .docm files can contain macros, while .docx files cannot. Approved automation uses macro-enabled files too, and documents can carry other threats without macros.
Melissa showed what copying could do
In March 1999, the Melissa macro virus used Word and Outlook together to spread infected messages. It sent mail to addresses from victims' lists, generating enough traffic to overload email systems, according to the Federal Bureau of Investigation's case history.
Onel de Guzman Faces the Cameras After the Love Bug
The decision before execution
Microsoft documents default blocking of internet-origin macros in supported versions of Office applications on Windows, including Word and Excel. The rule concerns Visual Basic for Applications, or VBA, the language used for much Office automation.
The decision considers several things: a file's internet-origin marking, organizational policy, trusted publishers and Trusted Locations. These locations are folders designated to permit macros. Those choices can change whether the code runs.
For a recipient, a document's request to enable content is not evidence that its code deserves permission. Microsoft's guidance says simple viewing and editing usually do not require macros. A familiar-looking sender is not enough to justify enabling them, either.
Organizations that need approved automation must also control where trust is granted. A folder designated as a Trusted Location changes the execution decision for files inside it. Who can place a document in that folder is therefore part of who can get code to run.
Computer Viruses: The Harmful Code That Copies Into a Host

Active Content: When a Page or Document Runs Instructions

Malicious Code: The Unwanted Instructions in Useful Software

QUOTE:
"Amateurs hack systems, professionals hack people."
