Newbie question on encryption keys

Newbie question on encryption keys

Secure Home | Search | About
 General Computer 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
Newbie question on encryption keys rohanm79 07-10-2007
Posted by Mark Shroyer on July 11, 2007, 3:57 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
> On Tue, 10 Jul 2007 09:15:03 +0000 (UTC), Mark Shroyer wrote:
>
>> No, you shouldn't need to enter a 32-character password (although I
>> can't say for sure because you still haven't specified what software
>> you're talking about :) ). What usually happens is that the 256-bit
>> symmetric key is generated as some hash of whatever password you
>> provide. The longer and more random the password (until you get
>> past 32 random ASCII characters, anyway), the more entropy in your
>> 256-bit AES key and therefore the more theoretically secure it is --
>> but in practice a dozen or so characters should be all the entropy
>> you need, depending on the quality of your software's hash algorithm
>> and how sensitive your data is.
>
> [...]
>
> Is it fair to say that if you used a passphrase such as:
>
> 6:Q?-jiF
>
> Then repeated it to make a 16 character passphrase, under attack to
> break, that you haven't gained much entropy or protection? My thinking
> is that a powerful adversary would have a passphrase breaking program
> that would constantly search for replication.

In my opinion, you're right -- you wouldn't gain much. I don't know
personally whether the best black hat brute-force software tries for
repetition in passwords, but it seems like a reasonable next angle
of approach should a dictionary attack fail.

So if you want double the strength in your password, generate twice
as many random characters. Sure it might be annoying to memorize,
but just think of it as an alternative to playing Nintendo's Brain
Age -- with the added benefit of securing your data :)

Mark

--
Mark Shroyer
http://markshroyer.com/

Posted by Ari on July 12, 2007, 2:28 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
On Wed, 11 Jul 2007 19:57:50 +0000 (UTC), Mark Shroyer wrote:

>> On Tue, 10 Jul 2007 09:15:03 +0000 (UTC), Mark Shroyer wrote:
>>
>>> No, you shouldn't need to enter a 32-character password (although I
>>> can't say for sure because you still haven't specified what software
>>> you're talking about :) ). What usually happens is that the 256-bit
>>> symmetric key is generated as some hash of whatever password you
>>> provide. The longer and more random the password (until you get
>>> past 32 random ASCII characters, anyway), the more entropy in your
>>> 256-bit AES key and therefore the more theoretically secure it is --
>>> but in practice a dozen or so characters should be all the entropy
>>> you need, depending on the quality of your software's hash algorithm
>>> and how sensitive your data is.
>>
>> [...]
>>
>> Is it fair to say that if you used a passphrase such as:
>>
>> 6:Q?-jiF
>>
>> Then repeated it to make a 16 character passphrase, under attack to
>> break, that you haven't gained much entropy or protection? My thinking
>> is that a powerful adversary would have a passphrase breaking program
>> that would constantly search for replication.
>
> In my opinion, you're right -- you wouldn't gain much. I don't know
> personally whether the best black hat brute-force software tries for
> repetition in passwords, but it seems like a reasonable next angle
> of approach should a dictionary attack fail.
>
> So if you want double the strength in your password, generate twice
> as many random characters. Sure it might be annoying to memorize,
> but just think of it as an alternative to playing Nintendo's Brain
> Age -- with the added benefit of securing your data :)
>
> Mark

I have three 8 character rangen passwords and until I read my own words,
I never thought of combining them into one. Jeez.

Posted by Ertugrul Soeylemez on July 11, 2007, 10:39 pm
If you were  Registered and logged in, you could reply and use other advanced thread options

> Is it fair to say that if you used a passphrase such as:
>
> 6:Q?-jiF
>
> Then repeated it to make a 16 character passphrase, under attack to
> break, that you haven't gained much entropy or protection? My thinking
> is that a powerful adversary would have a passphrase breaking program
> that would constantly search for replication.

If the attacker does not know your password pattern (i.e. whether, where
and how often you repeat), then the new password will be more secure,
but not as secure as a random 16 character password (since the attacker
might try guessing against repetition patterns).


Regards,
Ertugrul S=C3=B6ylemez.


--=20
Security is the one concept, which makes things in your life stay as
they are. Otto is a man, who is afraid of changes in his life; so
naturally he does not employ security.

Posted by Ari on July 13, 2007, 1:49 pm
If you were  Registered and logged in, you could reply and use other advanced thread options


>
>> Is it fair to say that if you used a passphrase such as:
>>
>> 6:Q?-jiF
>>
>> Then repeated it to make a 16 character passphrase, under attack to
>> break, that you haven't gained much entropy or protection? My thinking
>> is that a powerful adversary would have a passphrase breaking program
>> that would constantly search for replication.

On Thu, 12 Jul 2007 04:39:08 +0200, Ertugrul Soeylemez wrote:

> If the attacker does not know your password pattern (i.e. whether, where
> and how often you repeat), then the new password will be more secure,
> but not as secure as a random 16 character password (since the attacker
> might try guessing against repetition patterns).
>
> Regards,
> Ertugrul Söylemez.

Yes, and this is the crux of the question, I suppose. Is checking for
repetition a common approach in password unveiling. It would seem
logical that it is since this would be a simple way to more easily
remember 16+ character passwords. Maybe not, maybe that's too tough of
an algorithmic equation.

Posted by Ertugrul Soeylemez on July 14, 2007, 1:52 am
If you were  Registered and logged in, you could reply and use other advanced thread options

> > If the attacker does not know your password pattern (i.e. whether,
> > where and how often you repeat), then the new password will be more
> > secure, but not as secure as a random 16 character password (since
> > the attacker might try guessing against repetition patterns).
>
> Yes, and this is the crux of the question, I suppose. Is checking for
> repetition a common approach in password unveiling. It would seem
> logical that it is since this would be a simple way to more easily
> remember 16+ character passwords. Maybe not, maybe that's too tough of
> an algorithmic equation.

Maybe I would do this implicitly, by changing the order of passphrases
to match against. Considering that a rather small percentage of people
use repetition, I wouldn't do this explicitly.


Regards,
Ertugrul S=C3=B6ylemez.


--=20
Security is the one concept, which makes things in your life stay as
they are. Otto is a man, who is afraid of changes in his life; so
naturally he does not employ security.

Similar ThreadsPosted
X.509 Digital Certificate Newbie Question April 12, 2005, 3:55 am
Question from a newbie -- protecting files July 20, 2005, 3:01 pm
A basic/newbie question on https. January 30, 2008, 8:55 pm
hiding encryption keys August 12, 2005, 3:32 pm
typical approach for encryption using keys? June 27, 2007, 6:20 am
RSA encryption - practical question March 14, 2006, 12:11 pm
Tunneling newbie? February 21, 2005, 8:52 pm
Newbie... need basics August 10, 2006, 8:01 pm
Spoofing fingerprint scanners - NEWBIE() May 1, 2006, 1:57 pm
Newbie: (unwanted) incoming traffice on static DSL line November 20, 2005, 8:17 pm

The site map in XML format XML site map

Contact Us | Privacy Policy