Distributed cryptographic methods and arrangements

Information

  • Patent Application
  • 20020118836
  • Publication Number
    20020118836
  • Date Filed
    February 28, 2001
    23 years ago
  • Date Published
    August 29, 2002
    22 years ago
Abstract
First and second computing devices are selectively operatively coupled together. The first device provides data to the second device. The second device can be a portable computing device. The second device is configured to encrypt/decrypt the data, as needed by the first device. The second device maintains the cryptographic key data internally. As such, the first device, which, for example, may be a personal computer will only maintain the returned encrypted data following encryption and only temporarily use any returned decrypted data. Thus, by physically and operatively distributing the cryptographic processing/maintenance between the two devices, additional security is provided for protecting private data.
Description


TECHNICAL FIELD

[0001] The present invention relates generally to computers and like devices, and more particularly to methods and arrangements for providing a more secure cryptographic environment.



BACKGROUND

[0002] There is a continuing need to keep certain information secure within a computer. For example, many computer operating systems and applications require users to initially and/or periodically generate passwords, which are subsequently used to verify the user's identity. These passwords represent one form of “private data” that preferably needs to be stored within the computer in some significantly secure manner.


[0003] Typically, passwords and other forms of private data are encrypted prior to storage, for example, using an encryption algorithm and an associated encryption key. During subsequent retrieval, the encrypted private data is decrypted using a decryption algorithm and the encryption key.


[0004] One of the drawbacks to this encrypting/decrypting process is that both the encrypted data and the encryption key need to be stored somewhere within the computer. This presents a point of weakness within the overall security of the private data, since an unauthorized user needs only to determine/locate the encryption key to gain access to the encrypted private data. Hence, passwords and other supposedly secret information files may fall prey to hackers that have gained access to the computer.


[0005] Consequently, there is a need for improved methods and arrangements for securing private data.



SUMMARY

[0006] Improved methods and arrangements are provided for securing private data.


[0007] By way of example, in accordance with certain aspects of the present invention, first and second computing devices are selectively, operatively coupled together. The first device provides data to the second device. The second device may, for example, be a portable computing device. The second device is configured to encrypt/decrypt the data, as needed by the first device. The second device maintains the cryptographic key data internally. As such, the first device, which, for example, may be a personal computer or like device will only maintain the returned encrypted data following encryption and only temporarily use any returned decrypted data. Thus, by physically and operatively distributing the cryptographic processing/maintenance between the two devices, additional security is provided for protecting private data.







BRIEF DESCRIPTION OF THE DRAWINGS

[0008] A more complete understanding of the various methods and arrangements of the present invention may be had by reference to the following detailed description when taken in conjunction with the accompanying drawings wherein:


[0009]
FIG. 1 is a block diagram that depicts an exemplary device, in the form of a computer, which is suitable for use with certain implementations of the present invention.


[0010]
FIGS. 2

a
-b are block diagrams depicting two devices that are selectively coupled together and configured to encrypt data and decrypt data, respectively, in accordance with certain exemplary implementations of the present invention.


[0011]
FIG. 3 is a block diagram depicting certain functional operations between two devices, for example, as in FIGS. 2a-b, in support of encryption/decryption processes, in accordance with certain exemplary implementations of the present invention.


[0012]
FIG. 4 is an illustrative representation of obfuscated encryption information within a device used for encryption/decryption of data, in accordance with certain exemplary implementations of the present invention.







DETAILED DESCRIPTION

[0013] Turning to the drawings, wherein like reference numerals refer to like elements, the invention is illustrated as being implemented in a suitable computing environment. Although not required, the invention will be described in the general context of computer-executable instructions, such as program modules, being executed by a personal computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. Moreover, those skilled in the art will appreciate that the invention may be practiced with other computer system configurations, including hand-held devices, multi-processor systems, microprocessor based or programmable consumer electronics, network PCs, minicomputers, mainframe computers, and the like. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote memory storage devices.


[0014]
FIG. 1 illustrates an example of a suitable computing environment 120 on which the subsequently described methods and arrangements may be implemented.


[0015] Exemplary computing environment 120 is only one example of a suitable computing environment and is not intended to suggest any limitation as to the scope of use or functionality of the improved methods and arrangements described herein. Neither should computing environment 120 be interpreted as having any dependency or requirement relating to any one or combination of components illustrated in computing environment 120.


[0016] The improved methods and arrangements herein are operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well known computing systems, environments, and/or configurations that may be suitable include, but are not limited to, personal computers, server computers, thin clients, thick clients, hand-held or laptop devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.


