How encryption keys should be distributed?

How encryption keys should be distributed?

Secure Home | Search | About
 Microsoft Applications Security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content add this group's latest topics to your Google content
Subject Author Date
How encryption keys should be distributed? mauricio.cadima 05-08-2007
Posted by on May 8, 2007, 11:58 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
Several software applications needs to encrypt and decrypt data,
requiring either a single key in symmetrical encryption algorithms or
public/private keys in asymmetrical algorithms, but how these keys
should be distributed?
Embed the key(s) within the application executable is a very
vulnerable approach, since an attacker may trace API calls, or run
the
application under a debugger and simply halt the program when the
keys
has been reconstructed.
And what about the risk to distribute the key in every exeucutable
copy embedded within, if some attacker gets this key it can make it
public, and every user of this application may use it to break its
own
installation.

Can anyone give me any suggestion? Or point me in the correct
direction to avoid these problems?


Posted by S. Pidgorny on May 9, 2007, 4:30 am
If you were  Registered and logged in, you could reply and use other advanced thread options
G'day,

The beauty of public key encryption is that you can send public key over
public channels and still establish secure information exchane - that can be
used to send randomly generated symmetric encryption key (symmetric
encryption is less resource-hungry). Read about public key cryptography at
http://en.wikipedia.org/wiki/Public_key_encryption that is fascinating
stuff.

Practically speaking, SSL is commonly used for the tasks you outlined.

--
Svyatoslav Pidgorny, MS MVP - Security, MCSE
-= F1 is the key =-

* http://sl.mvps.org * http://msmvps.com/blogs/sp *

> Several software applications needs to encrypt and decrypt data,
> requiring either a single key in symmetrical encryption algorithms or
> public/private keys in asymmetrical algorithms, but how these keys
> should be distributed?
> Embed the key(s) within the application executable is a very
> vulnerable approach, since an attacker may trace API calls, or run
> the
> application under a debugger and simply halt the program when the
> keys
> has been reconstructed.
> And what about the risk to distribute the key in every exeucutable
> copy embedded within, if some attacker gets this key it can make it
> public, and every user of this application may use it to break its
> own
> installation.
>
> Can anyone give me any suggestion? Or point me in the correct
> direction to avoid these problems?
>



Posted by Michael Meiners on May 13, 2007, 10:35 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
What about smart cards? They are becoming inexpensive!

> Several software applications needs to encrypt and decrypt data,
> requiring either a single key in symmetrical encryption algorithms or
> public/private keys in asymmetrical algorithms, but how these keys
> should be distributed?
> Embed the key(s) within the application executable is a very
> vulnerable approach, since an attacker may trace API calls, or run
> the
> application under a debugger and simply halt the program when the
> keys
> has been reconstructed.
> And what about the risk to distribute the key in every exeucutable
> copy embedded within, if some attacker gets this key it can make it
> public, and every user of this application may use it to break its
> own
> installation.
>
> Can anyone give me any suggestion? Or point me in the correct
> direction to avoid these problems?
>


Similar ThreadsPosted
Public Keys, Private Keys, & Certificates January 29, 2006, 10:16 am
Default distributed com communications properties August 14, 2006, 9:51 am
WARNING: Winfixer and Errorsafe [AKA Vundo] being distributed via WL/MSN Messenger banner ads February 18, 2007, 10:53 am
Data Encryption Standard (DES) encryption November 15, 2005, 6:26 pm
SSL Keys on USB Drive April 3, 2006, 1:43 am
Start Keys April 26, 2006, 7:27 pm
What are "impersonate" keys April 19, 2007, 11:58 am
security on registry keys January 3, 2008, 4:38 pm
PGP Keys For Software Digital Certificate December 12, 2006, 10:52 am
I am looking for the classic "Send Keys" program May 14, 2008, 2:55 pm

The site map in XML format XML site map

Contact Us | Privacy Policy