mailing list archives
Re: [PEN-TEST] MS-Excel Macro's
From: Steve Parker <steve () FOGHORNSECURITY COM>
Date: Thu, 7 Sep 2000 21:42:48 -0700
You can stop Visual Basic scripts from doing some things by hacking the
For instance, if a VB script tries to automate an Excel spreadsheet,
it will create an object of type "Excel.Application". Windows looks to the
registry under HKEY_CLASSES_ROOT for a key called "Excel.Application". That
key holds the CLSID for the OLE automation object for Excel. If that key is
deleted, VB scripts and macros will not be able to use Excel functionality.
I used a similiar technique to thwart email propagation of VB viruses [delete
Outlook.Application]. It's ugly, but effective.
On Thu, 07 Sep 2000, you wrote:
Silly question. I have written a "nasty" test macro in MS-Excel to test one
of our production servers that converts email to fax. How does one block
this? I have removed Windows Scripting Host and have set MS-Excel to prompt
before running macro's and it still runs.
Our admin has done some checking into this and apparently you can not
disable it. Can this possibly be true?