[0017] As shown in FIG. 1, computing environment 120 includes a general-purpose computing device in the form of a computer 130. The components of computer 130 may include one or more processors or processing units 132, a system memory 134, and a bus 136 that couples various system components including system memory 134 to processor 132.


[0018] Bus 136 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnects (PCI) bus also known as Mezzanine bus.


[0019] Computer 130 typically includes a variety of computer readable media. Such media may be any available media that is accessible by computer 130, and it includes both volatile and non-volatile media, removable and non-removable media.


[0020] In FIG. 1, system memory 134 includes computer readable media in the form of volatile memory, such as random access memory (RAM) 140, and/or non-volatile memory, such as read only memory (ROM) 138. A basic input/output system (BIOS) 142, containing the basic routines that help to transfer information between elements within computer 130, such as during start-up, is stored in ROM 138. RAM 140 typically contains data and/or program modules that are immediately accessible to and/or presently being operated on by processor 132.


[0021] Computer 130 may further include other removable/non-removable, volatile/non-volatile computer storage media. For example, FIG. 1 illustrates a hard disk drive 144 for reading from and writing to a non-removable, non-volatile magnetic media (not shown and typically called a “hard drive”), a magnetic disk drive 146 for reading from and writing to a removable, non-volatile magnetic disk 148 (e.g., a “floppy disk”), and an optical disk drive 150 for reading from or writing to a removable, non-volatile optical disk 152 such as a CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM or other optical media. Hard disk drive 144, magnetic disk drive 146 and optical disk drive 150 are each connected to bus 136 by one or more interfaces 154.


[0022] The drives and associated computer-readable media provide nonvolatile storage of computer readable instructions, data structures, program modules, and other data for computer 130. Although the exemplary environment described herein employs a hard disk, a removable magnetic disk 148 and a removable optical disk 152, it should be appreciated by those skilled in the art that other types of computer readable media which can store data that is accessible by a computer, such as magnetic cassettes, flash memory cards, digital video disks, random access memories (RAMs), read only memories (ROM), and the like, may also be used in the exemplary operating environment.


[0023] A number of program modules may be stored on the hard disk, magnetic disk 148, optical disk 152, ROM 138, or RAM 140, including, e.g., an operating system 158, one or more application programs 160, other program modules 162, and program data 164.


[0024] The improved methods and arrangements described herein may be implemented within operating system 158, one or more application programs 160, other program modules 162, and/or program data 164.


[0025] A user may provide commands and information into computer 130 through input devices such as keyboard 166 and pointing device 168 (such as a “mouse”). Other input devices (not shown) may include a microphone, joystick, game pad, satellite dish, serial port, scanner, camera, etc. These and other input devices are connected to the processing unit 132 through a user input interface 170 that is coupled to bus 136, but may be connected by other interface and bus structures, such as a parallel port, game port, or a universal serial bus (USB).


[0026] A monitor 172 or other type of display device is also connected to bus 136 via an interface, such as a video adapter 174. In addition to monitor 172, personal computers typically include other peripheral output devices (not shown), such as speakers and printers, which may be connected through output peripheral interface 175.


[0027] Computer 130 may operate in a networked environment using logical connections to one or more remote computers, such as a remote computer 182. Remote computer 182 may include many or all of the elements and features described herein relative to computer 130.


[0028] Logical connections shown in FIG. 1 are a local area network (LAN) 177 and a general wide area network (WAN) 179. Such networking environments are commonplace in offices, enterprise-wide computer networks, intranets, and the Internet.


[0029] When used in a LAN networking environment, computer 130 is connected to LAN 177 via network interface or adapter 186. When used in a WAN networking environment, the computer typically includes a modem 178 or other means for establishing communications over WAN 179. Modem 178, which may be internal or external, may be connected to system bus 136 via the user input interface 170 or other appropriate mechanism.


[0030] Depicted in FIG. 1, is a specific implementation of a WAN via the Internet. Here, computer 130 employs modem 178 to establish communications with at least one remote computer 182 via the Internet 180.


[0031] In a networked environment, program modules depicted relative to computer 130, or portions thereof, may be stored in a remote memory storage device. Thus, e.g., as depicted in FIG. 1, remote application programs 189 may reside on a memory device of remote computer 182. It will be appreciated that the network connections shown and described are exemplary and other means of establishing a communications link between the computers may be used.


[0032] Reference is now made to FIGS. 2a-b, which are block diagrams depicting encrypting and decrypting operations that are conducted between to selectively coupled devices.


