Password Complexity

Status
Not open for further replies.
I'm not a frequent poster on the ARS forum, but have been reading its articles for years. I saw the article on password cracking today and it got me thinking about how I could better secure my own passwords.

I was thinking something along the lines of the following:

Take a personally significant date, todays post: 28APR16
A particular interest, I hate math so: 1+1=11
Name of a loved one: Cartman

And combine them in a fashion that is memorable, in this case Cartman first followed by my complex math equation inserted between each letter from the beginning, and my date inserted in reverse at the end: 1C+a1r=2t81AmP1Ra1n6

A seemingly complex and somewhat random password is made from data that I can easily remember and assemble.

I'm not familiar with cracking and the types of data contained in various word lists and dictionaries, but the article made it clear they could be combined in different ways to crack seemingly strong passwords.
My question is simply whether or not the above technique is an acceptable way of creating a secure password?
 

Faramir

Ars Legatus Legionis
36,356
Subscriptor
I'm concerned by this part "better secure my own passwords." The right way to do it is memorize one password, the password to your password vault wherein you store your strong randomly generated passwords.

Your method looks decent but not great for a master password. Generally the algorithm itself is considered public and a targeted attacker is assumed to know your name, your wife's birthday, etc. That leaves your favorite equation as truly secret. That said, those assumptions are more theoretical than practical in most cases.
 
> I'm not familiar with cracking and the types of data contained in various word lists and dictionaries, but the article made it clear they could be combined in different ways to crack seemingly strong passwords.
My question is simply whether or not the above technique is an acceptable way of creating a secure password?

As a password generation scheme, not so much. Passwords are guessable because humans aren't very random, and computers have lots of time on their hands. You didn't mention the Ars article you read, but it was probably this one: http:/security/2013/10 ... -cracking/

As for password entropy and cracking schemes, the word lists and the markov combinations will probably find it:

* http://www.praetorian.com/blog/statisti ... -structure
* https://labs.mwrinfosecurity.com/blog/2 ... rd-hashes/
* http://reusablesec.blogspot.com/2015/08 ... sword.html

You're better off using a password manager with a really strong master password, preferably generated from Diceware.
 

Faramir

Ars Legatus Legionis
36,356
Subscriptor
As a password generation scheme, not so much. Passwords are guessable because humans aren't very random, and computers have lots of time on their hands. You didn't mention the Ars article you read, but it was probably this one: http:/security/2013/10 ... -cracking/
Unfortunately Goodin either doesn't understand, or for reason of sensationalism doesn't wish to explain, the concept of a threat model. In particular, despite having written so many articles on the subject I don't recall a single one that had a good discussion of offline versus online attacks.
 

GohanIYIan

Ars Legatus Legionis
10,192
That's a good point. The advantage of a password manager really isn't that the generated passwords are particularly strong - most still default to a short enough value that brute force would be feasible in an offline attack. The advantage is it lets you use many different passwords so if/when one site is hacked and your password for that site is eventually cracked the damage doesn't extend any further.
 
Yes, the above linked article is the one I was referring to; my apologies.

It was mentioned that disclosing the formula to the password opens me to targeted attacks, but that is just one of many ways to scramble a password and was used as an example.
It was also suggested that a password vault would be more secure, however I am not sure I trust the robustness of a vaults code against attack or modification by a government/malicious entity. /tinfoilhat

In my specific use case I work for a government entity that has a great track record of losing data and a vault is unaccredited software I can't run on its network and isn't an option...

My experience with security is limited to my Security+ certification as required by my organization, just wanted to gather some thoughts on the subject.

EDIT:

On the issue of password reuse, I don't have unique passwords for every resource I have; but the ones that matter are. I'd like to at least give myself a little credit :rolleyes: .
 
