LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 02-03-2021, 11:09 PM   #1
rblampain
Senior Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 11
Posts: 1,291

Rep: Reputation: 52
seven unrelated words as passphrase


According to this article
the human brain has some difficulties to remember seven unrelated words used to form a secure passphrase but can do it with a little practice. In a scenario in which two such passphrases are necessary, it seems that remembering 2 passphrases becomes exponentially more difficult.

Being no expert in security, I thought that a user could learn to remember 7 words of a passphrase supposed to be unbreakable and modify them to create a second passphrase. Examples:
Quote:
passphrase 1:
cult paoli pal finn juice onward ross
passphrase 2:
cultm paolii palc finnh juicea onwarde rossl
The letters of the word "michael" having been used to add 1 letter to each word, the extra thing to remember would only be how each of the 7 words have been modified.
Although there could be some sort of predictability and loss of entropy in such practice, I can not see how.

My question: would such modification of the words affect negatively the security of the modified passphrase and how?

Any hint welcome.

Thank you for your help.

Last edited by rblampain; 02-03-2021 at 11:12 PM.
 
Old 02-04-2021, 12:32 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Seven is hard, five less so. For example:

Quote:
Originally Posted by Stable Genius
Person woman man camera TV
Sorry, couldn't resist.
 
2 members found this post helpful.
Old 02-04-2021, 01:50 AM   #3
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by evo2 View Post
Person woman man camera TV
How did you know my password?

Seriously, five (see diceware) or seven unrelated words are fairly secure. When you change a few characters, security certainly doesn't suffer. If anything, it gets better.
 
1 members found this post helpful.
Old 02-04-2021, 06:15 AM   #4
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,623
Blog Entries: 40

Rep: Reputation: Disabled
XKCD about password-strength:
https://xkcd.com/936/
 
1 members found this post helpful.
Old 02-04-2021, 07:47 AM   #5
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,786

Rep: Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083
Quote:
Originally Posted by rblampain View Post
The letters of the word "michael" having been used to add 1 letter to each word, the extra thing to remember would only be how each of the 7 words have been modified.
Although there could be some sort of predictability and loss of entropy in such practice, I can not see how.

My question: would such modification of the words affect negatively the security of the modified passphrase and how?
If the first passphrase is leaked, then it would be easier to discover the second one (or vice versa).
 
1 members found this post helpful.
Old 02-04-2021, 08:12 AM   #6
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,623

Rep: Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555
Quote:
Originally Posted by rblampain View Post
My question: would such modification of the words affect negatively the security of the modified passphrase and how?
A passphrase made out of non-dictionary words is more secure than a passphrase made out of dictionary words.

So in most cases, your modification would be more secure, but (using a contrived example) it might not help, e.g: is at ho on to -> isp ate hot one tor - there are still five space-separated dictionary words.
I doubt that's a likely occurrence (especially with decent length words), but language is weird and there might be a few instances, so any process generating passcodes like that should verify the output with a strength checker to prevent accidentally insecure ones being created.

Also, it's important to note that in this context "dictionary" basically means any collection of "words", irrespective of Oxford/Webster/etc, though attackers will start with common/shorter dictionaries first (the smallest dictionary is the 62 alphanumeric characters).

And don't be afraid to still mix in symbols into your phrases - in unpredictable places - e.g. compare "that cat! wow!" to "that! cat^ wow".

Any information known or guessable about any passcode will reduce its security - if someone wants to attack you specifically, knowing the technique used will get them closer, as would knowing the seven-letter word you used (e.g. if you used the same word in multiple places, and one of those was insecure), but the time consuming part would still be trying combinations of seven words until they got lucky.


Last edited by boughtonp; 02-04-2021 at 08:19 AM.
 
1 members found this post helpful.
Old 02-04-2021, 06:38 PM   #7
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,738

Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
Another trick I’ve seen used is to replace some letters with numbers. 3 for e; 4 for a; etc. Also mixed case.
 
1 members found this post helpful.
Old 02-05-2021, 02:57 AM   #8
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,623
Blog Entries: 40

Rep: Reputation: Disabled
I had once translated the Passphrase-FAQ into German and think it might still convey some valuable information, or inspiration, at least:
https://www.iusmentis.com/security/passphrasefaq/
 
1 members found this post helpful.
Old 02-05-2021, 04:23 AM   #9
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: Arch Linux && OpenBSD 7.4 && Pop!_OS && Kali && Qubes-Os
Posts: 824

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
Quote:
Originally Posted by scasey View Post
Another trick I’ve seen used is to replace some letters with numbers. 3 for e; 4 for a; etc
password crackers like hashcat have mode where it tries "1337 for leet" and "3 for e" and "4 for a" etc.
Code:
Table-attack

 This attack mode is also based on dictionaries. You can attack the following targets well:
 International characters
 Toggled-case words
 Leetspeek
 Fill “holes” in your dictionary
 The targets also can be combined, like:
 Toggled-case words + Leetspeak
 The table attack takes a configuration file, the "table"
 Inside the table, you do a simple X=Y binding per line
 Where X is a character that is to replace with Y
 NOTE: You can use X multiple times
^https://hashcat.net/events/p13/js-apg-htftl20.pdf
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Words, Words, Words--Introducing OpenSearchServer LXer Syndicated Linux News 0 08-07-2019 02:13 PM
LXer: OpenSSL releases seven patches for seven vulns LXer Syndicated Linux News 0 06-13-2015 07:01 AM
Removing white spaces between words and joining the words in a given format Priyabio Linux - General 4 08-20-2009 07:42 AM
How do I create words.db from words.txt using gdbm? kline General 8 12-14-2008 08:48 PM
Search and Replace: Asian Words to English Words ieeestd802 Linux - Software 0 10-27-2004 07:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration