Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
A COMPUTER-IMPLEMENTED METHOD AND SYSTEM FOR PROTECTING A SOFTWARE INSTALLATION AFTER CERTIFICATION
Document Type and Number:
WIPO Patent Application WO/2009/029874
Kind Code:
A1
Abstract:
A computer-implemented system and method for protecting a software installation after certification are disclosed. The system includes components to determine if a cryptographic value of a digital content set matches with a stored cryptographic value of a validated digital content set, to determine if a cryptographic value of a validation rule set matches with a stored cryptographic value corresponding to a validation requirement, and to display a certification message if the cryptographic value of the digital content set matches with a stored cryptographic value of a validated digital content set and the cryptographic value of the validation rule set matches with a stored cryptographic value corresponding to a validation requirement.

Inventors:
MARINO MICHAEL G (US)
TORRUBIA ANDRES M (ES)
Application Number:
PCT/US2008/074898
Publication Date:
March 05, 2009
Filing Date:
August 29, 2008
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
INSTALLSHIELD COMPANY INC (US)
MARINO MICHAEL G (US)
TORRUBIA ANDRES M (ES)
International Classes:
H04K1/00
Foreign References:
US20070087756A12007-04-19
US6185678B12001-02-06
Attorney, Agent or Firm:
ORRICK HERRINGTON & SUTCLIFFE LLP et al. (Suite 1600Irvine, California, US)
Download PDF:
Claims:

CLAIMS

We claim:

1. A method comprising: determining if a cryptographic value of a digital content set matches with a stored cryptographic value of a validated digital content set; determining if a cryptographic value of a validation rule set matches with a stored cryptographic value corresponding to a validation requirement; and displaying a certification message if the cryptographic value of the digital content set matches with a stored cryptographic value of a validated digital content set and the cryptographic value of the validation rule set matches with a stored cryptographic value corresponding to a validation requirement.

2. The method as claimed in claim 1 including determining if the digital content set was digitally signed.

3. The method as claimed in claim 1 wherein the cryptographic value is an MD5 value.

4. The method as claimed in claim 1 wherein the certification message is a certification logo.

5. The method as claimed in claim 1 wherein the determining steps are performed by a bootstrap component.

6. An article of manufacture embodied in a machine storage medium including data that, when accessed by a machine, causes the machine to:

determine if a cryptographic value of a digital content set matches with a stored cryptographic value of a validated digital content set; determine if a cryptographic value of a validation rule set matches with a stored cryptographic value corresponding to a validation requirement; and display a certification message if the cryptographic value of the digital content set matches with a stored cryptographic value of a validated digital content set and the cryptographic value of the validation rule set matches with a stored cryptographic value corresponding to a validation requirement

7. The article of manufacture as claimed in claim 6 being further configured to determine if the digital content set was digitally signed.

8. The article of manufacture as claimed in claim 6 wherein the cryptographic value is an MDS value.

9. The article of manufacture as claimed in claim 6 wherein the certification message is a certification logo.

10. The article of manufacture as claimed in claim 6 including a bootstrap component to determine if the cryptographic value of the digital content set matches with a stored cryptographic value of a validated digital content set and the cryptographic value of the validation rule set matches with a stored cryptographic value corresponding to a validation requirement

11. A method comprising: determining if a certification table is present;

computing a cryptographic value for a digital content set to be installed; determining if a cryptographic value of a digital content set to be installed matches with a certification table cryptographic value of a validated digital content set; determining if a certification table cryptographic value of a validation rule set matches with a stored cryptographic value corresponding to a validation requirement; and displaying a certification message.

12. Hie method as claimed in claim 11 including determining if the digital content set was digitally signed.

13. The method as claimed in claim 11 wherein the cryptographic value is an MD5 value.

14. The method as claimed in claim 11 wherein the certification message is a certification logo.

15. The method as claimed in claim 11 wherein the determining steps are performed by a Windows Installer.

Description:

A COMPUTER-IMPLEMENTED METHOD AND SYSTEM FOR

PROTECTING A SOFTWARE INSTALLATION

AFTER CERTIFICATION

BACKGROUND

Tw-hnjjcal Fidd

[OCH)I] This disclosure relates to distribution of digital content More particularly, the present disclosure relates to protecting a software installation after certification.

Related Art

[0002] The conventional Microsoft Windows Installer (previously known as the Microsoft Installer) is an engine for the installation, maintenance, and removal of software on Microsoft Windows computer systems. The installation information, and often the files themselves, are packaged in installation packages, loosely relational databases structured as OLE (Object Linking and Embedding) Structured Storage Files and commonly known as "MSI files", from their default file extension. The acronym MSI is derived from Microsoft Installation package. [0003] During an installation process, the target system uses an executable file, sometimes called the bootstrap, to start the process of installing an MSI file. The bootstrap can facilitate the downloading and installing of die Windows Installer engine files. Then, the bootstrap can pass the necessary information to start the Windows Installer service and install an MSI package. The bootstrap may also contain the MSI files themselves, which can be extracted and run when the bootstrap is run. This allows the MSI and bootstrap to be carried together as a single file.