[0033] As shown in FIG. 2a, a first device 202 is selectively coupled through a coupling mechanism 204 to a second device 206. First device 202, in accordance with certain exemplary implementations is a computer, e.g., as in FIG. 1. First device 202 includes code, such as, application 208, which requires that at least a portion of data 210 be encrypted in some manner. Rather than maintaining the necessary encryption key information within first device 202 where it may be vulnerably to attacks by unauthorized users, this important information is maintained within second device 206.


[0034] While second device 206 may also be a computer, e.g., as in FIG. 1, in accordance with certain further exemplary implementations of the present invention second device 206 may also take the form of a handheld/portable computing device, such as, for example, a personal digital assistant (PDA), mobile communication device, smart card, etc. Thus, for example, second device 206 may be a Pocket PC device, a Palm Pilot device, a mobile telephone device, a pager device, a wristwatch device, and the like.


[0035] Nevertheless, for simplicity, in the following exemplary implementations it will be assumed that first device 202 is a conventional PC and that second device 206 is a conventional Pocket PC device. In which case, coupling mechanism 204 is usually a cradle mechanism configured to hold second device 206 and provide the requisite electrical connections between first device 202 and second device 206. Here, for example, coupling mechanism 204 can be connected to first device 202 using a USB interface.


[0036] One feature to this type of configuration is that the user can easily (i.e., selectively) couple or decouple the two devices simply by physically placing second device 206 in coupling mechanism 204 or physically removing second device 206 from coupling mechanism 204. This is advantageous, since device 206, as shown in this example, includes encryption key data 212 and associated encryption logic 213 and decryption logic 214. By having the capability for the user to selectively decouple first device 202 and second device 206, unauthorized users will find it nearly impossible to gain access to both the encrypted data that is stored in first device 202 and the corresponding encryption key data 212, encryption logic 213 and decryption logic 214, which are maintained in second device 206.


[0037] As for the operation of this distributed encryption scheme, as depicted in FIG. 2a, data to be encrypted is provided by first device 202 to second device 206. Second device 206 encrypts the data (i.e., private data) using key data 212 and encryption logic 213. The resulting encrypted data is then provided back to first device 202 for storage.


[0038] As depicted in the similar block diagram of FIG. 2b, when application 208 requires that the stored encrypted data be decrypted, then the encrypted data is provided to second device 206. Second device 206 decrypts the encrypted data (i.e., private data) using key data 212 and decryption logic 214. The resulting decrypted data is then provided back to first device 202 for use.


[0039] With this general description in mind, a more detailed description will now be provided for certain exemplary operations associated with key data 212, encryption logic 213 and decryption logic 214.


[0040] Those skilled in the art will recognize that key data 212 can be generated using any conventional encryption key generating methods. Furthermore, encryption logic 213 and decryption logic 214 may employ any of a variety of known cryptography algorithms. The exact details of these methods and algorithms are beyond the scope of this detailed description.


[0041] With this in mind, FIG. 3 is a block diagram depicting methods and arrangements for encrypting and decrypting data within the two-device configuration of FIGS. 2a-b.


[0042] Although not necessary in all implementations, it would usually be preferable to maintain key data 212 in some secure form within second device 206. For example, a configuration 300 in FIG. 3 obfuscates key data 212 to provide additional security against unauthorized users, should they somehow gain access to second device 206.


[0043] Here, in this example, a random value v1302 is provided within second device 206. Next, random value v1302 and a device identifier IDI 304 are provided to a hash function 306 (or otherwise processed) to produce a resulting value v2. Random value v1302, can, for example, be an n-bit random binary number, e.g., 128-bit random number. Device identifier IDI 304 can, for example, be a binary representation of a user-defined name for second device 206, e.g., “Mike's Pocket PC”, or the like.


[0044] Resulting value v2308 is then used, in this example, to identify (e.g., point to) a key seed k1310. In this example, resulting value v2308 and key seed k1310 are associated together within a registry file 312 or the like. As described below with reference to FIG. 4, registry file 312 may further include one or more decoy entries.


[0045] Next, key seed k1310 is provided, along with at least one other seed data to a hash function 314 (or otherwise processed) to produce a real key k2320. In this example, key seed k1310 is hashed with a first seed s1316 provided by the first device and a second seed s2 provided by the second device. For example, first seed s1316 may be the binary representation of the name of the application, a user-provided input, etc. Second seed s2318 may, for example, be an internally maintained unique device identifier, e.g., a serial number or the like, or a pre-programmed value. By way of example, each Compaq iPAQ Pocket PC has a unique tag number that can be used for second seed s2318.


[0046] Key 320 is then provided to either encryption logic 213 or decryption logic 214, as needed, to complete the encryption or decryption of data as provided to the second device by the first device. The resulting encrypted or decrypted data is then provided by the second device to the first device.


