26.12.2014 Views

Absolute PC Security and Privacy.pdf

Absolute PC Security and Privacy.pdf

Absolute PC Security and Privacy.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Most macro viruses work by exploiting an application’s auto-execute macros. These are<br />

macros that load <strong>and</strong> run automatically when a document is opened, or when another program<br />

event occurs, without any prompting or action by the user. Once the macro is running, if there<br />

is malicious code within the macro, it can delete text, delete files, rename files, copy itself to<br />

other documents <strong>and</strong> templates, <strong>and</strong> cause untold other damage. Most macro viruses also copy<br />

themselves to the application’s default template (in Microsoft Word, that’s the Normal<br />

template, with the filename normal.dot), so that they run whenever you open any document<br />

within that application. And since the default template is used whenever you create a new<br />

document with that application, all subsequent documents you create will be infected.<br />

Figure 4.1 shows how a typical macro virus is loaded <strong>and</strong> executed. The process starts when<br />

you launch an application <strong>and</strong> open an infected document. When the document is opened, it is<br />

loaded into memory, <strong>and</strong> the macros contained within the document are also loaded. If a<br />

macro is written to run automatically, the virus macro loads into your system memory <strong>and</strong><br />

then delivers its payload.<br />

Figure 4.1 : How a macro virus infects your system<br />

Obviously, the macro virus spreads when you share an infected document with other users.<br />

Whoever opens the infected document will have their computer infected, <strong>and</strong> all new<br />

documents created on that computer will also be infected. When that user shares a document<br />

with yet another user, the infection spreads again.<br />

Which Types of Documents Can Be Infected<br />

Virtually any document or document template that contains macros can theoretically be<br />

infected with a macro virus. In practice, Microsoft Office applications have been the<br />

recipients of most macro virus attacks, with Microsoft Word a particular target.<br />

That said, macro viruses have been discovered that target documents in the following<br />

applications:<br />

• Microsoft Word (DOC <strong>and</strong> DOT files)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!