[url=http:/civis/viewtopic.php?p=31094295#p31094295:3d4yw0h6 said:
chalex[/url]":3d4yw0h6]https://uit.stanford.edu/service/accounts/passwords/quickguide

Considering the wordlists and combo attacks in use I'm surprised they give that advice.
Maybe the recent articles I've read are a bit on the alarmist side, but it just seems Irresponsible for an educational institution(!) to say >20 character passwords only need alphabetical characters with a few case variations. They even go so far as to recommend choosing 4 random words, which I've been led to believe now is as bad as choosing password123.
 

Faramir

Ars Legatus Legionis
36,356
Subscriptor
No it's not that bad. Four words randomly selected from a corpus of 7776, is around 52 bits of entropy, about the same as an 8 character password randomly selected from a-z, A-Z, 0-9. That's on the low side, but hardly password123.

--

If you can't use any sort of vault (including on your phone?), can you put a cheat sheet in your wallet? Does your threat include real world attacks? Roughly how many passwords do you need?
 
[url=http:/civis/viewtopic.php?p=31095183#p31095183:3i08khb5 said:
Faramir[/url]":3i08khb5]No it's not that bad. Four words randomly selected from a corpus of 7776, is around 52 bits of entropy, about the same as an 8 character password randomly selected from a-z, A-Z, 0-9. That's on the low side, but hardly password123.

--

If you can't use any sort of vault (including on your phone?), can you put a cheat sheet in your wallet? Does your threat include real world attacks? Roughly how many passwords do you need?

Personal electronics are strictly prohibited, but a cheat sheet is fine. Real world attacks are certainly a possibility since I do access my personal email, Amazon, etc at work; this is the single largest reason I don't use a password manager.
 

Faramir

Ars Legatus Legionis
36,356
Subscriptor
By real world, I meant are you worried about someone specifically seeking you out and mugging you for the purpose of getting your passwords. For most people that's not an issue, and it sounds like it isn't for you.

Given that you can't use a password manager, what I'd suggest is a manual one using a wallet cheat sheet. For this purpose diceware is probably best, as they are much easier to type in then random characters. You'll also want a short common prefix so that if your wallet is stolen or lost (but not in a targeted attack) they won't have the keys to the kingdom. The prefix should probably contain an uppercase letter, a number, and a special character so you can get past persnickety password strength checkers. Then for each site generate a 6 or 7 word diceware password. Any application that doesn't allow long passphrases (shame on them!) you'll need to instead use a randomly generated string and deal with the tedium of typing it in. Still use the prefix in that case.
 
Personally when I had to use passwords, I'd use a meaningful (long) sentence, take the first letters, and throw some numbers/punctuation onto there.

I switched over to keepass, though... I wonder -- for "Amazon, etc..." are you that worried about keeping the government, etc out? LastPass has a web interface, right? So you are only really accessing a website, not running programs. Would that be allowed? At least you could simplify your life to: work passwords, top secret personal email, Lastpass. And if there is stuff that you don't need to access from work, and you want to keep safe from government, etc (to whatever degree it is possible...), you could keep that stuff in keepass locally.

I know you're trying to do this without password managers, so sorry if this is not the advice you are looking for!
 
It's hard to quantify how important passwords are today without being lackadaisical or extremist. Personally I've had some accounts penetrated that I thought had strong passwords - I've since stopped generating them myself and switched to Lastpass and use a yubikey as my 2nd factor. I'm still far from certain that I'm safe, but them's the breaks of using technology today I think.

My advice for your situation would be a dicewear pass phrase grid that you can carry as a cheat sheet, where you randomly generate the grid based on dice rolls and then include symbols or underline characters on the grid (either in pencil or editing the entire document) with the idea in mind that these marks should help you associate a particular pass phrase with a particular application. Make sure they're spread evenly around your grid but the ones that are important to YOU should make sense to you and be easy to remember. Just make sure that when you're done the overall grid looks uniform in it's distribution of these markers and that the ones you intend to use to remind you aren't extremely obvious. This will give you a number of strong passwords in your grid (the bigger the grid, the more phrases are available to you in it. Obviously you only want to use a small number of the available phrases for security reasons, you should never end up using more than say 15% of the available pass phrases on your grid for ANY application, and never reuse phrases for more than one). This also allows you to regenerate the grid over time, keeping pass phrases that you like and re-rolling areas that you didn't use to generate new phrases for future use.

Having any sort of system like you mentioned above is probably not a good idea - any dates that are personally meaningful to you are (most likely) a matter of public record. Every birthday, anniversary, death in the family, marriage or divorce date, etc. are all easily looked up or socially engineered. Now if you want to use the date of you and your wife's first date, and that date isn't archived online anywhere (and you're sure of that), then using it might be reasonable. But keep in mind that before any password cracker resorts to the full brute force treatment of "fuck it, lets just try everything" they're going to run every date known to man in every combination they can think of - which means your password, just by virtue of containing a date at all, is already weaker than a 'regular' randomly generated password.
 
[url=http:/civis/viewtopic.php?p=31147129#p31147129:3ltkgmjf said:
breze[/url]":3ltkgmjf]Personally when I had to use passwords, I'd use a meaningful (long) sentence, take the first letters, and throw some numbers/punctuation onto there.

Similar to what I do.

I take a long sentence, mis-spell one or two words, and insert a couple junk words.

I run my own password manager. It is on a server I control, directory is IP restricted. Database has name of website and a serial number, and rules for the site (json string).

When the IP address is correct, and I get to the form, I enter my master password and the name of the site. It then uses a salt, the master password, the name of site, and the serial number to generate the password such that it passes the rules in the json string.

Works for me.
 
Does anyone use a 'formula' based password strategy related to the site?

E.g. take the domain of the site (perhaps every second letter, leave out vowels etc. - some sort of constant rule), perhaps backwards.
then add your birthdate, in full,
then add the letters of the domain, capitalised, that correspond to the numbers of your birthdate, maybe replacing any matching vowels with the corresponding n'th symbol on the number row of the keyboard

i.e. following some sort of standard rule-set so that you don't need to remember (or have access to) numerous unique passwords, you just need to remember your standard rule-set?

e.g. 'my' password for this site could be be:- cnhctsr07101970H!!(H

(backwards domain, no vowels, birthdate, letters from domain capitalised, vowels replaced with corresponding number row symbol.)

Takes a few seconds to generate it each time but no need to remember it.

Cryptographically (sp?) would be easy to break if comparing to known others but, on it's own, how does it compare to purely randomly generated passwords?
 
[url=http:/civis/viewtopic.php?p=31207159#p31207159:12npz3p7 said:
Magic Man[/url]":12npz3p7]Does anyone use a 'formula' based password strategy related to the site?

E.g. take the domain of the site (perhaps every second letter, leave out vowels etc. - some sort of constant rule), perhaps backwards.
then add your birthdate, in full,
then add the letters of the domain, capitalised, that correspond to the numbers of your birthdate, maybe replacing any matching vowels with the corresponding n'th symbol on the number row of the keyboard

i.e. following some sort of standard rule-set so that you don't need to remember (or have access to) numerous unique passwords, you just need to remember your standard rule-set?

e.g. 'my' password for this site could be be:- cnhctsr07101970H!!(H

(backwards domain, no vowels, birthdate, letters from domain capitalised, vowels replaced with corresponding number row symbol.)

Takes a few seconds to generate it each time but no need to remember it.

Cryptographically (sp?) would be easy to break if comparing to known others but, on it's own, how does it compare to purely randomly generated passwords?

I use a formula but the formula is a hashing algorithm.

hash of salt + masterpassword + serial + site url

An alphabet of legal characters is created and the hash is converted from hex to the alphabet (simple base conversion). If the result is too long it is truncated.

I don't like rulesets that I can do in my head because it isn't random enough. A hash is pretty random high entropy result that is unlikely to be brute forced.
 

Jonathon

Ars Legatus Legionis
17,644
Subscriptor
[url=http:/civis/viewtopic.php?p=31207259#p31207259:226xqg0i said:
AliceWonder[/url]":226xqg0i]
[url=http:/civis/viewtopic.php?p=31207159#p31207159:226xqg0i said:
Magic Man[/url]":226xqg0i]Does anyone use a 'formula' based password strategy related to the site?

E.g. take the domain of the site (perhaps every second letter, leave out vowels etc. - some sort of constant rule), perhaps backwards.
then add your birthdate, in full,
then add the letters of the domain, capitalised, that correspond to the numbers of your birthdate, maybe replacing any matching vowels with the corresponding n'th symbol on the number row of the keyboard

i.e. following some sort of standard rule-set so that you don't need to remember (or have access to) numerous unique passwords, you just need to remember your standard rule-set?

e.g. 'my' password for this site could be be:- cnhctsr07101970H!!(H

(backwards domain, no vowels, birthdate, letters from domain capitalised, vowels replaced with corresponding number row symbol.)

Takes a few seconds to generate it each time but no need to remember it.

Cryptographically (sp?) would be easy to break if comparing to known others but, on it's own, how does it compare to purely randomly generated passwords?

I use a formula but the formula is a hashing algorithm.

hash of salt + masterpassword + serial + site url

An alphabet of legal characters is created and the hash is converted from hex to the alphabet (simple base conversion). If the result is too long it is truncated.

I don't like rulesets that I can do in my head because it isn't random enough. A hash is pretty random high entropy result that is unlikely to be brute forced.
So, what you're saying is, all your passwords are hanging out in your shell history? :p
 
[url=http:/civis/viewtopic.php?p=31208503#p31208503:1vb3kgoy said:
Jonathon[/url]":1vb3kgoy]
So, what you're saying is, all your passwords are hanging out in your shell history? :p

No, as I said earlier, it's done on a web server I control via php in a directory that is IP address restricted.

If I need to access it on the road, I can ssh in and add the VPN exit node I'm using.

The web servers I use for this is modern apache with ecdhe cert and only a few high quality TLS 1.2 ciphers enabled.

Nothing in my shell history. And if the web server is compromised, the master password isn't there - not even a hash of it.
 
My recent password trend had been to do the following:

1) identify a random string that still meets good practices (except perhaps length)... mixed case, a number, special character. This is a part of all my passwords and never written down (normally ;-))
E.g.: fKj?438

2) for each website/need, make a second part: "g2jter"
I personally write this value on sticky notes or keep them in my phone's offline password vault, depending on the sensitivity. Note: I ONLY put part 2 in writing/vaults

Now... any website I go to... I dimply type the value on my sticky note/vault, and then the part I memorized (step 1)..

E.g my Ars password could be hyt45 + fKj?438, my bank password would be mu5lpfKj?438, and my email might be adf17fKj?438

If my sticky note is compromised, it's still useless. If my password vault is compromised, it is useless. It's like 2FA to access your password :) (obviously, it's not really)
 

hanser

Ars Legatus Legionis
43,847
Subscriptor++
[url=http:/civis/viewtopic.php?p=31214081#p31214081:1fg4u0wr said:
AliceWonder[/url]":1fg4u0wr]
[url=http:/civis/viewtopic.php?p=31208503#p31208503:1fg4u0wr said:
Jonathon[/url]":1fg4u0wr]
So, what you're saying is, all your passwords are hanging out in your shell history? :p

No, as I said earlier, it's done on a web server I control via php in a directory that is IP address restricted.

If I need to access it on the road, I can ssh in and add the VPN exit node I'm using.

The web servers I use for this is modern apache with ecdhe cert and only a few high quality TLS 1.2 ciphers enabled.

Nothing in my shell history. And if the web server is compromised, the master password isn't there - not even a hash of it.
Or you could just use a password manager and achieve the same level of security without the hassle.
 

CanSpice

Ars Tribunus Angusticlavius
7,147
[url=http:/civis/viewtopic.php?p=31293009#p31293009:26etzv1j said:
hanser[/url]":26etzv1j]
[url=http:/civis/viewtopic.php?p=31214081#p31214081:26etzv1j said:
AliceWonder[/url]":26etzv1j]
[url=http:/civis/viewtopic.php?p=31208503#p31208503:26etzv1j said:
Jonathon[/url]":26etzv1j]
So, what you're saying is, all your passwords are hanging out in your shell history? :p

No, as I said earlier, it's done on a web server I control via php in a directory that is IP address restricted.

If I need to access it on the road, I can ssh in and add the VPN exit node I'm using.

The web servers I use for this is modern apache with ecdhe cert and only a few high quality TLS 1.2 ciphers enabled.

Nothing in my shell history. And if the web server is compromised, the master password isn't there - not even a hash of it.
Or you could just use a password manager and achieve the same level of security without the hassle.

Yeah, I don't get it. Why not just use a password manager? It can generate passwords of arbitrary length using any character set you want. And if you use one like 1Password, it's all local to your device so you don't need to worry about a server being up or VPNs or anything.
 
Status
Not open for further replies.