[0047] To provide additional security, the user may be required to provide an authorizing input, e.g., proceed or cancel, to the second device prior to allowing it to either encrypt or decrypt data.


[0048] Attention is now drawn to the illustrative representation in FIG. 4. Here, as previous1y mentioned, a registry file is depicted as having a plurality of pairs 400 of associated name entries 402 and value entries 404. Most of the entries in this exemplary registry file 312 are decoys. Mixed in with these decoys, however, are random number value v1, resulting value v2 and key seed k1. Random name entries are identified as dn1, dn2, dn3, . . . , dni. Random value entries are identified as dvn1, dvn2, dvn3, . . . , dvni.


[0049] Stepping through the exemplary operation of configuration 300 in FIG. 3 using registry file 312 of FIG. 4, to determine random value v1302, a pre-specified non-random name is found in the name entries of registry file 312. As illustrated, random value v1 is associated with this pre-specified non-random name. Following hash function 306, resulting value v2308 is then found in the name entries 402. As illustrated, associated with resulting value v2 one finds key seed k1. Key seed k1310 can then be hashed with one or more other seed values (e.g., s1, s2) as previous1y described to generate key data k2320.


[0050] This is but one exemplary method for obfuscating or otherwise hiding portions of the seed data required to generate the actual encryption key (k2).


[0051] Thus, although some preferred embodiments of the various methods and arrangements of the present invention have been illustrated in the accompanying Drawings and described in the foregoing Detailed Description, it will be understood that the invention is not limited to the exemplary embodiments disclosed, but is capable of numerous rearrangements, modifications and substitutions without departing from the spirit of the invention as set forth and defined by the following claims.


