|
|
To print: Select File and then Print from your browser's menu
-------------------------------------------------------------- This story was printed from ZDNet Australia. --------------------------------------------------------------
|
Why use digital signatures on macros By Rick Vanover, TechRepublic July 28, 2004 URL: http://www.zdnet.com.au/insight/software/soa/Why-use-digital-signatures-on-macros/0,139023769,139154699,00.htm
The destructive potential of macros has forced IT professionals to extend their security focus to commonly distributed documents. To protect against this threat without curtailing distribution and use of macros, many organisations implement digital signatures, which allow verification that macros and other electronic content come from a trusted source. Digital signatures on macros tell users who placed the signature in the document. The signature can be verified with a certificate root authority or using an internal mechanism within your organisation. You can implement digital signatures with your macros by:
In this article, we will focus on Microsoft Excel, but other macro-enabled Office applications behave in a similar manner.
SelfCert.exe tool
By default, the SelfCert tool is installed in C:\Program Files\Microsoft Office\Office\Selfcert.exe. Running the tool is fairly straightforward, and some basic safeguards are in place to ensure that certificate authorities are not spoofed. For example, you can't use Verisign, Inc., in the Name field of the SelfCert tool, although you can use similar variants of that name. (In other words, Verisign is rejected; Veri Sign is not.) SelfCert-created signatures don't have an actual certificate, but only a header. When you look at a certificate created with SelfCert, you'll see that it's "empty". Figure A shows an example.
If a macro project contains a digital signature, users need to be able to distinguish a SelfCert-created certificate from a certificate authority-issued one. With Office installations using High or Medium security settings, running a macro will bring up the familiar security message to enable or disable macros. But as Figure B shows, SelfCert-created signatures appear with a warning.
It's important to click the Details tab to get more information, because looking at the name of the macro issuer is not enough to determine whether a signature is valid. The Details tab will give the official information on any digital signature.
What about a PKI infrastructure?
Let's look at a macro that has a validdigital signature and see how Microsoft Excel recognises it. When you first open a signed Excel document, it may not to appear any different from an unsigned document. Therefore, as a matter of practice, users should always view the details of a signature and check the Digital Signature Information field for the signature. In our sample digitally signed document, this signature was issued by SSNS (Sample Security Name Systemsââ,¬"a fictitious organisation). Clicking on the Details tab of the macro security prompt (which, again, appears only with High or Medium security settings) shows the information in Figure C.
Notice that unlike the SelfCert example, where the status was marked as Not Trusted, this signature is marked as OK. When the status is marked as OK or as Verified with a root certificate authority, you can be sure that the macros are from the organisation or individual(s) listed on the macro startup screen. This does not mean that the contents of the electronic material are safe; digital signatures ensure only that the material was indeed digitally signed by the person specified as the signer.
Certification authority
Web resources
TechRepublic is the online community and information resource for all IT professionals, from support staff to executives. We offer in-depth technical articles written for IT professionals by IT professionals. In addition to articles on everything from Windows to e-mail to firewalls, we offer IT industry analysis, downloads, management tips, discussion forums, and e-newsletters.
Copyright © 2009 CBS Interactive, a CBS Company. All Rights Reserved. |