IP Library Granted Patent US 8,799,662
Granted Patent B2
US 8,799,662 · App. 13/559,781 · Granted Aug 5, 2014

Method and apparatus for validating the integrity of installer files prior to installation

Inventors: Afroz Muzammil (New Dehli, IN); Piyush Gupta (Patiala, IN); Himanshu Garg (Jaipur, IN); Mansukh Patidar (Greater Noida, IN)
Assignee: Adobe Systems Incorporated
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,799,662
App. No.
13/559,781
Granted
Aug 5, 2014
Kind
B2
Abstract

A method and apparatus for validating the integrity of computer software installer files prior to installation of computer software comprising: generating at least one signature file for at least one corresponding installer file, the at least one signature file comprising a file name, a file size and a checksum, wherein the checksum is calculated for the corresponding installer file; and packaging the at least one signature file with the corresponding installer file, wherein the checksum in the signature file is used to validate the integrity of the installer file prior to installation of the installer file.

Claims (63)

1. A computer implemented method comprising:

generating at least one signature file for at least one corresponding installer file, the at least one signature file comprising a checksum, wherein the checksum is calculated for the at least one corresponding installer file by dividing the at least one corresponding installer file into a plurality of segments, extracting data from each of the segments in the plurality of segments, calculating a first hash checksum from the extracted data, and storing the first hash checksum in the at least one signature file; and

packaging the at least one signature file with the at least one corresponding installer file,

wherein the checksum in the signature file is used to validate the integrity of the at least one corresponding installer file prior to installation of the at least one corresponding installer file.

2. The method of claim 1 , wherein generating the at least one signature file for the at least one corresponding installer file comprises:

creating a first buffer from a concatenation of the extracted data;

calculating the first hash checksum for the first buffer;

encrypting the first hash checksum to secure the first hash checksum; and

storing the encrypted first hash checksum in the at least one signature file.

3. The method of claim 1 , wherein the at least one signature file comprises a file name, and the at least one signature file for a corresponding installer file comprises a same name as the corresponding installer file and a .sig file name extension.

4. The method of claim 1 , wherein the checksum is an MD5 checksum.

5. The method of claim 1 , wherein the checksum is encrypted with RSA public key encryption.

6. The method of claim 1 , wherein the signature file, which also comprises a file name and file size, is used to validate the integrity of the at least one corresponding installer file by:

detecting at least one of a presence or absence of a signature file for the corresponding installer file;

comparing a file name in the signature file with a file name of the corresponding installer file;

comparing a file size in the signature file with a file size of the corresponding installer file; and

comparing a checksum in the signature file with a checksum of the corresponding installer file.

7. The method of claim 6 , wherein comparing a checksum in the signature file with a checksum of the corresponding installer file comprises:

generating a second buffer by dividing each of the installer files into a plurality of segments and extracting data from each of the segments;

calculating a checksum of the second buffer;

decrypting the checksum from the signature file; and

comparing the calculated checksum with the decrypted checksum from the signature file.

8. The method of claim 1 , wherein a respective one of a plurality of signature files is used for validating each of a corresponding plurality of installer files.

9. An apparatus for generating installer files comprising:

a checksum generator module for generating at least one signature file for a corresponding one of a plurality of the installer files, the at least one signature file comprising a file name, a file size and a checksum;

the checksum generator module comprising:

a first buffer comprising a concatenation of data chunks extracted from each of a number of sequential segments that divide a corresponding installer file;

a first hash function generator for calculating a first hash checksum for the data of the first buffer; and

an encryption module for encrypting the first hash checksum to secure the first hash checksum in the signature file; and

a packager for packaging the at least one signature file with the corresponding installer file.

10. The apparatus of claim 9 , wherein the signature file may be used to validate the integrity of the corresponding installer file by:

detecting at least one of a presence or absence of a signature file for the corresponding installer file;

comparing a file name in the signature file with a file name of the corresponding installer file;

comparing a file size in the signature file with a file size of the corresponding installer file; and

comparing a checksum in the signature file with a checksum of the corresponding installer file.

11. The apparatus of claim 10 , wherein comparing a checksum in the signature file with a checksum of the corresponding installer file comprises:

generating a second buffer by dividing each of the installer files into a plurality of segments and extracting data from each of the segments;

calculating a checksum of the second buffer;

decrypting the checksum from the signature file; and

comparing the calculated checksum with the decrypted checksum from the signature file.

12. The apparatus of claim 9 , wherein the checksum is an MD5 checksum encrypted with RSA public key encryption.

13. A computer implemented method for validating the integrity of computer software installer files prior to installation of computer software comprising:

receiving a package having at least one signature file with at least one corresponding installer file for implementing installation of computer software;

detecting a checksum in the at least one signature file; and

validating the integrity of the at least one installer file prior to installation of the installer file by

dividing the at least one corresponding installer file into a plurality of segments,

extracting data from each of the segments in the plurality of segments,

calculating a first hash checksum from the extracted data, and

comparing the first hash checksum to the checksum detected in the corresponding signature file; and

validating the integrity of the at least one corresponding installer file by comparing the first hash checksum to the checksum detected in the corresponding signature file.

14. The computer implemented method claim 13 , wherein validating the integrity of the at least one corresponding installer file further comprises:

creating a first buffer from a concatenation of the extracted data;

calculating the first hash checksum for the first buffer;

decrypting the hash checksum detected in the corresponding signature file; and

comparing the first hash checksum to the decrypted checksum from the corresponding signature file.

15. The computer implemented method of claim 13 , wherein the at least one signature file comprises a file name, and the at least one signature file for a corresponding installer file comprises a same name as the corresponding installer file and a .sig file name extension.

16. The computer implemented method of claim 13 , wherein the checksum is an MD5 checksum.

17. The computer implemented method of claim 13 , wherein the checksum detected in the at least one signature file is encrypted with RSA public key encryption.

18. The computer implemented method of claim 13 , wherein the at least one signature file comprises a file name, and wherein validating the integrity of the at least one corresponding installer file further comprises:

comparing a file name in the signature file with a file name of the corresponding installer file.

19. The computer implemented method of claim 18 , wherein the at least one signature file comprises a file size, and wherein validating the integrity of the at least one corresponding installer file further comprises:

comparing a file size in the signature file with a file size of the corresponding installer file.

20. The computer implemented method of claim 13 , wherein a respective one of a plurality of signature files is used for validating each of a corresponding plurality of installer files.

Assignments (2)
CHANGE OF NAME Recorded Apr 8, 2019
From: ADOBE SYSTEMS INCORPORATED
To: ADOBE INC.
Reel/Frame 048867/0882 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 30, 2012
From: MUZAMMIL, AFROZ; GUPTA, PIYUSH; GARG, HIMANSHU; PATIDAR, MANSUKH
To: ADOBE SYSTEMS INCORPORATED
Reel/Frame 028669/0266 →
Continuity (1)
Related Publication 20140032915A1 · Jan 30, 2014