×

Techniques for detecting encrypted data

  • US 8,799,671 B2
  • Filed: 05/06/2009
  • Issued: 08/05/2014
  • Est. Priority Date: 05/06/2009
  • Status: Active Grant
First Claim
Patent Images

1. A method to detect an encryption status of a data file stored in a data source and to selectively encrypt the data file based on the encryption status, the method comprising:

  • reading the data file from the data source;

    comparing a data file type of the data file to a set of data file types, wherein the data file types are included in the set according to a likelihood that the encryption status is known;

    in response to a determination that the encryption status of the data file type of the data file is unknown, calculating a value of a property of the data file read from the data source, including calculating a distribution of frequencies of occurrence of a plurality of values in the data file read from the data source;

    comparing the calculated value with a threshold value to determine whether the data file read from the data source is encrypted or unencrypted, including comparing the distribution of frequencies of occurrence of the plurality of values in the data file to an average distribution of frequencies for a known reference distribution to determine whether the distribution of frequencies of occurrence of the plurality of values in the data file differs significantly from the average distribution of frequencies for the known reference distribution, wherein the known reference distribution is associated with a text file type;

    in response to determining that the data file read from the data source is unencrypted as a result of the comparing, encrypting the data file read from the data source and storing the encrypted data file in a cache; and

    in response to determining that the data file read from the data source is encrypted as a result of the comparing, storing the data file read from the data source in the cache without further encryption.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×