[0004] Typical computer system security procedures demand that some kind of validation be performed on the bootstrap and MSI files prior to installation. Un-validated installation files can damage a computer system on which

they are installed. MSI validation rules are designed to prevent entries in the MSI database records that may be valid when examined individually, but that may cause incorrect behavior in the context of the entire MSI database. [0005] It would be beneficial to be able to certify mat MSI files meet certain pre-defined standards of validity. This is important because poorly created MSI files could affect the stability of a computer system and/or cause software conflicts with other software on the computer system. A certification process for MSI files could also be used to detect spyware, viruses, or other malware in an MSI package. Ideally, the MSI file certification could be performed by the software creator/publisher, without the need for a 3 rf party vendor. This process would allow the software creator/publisher to quickly fix any certification errors and release their products to the market much faster. This process would also allow the software creator/publisher to certify multiple versions of their product without having to constantly go back to a 3 rd party provider for verification/certification. [0006] One problem with certifying an MSI file is that the MSI structure and process is an open standard. Anyone can open and edit an MSI database with freely available tools (e.g. Microsoft's Orca.exe). Thus, the MSI files and the related MSI certification rules used to validate those MSI files are vulnerable to unauthorized modification.

[0007] Thus, a computer-implemented system and method for protecting a software installation after certification are needed.

BRIEF DESCRIPTION OF THE DRAWINGS

[0008] Embodiments illustrated by way of example and not limitation in the figures of the accompanying drawings, in which:

[0009] Figure 1 illustrates an embodiment in which a software installation can be protected after certification.

[0010] Figures 2-4 illustrates flow diagrams showing the basic processing operations performed in various embodiments.

[0011] Figures 5 and 6 are block diagrams of a computing system on which an embodiment may operate and in which embodiments may reside.

DETAILED DESCRIPTION

[0012] A computer-implemented system and method for protecting a software installation after certification are disclosed. In the following description, numerous specific details are set forth. However, it is understood mat embodiments may be practiced without these specific details. In other instances, well-known processes, structures and techniques have not been shown in detail in order not to obscure the clarity of this description.

[0013] When certifying a digital content set (e.g. MSI files), it is important to validate both the MSI files and the related MSI certification rules used to validate the MSI files. Otherwise, the certification of the digital content set may be compromised. Figure 1 illustrates an embodiment in which a digital content set 320 is validated using a set of validation rules 310. If the validation rules 310 are run against the digital content set 320 and the validation rules 310 are successfully passed, a successful validation condition 330 can be signaled. In a particular embodiment, the validation process is augmented to add operations of creating cryptographic values for both the validation rule set 310 and the digital content set 320. In a particular embodiment, the cryptographic values can be MDS values. In cryptography, MD5 (Message-Digest algorithm S) is a widely used cryptographic hash function with a 128-bit hash value. As an Internet standard (RFC 1321), MDS has been employed in a wide variety of security applications, and is also commonly used to check the integrity of files. An MDS hash is typically expressed as a 32- character hexadecimal number. In a particular embodiment, the validation process is augmented to add operations of creating MDS hash values for both the validation rule set 310 and the digital content set 320. As shown in Figure 1, a sample MDS value of 12345 is created for the validation rule set 310 and a sample MDS value of 67890 is created for the digital content set 320. It will be apparent to those of ordinary skill in the art that these cryptographic values can be created in any of a

variety of well-known ways. Once these cryptographic values are created for both the validation rule set 310 and the digital content set 320, the validation rules 310 can be run against the digital content set 320. If the successful validation state 330 is entered, the cryptographic values created tor both the validation rule set 310 and titie digital content set 320 are stored in bootstrap 340. In a particular embodiment, the cryptographic values are encrypted into bootstrap 340. As described above, the bootstrap 340 can facilitate the downloading and installing of die Windows Installer engine files. Then, the bootstrap 340 can pass the necessary information to start the Windows Installer service and install an MSI package. The bootstrap 340 may also contain the KfSI files themselves, which can be extracted and run when the bootstrap is run. As part of the particular embodiment described herein, die bootstrap can also store (or have encrypted therein) the cryptographic values created for both the validation rule set 310 and the digital content set 320. In addition, a validation requirement value can also be stored (or encrypted into) the bootstrap 340.

[0014] As shown in Figure 1 , the bootstrap 340 can store (or have encrypted therein) the stored MSI MD5 vahie, the stored validation MDS value, and the stored validation requirement value. The stored MSI MDS value represents the cryptographic value of the digital content set 320 against which the validation rules 310 were run. The stored validation MDS value represents the cryptographic value of the validation rules 310 run against the digital content set 320. The stored validation requirement value is used to tie the bootstrap 340 to a particular validation rule set 310. Tying the bootstrap 340 to a particular validation rule set 310 prevents users from modifying an issued rule set without affecting the execution of the bootstrap 340.

[0015] When the bootstrap 340 is executed, the bootstrap 430 can first compare the cryptographic value of the digital content set with the stored MSI MDS value of the digital content set 320 against which the validation rules 310 were run. Next, the bootstrap 340 can compare the cryptographic value of the validation rules 310 with the stored validation requirement value. If both of these comparisons

succeed, the digital content set 320 can be certified and a certification message or logo can be displayed Note that the certification or validation logo and/or message can be encrypted to protect this information from unauthorized use. [0016] Referring to Figure 2, a flow diagram illustrates the processing flow in a particular embodiment In decision block 410, the cryptographic value of a digital content set is compared with a stored cryptographic value of the validated digital content set If this comparison succeeds, the cryptographic value of a validation rule set is compared with a stored cryptographic value corresponding to the validation requirement (decision block 412). If this comparison succeeds, the validation is successful and a certification logo can be displayed (processing block 414). If this comparison fails, the validation is unsuccessful and an error or status message can be displayed (processing block 416).

[0017] In one embodiment, the validated bootstrap 340 and the digital content set 320 are digitally signed to prevent tampering or modification of the bootstrap 340 and the digital content set 320. The use of digital signatures is well know in the art In this embodiment, the bootstrap 340 will determine whether or not the digital content set 320 has been digitally signed and will present a warning message if the digital content set 320 has not been digitally signed or encrypted. This particular embodiment is illustrated in Figure 3.

[0018] Referring to Figure 3, a flow diagram illustrates the processing flow in a particular embodiment, hi decision block 42S, the bootstrap 340 determines if the digital content set is digitally signed. If the digital content set is digitally signed, processing continues at decision block 430. In decision block 430, the cryptographic value of a digital content set is compared with a stored cryptographic value of the validated digital content set If mis comparison succeeds, the cryptographic value of a validation rule set is compared with a stored cryptographic value corresponding to the validation requirement (decision block 432). If mis comparison succeeds, the validation is successful and a certification logo can be displayed (processing block 434). If this comparison fails, the validation

is unsuccessful and an error or status message can be displayed (processing block 446).

[0019] As described above, the validation procedure may be implemented either during the bootstrap code execution or within the Windows Installer itself. The Windows Installer is a component that is typically bundled within the Windows Operating System. In another alternative embodiment, the validation logic associated with the validation rules 310 is performed by the Windows Installer program and not by the bootstrap code 340. In this embodiment, the cryptographic value (e.g. MDS value) of the digital content set 320 against which the validation rules 310 were run and the cryptographic value of the validation rules that were used to validate the digital content set 320 are stored in an additional MSI certification table. The MSI certification table is accessible to the Windows Installer program.

[0020] When the digital content files 320 are about to be installed by the Windows Installer program, the Windows Installer program determines if the MSI certification table is present. If the MSI certification table is present, the Windows Installer computes a cryptographic value for the digital content set to be installed, excluding the certification table from the cryptographic value computation. Then the Windows Installer extracts the cryptographic value (e.g. MDS value) of the digital content set 320 against which the validation rules 310 were run and compares this cryptographic value with the cryptographic value of the digital content set 320 to be installed. If this comparison succeeds, the Windows Installer men extracts the cryptographic value of the validation rules mat were used to validate the digital content set 320. This cryptographic value of the validation rules is compared with a known (by the Windows Installer) validation requirement cryptographic value. If this comparison succeeds, the Windows Installer can display a certification logo for the validated installation. This particular embodiment is illustrated in Figure 4.

[0021] Referring to Figure 4, a flow diagram illustrates the processing flow in a particular embodiment In decision block 4SS, the Windows Installer

determines if the certification table is present If the certification table is present, the Windows Installer computes a cryptographic value for the digital content set to be installed, excluding the certification table from the cryptographic value computation (processing block 4S7). Next, the Windows Installer determines if the cryptographic value of a digital content set to be installed match with the certification table cryptographic value of the validated digital content set (decision block 460). If there is a match, the Windows Installer determines if the certification table cryptographic value of a validation rule set match with the cryptographic value corresponding to the validation requirement (decision block 462). If mis comparison succeeds, the validation is successful and a certification logo can be displayed (processing block 464). If this comparison fails, the validation is unsuccessful and an error or status message can be displayed (processing block 466).

[0022] Figures S and 6 show an example of a computer system 200 illustrating an exemplary client or server computer system in which the features of an example embodiment may be implemented. Computer system 200 is comprised of a bus or other communications means 214 and 216 for < y wnτmττ*fc**i^£ information, and a processing means such as processor 220 coupled with bus 214 for processing information. Computer system 200 further comprises a random access memory (RAM) or other dynamic storage device 222 (commonly referred to as main memory), coupled to bus 214 for storing information and instructions to be executed by processor 220. Mam memory 222 also may be used for storing temporary variables or other intermediate information during execution of instructions by processor 220. Computer system 200 also comprises a read only memory (ROM) and /or other static storage device 224 coupled to bus 214 for storing static information and instructions for processor 220. [0023] An optional data storage device 228 such as a magnetic disk or optical disk and its corresponding drive may also be coupled to computer system 200 for storing information and instructions. Computer system 200 can also be coupled via bus 216 to a display device 204, such as a cathode ray tube (CRT) or a liquid crystal display (LCD), for displaying information to a computer user. For

example, image, textual, video, or graphical depictions of information may be presented to the user on display device 204. Typically, an alphanumeric input device 208, including alphanumeric and other keys is coupled to bus 216 for communicating information and/or command selections to processor 220. Another type of user input device is cursor control device 206, such as a conventional mouse, trackball, or other type of cursor direction keys for communicating direction information and command selection to processor 220 and for controlling cursor movement on display 204.

{0024] A communication device 226 may also be coupled to bus 216 for accessing remote computers or servers, such as a web server, or other servers via the Internet, for example. The communication device 226 may include a modem, a network interface card, or other well-known interface devices, such as those used for interfacing with Ethernet, Token-ring, wireless, or other types of networks. Ih any event, in this manner, the computer system 200 may be coupled to a number of servers via a conventional network infrastructure.

[0025] The system of an example embodiment includes software, information processing hardware, and various processing steps, as described above. The features and process steps of example embodiments may be embodied in machine or computer executable instructions. The instructions can be used to cause a general purpose or special purpose processor, which is programmed with the instructions to perform the steps of an example embodiment Alternatively, the features or steps may be performed by specific hardware components mat contain hard-wired logic for performing the steps, or by any combination of programmed computer components and custom hardware components. While embodiments are described with reference to the Internet, the method and apparatus described herein is equally applicable to other network infrastructures or other data communications systems.

[0026] It should be noted that the methods described herein do not have to be executed in the order described, or in any particular order. Moreover, various activities described with respect to the methods identified herein can be

executed in repetitive, simultaneous, recursive, serial, or parallel fashion. Information, including parameters, commands, operands, and other data, can be sent and received in the form of one or more carrier waves through communication device 226.

[0027] Upon reading and comprehending the content of this disclosure, one of ordinary skill in the art will understand the manner in which a software program can be launched from a computer-readable medium in a computer-based system to execute the functions defined in the software program described above. One of ordinary skill in the art will further understand the various programming languages that may be employed to create one or more software programs designed to implement and perform the methods disclosed herein. Hie programs may be structured in an object-orientated format using an object-oriented language such as Java, Smalltalk, or C++. Alternatively, the programs can be structured in a procedure-orientated format using a procedural language, such as assembly or C. The software components may communicate using any of a number of mechanisms well known to those of ordinary skill in the art, such as application program interfaces or inter-process communication techniques, including remote procedure calls. The teachings of various embodiments are not limited to any particular programming language or environment, including HTML and XML. {0028] Thus, other embodiments may be realized. For example,

Figures 5 and 6 illustrate block diagrams of an article of manufacture according to various embodiments, such as a computer 200, a memory system 222, 224, and 228, a magnetic or optical disk 212, some other storage device 228, and/or any type of electronic device or system. The article 200 may include a computer 202 (having one or more processors) coupled to a computer-readable medium 212, and/or a storage device 228 (e.g., fixed and/or removable storage media, including tangible memory having electrical, optical, or electromagnetic conductors) or a carrier wave through communication device 226, having associated information (e.g., computer program instructions and/or data), which when executed by the computer 202, causes the computer 202 to perform the methods described herein.

[0029] Various embodiments are described. In particular, the use of embodiments with various types and formats of user interface presentations may be described It will be apparent to those of ordinary skill in the art that alternative embodiments of the implementations described herein can be employed and still fall within the scope of the claims set forth below. In the detail herein, various embodiments are described as implemented in computer-implemented processing logic denoted sometimes herein as the "Software". As described above, however, the claimed invention is not limited to a purely software implementation, [0030] Thus, a computer-implemented system and method for protecting a software installation after certification are disclosed. While the present invention has been described in terms of several example embodiments, those of ordinary skill in the art will recognize that the present invention is not limited to the embodiments described, but can be practiced with modification and alteration within the spirit and scope of the appended claims. The description herein is thus to be regarded as illustrative instead of limiting.