Claims
  • 1. A method comprising: causing a first device to provide data to a second device; and causing the second device to cryptographically modify the data and provide the resulting cryptographically modified data to the first device.
  • 2. The method as recited in claim 1, wherein causing the second device to cryptographically modify the data includes causing the second device to encrypt the data using at least one cryptographic key.
  • 3. The method as recited in claim 1, wherein causing the second device to cryptographically modify the data includes causing the second device to decrypt the data using at least one cryptographic key.
  • 4. The method as recited in claim 1, wherein causing the second device to cryptographically modify the data and provide the resulting cryptographically modified data to the first device further includes maintaining cryptographic key seed data on the second device and preventing the cryptographic key seed data from being identified by the first device.
  • 5. The method as recited in claim 4, wherein causing the second device to cryptographically modify the data further includes cryptographically processing the cryptographic key seed data and at least one identifying seed data to generate at least one cryptographic key and using the cryptographic key to cryptographically modify the data.
  • 6. The method as recited in claim 5, wherein processing the cryptographic key seed data and the at least one identifying seed data to generate the at least one cryptographic key further includes causing the second device to provide at least one user-defined identifying seed data.
  • 7. The method as recited in claim 6, wherein processing the cryptographic key seed data and the at least one identifying seed data to generate the at least one cryptographic key further includes causing the second device to provide at least one second device identifying seed data.
  • 8. The method as recited in claim 5, wherein processing the cryptographic key seed data and the at least one identifying seed data to generate the at least one cryptographic key further includes causing the first device to provide at least one identifying seed data to the second device.
  • 9. The method as recited in claim 8, wherein causing the first device to provide at least one identifying seed data further includes causing the first device to provide an application identifying seed data to the second device.
  • 10. The method as recited in claim 5, wherein cryptographically processing the cryptographic key seed data and the at least one identifying seed data to generate the at least one cryptographic key further includes hashing the cryptographic key seed data and the at least one identifying seed data to generate the at least one cryptographic key.
  • 11. The method as recited in claim 5, wherein cryptographically processing the cryptographic key seed data and the at least one identifying seed data to generate the at least one cryptographic key further includes determining the cryptographic key seed data by cryptographically processing at least one random number with at least one second device identifying number to produce a resulting value, locating the resulting value in a file maintained within the second device, wherein the resulting value located within the file is further associated with the cryptographic key seed data.
  • 12. The method as recited in claim 11, wherein cryptographically processing the at least one random number with the at least one second device identifying number to produce the resulting value further includes hashing the at least one random number with the at least one second device identifying number to produce the resulting value.
  • 13. The method as recited in claim 11, wherein locating the resulting value in the file maintained within the second device further includes initially generating the file within the second device.
  • 14. The method as recited in claim 13, wherein initially generating the file within the second device further includes providing at least one decoy entry in the file.
  • 15. The method as recited in claim 14, wherein providing the at least one decoy entry in the file further includes randomly generating the at least one decoy entry.
  • 16. The method as recited in claim 14, wherein providing at least one decoy entry in the file further includes providing a plurality of decoy entries in the file and randomly arranging the plurality of decoy entries, the resulting value and associated cryptographic key seed data within the file.
  • 17. The method as recited in claim 16, wherein randomly arranging the plurality of decoy entries, the resulting value and associated cryptographic key seed data within the file further includes randomly arranging the plurality of decoy entries, the resulting value and associated cryptographic key seed data within a registry file.
  • 18. The method as recited in claim 1, wherein causing the first device to provide data to the second device further includes causing the first device to provide private data to the second device.
  • 19. The method as recited in claim 1, further comprising selectively operatively coupling the first device to the second device.
  • 20. A system comprising: a first device; and a second device operatively coupled to the first device, and wherein the first device is configured to output data to the second device and the second device is configured to cryptographically modify the data and output the resulting cryptographically modified data to the first device.
  • 21. The system as recited in claim 20, wherein the second device includes encryption logic that is configured to encrypt the data using at least one cryptographic key.
  • 22. The system as recited in claim 20, wherein the second device includes decryption logic that is configured to decrypt the data using at least one cryptographic key.
  • 23. The system as recited in claim 20, wherein the second device further includes cryptographic key seed data.
  • 24. The system as recited in claim 23, wherein the second device further includes logic that is configured to cryptographically process the cryptographic key seed data and at least one identifying seed data to generate at least one cryptographic key and to use the cryptographic key to cryptographically modify the data.
  • 25. The system as recited in claim 24, wherein the logic is further configured to provide at least one user-defined identifying seed data.
  • 26. The system as recited in claim 25, wherein the logic is further configured to provide at least one second device identifying seed data.
  • 27. The system as recited in claim 24, wherein the first device is further configured to output at least one identifying seed data to the logic in the second device.
  • 28. The system as recited in claim 27, wherein the first device is further configured to output an application identifying seed data to the second device.
  • 29. The system as recited in claim 24, wherein the logic is further configured to hash the cryptographic key seed data and the at least one identifying seed data to generate the at least one cryptographic key.
  • 30. The system as recited in claim 24, wherein the second device includes memory operatively coupled to the logic, and wherein the logic is further configured to determine the cryptographic key seed data by cryptographically processing at least one random number with at least one second device identifying number to produce a resulting value, and to locate the resulting value in at least one file maintained within the memory, and wherein the resulting value located within the file is further associated with the cryptographic key seed data.
  • 31. The system as recited in claim 30, wherein the logic is further configured to hash the at least one random number with the at least one second device identifying number to produce the resulting value.
  • 32. The system as recited in claim 30, wherein the logic is further configured to generate the file within the memory.
  • 33. The system as recited in claim 32, wherein the logic is further configured to generate and place at least one decoy entry in the file.
  • 34. The system as recited in claim 33, wherein the logic is further configured to randomly generate the at least one decoy entry.
  • 35. The system as recited in claim 33, wherein the logic is further configured to generate a plurality of decoy entries in the file and randomly arrange the plurality of decoy entries, the resulting value and associated cryptographic key seed data within the file.
  • 36. The system as recited in claim 35, wherein the logic is further configured to randomly arrange the plurality of decoy entries, the resulting value and associated cryptographic key seed data within a registry file in the memory.
  • 37. The system as recited in claim 20, wherein the first device is further configured to provide private data to the second device.
  • 38. The system as recited in claim 20, further comprising a coupling mechanism that is configured to selectively operatively couple the first device and the second device together.
  • 39. The system as recited in claim 20, wherein the first device includes a computer.
  • 40. The system as recited in claim 20, wherein the second device includes a portable programmable device.
  • 41. The system as recited in claim 40, wherein the second device includes a portable programmable device selected from a group of portable programmable devices including a personal digital assistant (PDA) device, a Pocket PC device, a Palm Pilot device, a mobile communication device, a mobile telephone device, a paging device, a wearable computing device, a portable computer, and a smart card.
  • 42. An apparatus comprising: memory; and logic operatively coupled to the memory and configurable to receive data from an external source, cryptographically modify the data using at least one internally generated cryptographic key, output the resulting cryptographically modified data without outputting the internally generated cryptographic key.
  • 43. The apparatus as recited in claim 42, wherein the apparatus includes a portable programmable device selected from a group of portable programmable devices including a personal digital assistant (PDA) device, a Pocket PC device, a Palm Pilot device, a mobile communication device, a mobile telephone device, a paging device, a wearable computing device, a portable computer, and a smart card.