
Understanding the Risks Associated with Mobile Code • Chapter 3 91
The possibility of someone creating a macro-virus was first brought
up in about 1996, but it wasn’t until the Melissa virus appeared in 1999
that the impact was felt on a global scale. Melissa was created with VBA
in a Word document.The following code snippet has been modified
slightly from the original Melissa code.The code will create an instance
of Outlook and send out an e-mail that claims to be from the current
user. If we replaced the code in Figure 3.3 with the following Melissa
code (and attached the document to an e-mail message), the macro
would be able to spread:
Set UngaDasOutlook ...