Moderators: Moderators General, Magistrates, Prelates
gmalivuk wrote:It seems rather foolish to rely on the assumption that attackers will never use the characters you're using.
Once again, the entropy values that have been discussed through most of this thread refer to the difficulty of cracking a password *after* knowing the algorithm used to generated it. And knowing someone has a unicode character in their password means we *will* include those in our search. At which point it turns out this method isn't any more secure than just typing the code for the same character.
Well if the one you've been familiar with that long is base 10, the binary logarithm is something new.fagricipni wrote:Call it the logarithm base 2, please.
Because if I didn't know better, the phrasing "binary log" would have me wondering if there was some different kind of logarithm than the one that I have been familiar with since I was 13; and I can easily see other people experiencing the same type of confusion.
fagricipni wrote:Call it the logarithm base 2, please.
Because if I didn't know better, the phrasing "binary log" would have me wondering if there was some different kind of logarithm than the one that I have been familiar with since I was 13; and I can easily see other people experiencing the same type of confusion.
Isaac5 wrote:How does one calculate this?
jpk wrote:So one of my passwords expired towards the end of last week, and I thought I'd give this a try. Did the reset, used four common words, had to insert a digit to keep the algorithm happy, so I used digits as separators.
I remembered the digits, but the words themselves were completely gone by the time the system prompted me for a refresher.
I'm not playing that game again. It was embarrassing having to ask for a reset after just a few hours.
Yakk wrote:And to be even worse, there are 3 things that go by the term "log".
Isaac5 wrote:How does one calculate this?
"Common" as in "base" or "without value"?Eebster the Great wrote:Worse still, there are two different definitions of entropy, based on the two different bases used in information theory and physics.Yakk wrote:And to be even worse, there are 3 things that go by the term "log".
And the decimal (base-ten) logarithm is sometimes called the "common log," despite the fact that it is the least commonly used of the three.
Eebster the Great wrote:Yakk wrote:And to be even worse, there are 3 things that go by the term "log".
Worse still, there are two different definitions of entropy, based on the two different bases used in information theory and physics.
Yakk wrote:"Common" as in "base" or "without value"?Eebster the Great wrote:And the decimal (base-ten) logarithm is sometimes called the "common log," despite the fact that it is the least commonly used of the three.
Pfhorrest wrote:Eebster the Great wrote:Yakk wrote:And to be even worse, there are 3 things that go by the term "log".
Worse still, there are two different definitions of entropy, based on the two different bases used in information theory and physics.
If I recall, the mathematical expressions of them are the same however, which is why Shannon named his entropy after the thermodynamics concept to begin with.
Yes. But using "common" to mean "base" or "without value" in that context is funnier.Eebster the Great wrote:I don't understand your question. It was called the "common logarithm" because at one point it was commonly used to expedite multiplication. Base-ten log tables were valuable when working with a base-ten number system.Yakk wrote:"Common" as in "base" or "without value"?Eebster the Great wrote:And the decimal (base-ten) logarithm is sometimes called the "common log," despite the fact that it is the least commonly used of the three.
Yakk wrote:Yes. But using "common" to mean "base" or "without value" in that context is funnier.Eebster the Great wrote:I don't understand your question. It was called the "common logarithm" because at one point it was commonly used to expedite multiplication. Base-ten log tables were valuable when working with a base-ten number system.Yakk wrote:"Common" as in "base" or "without value"?Eebster the Great wrote:And the decimal (base-ten) logarithm is sometimes called the "common log," despite the fact that it is the least commonly used of the three.
gmalivuk wrote:Sure, and then be unable to login quickly and securely on another computer.Isil`Zha wrote:Insert random unicode into your passwords
Jorpho wrote:Well, ALT+[four numpad characters] can pop up something outside of the ASCII keyspace, right? That's an interesting idea.
gmalivuk wrote:How is that more effective than just including "alt0151" or whatever at that point in your password? With the added benefit that it'll still work for password fields that don't accept full unicode input.
gmalivuk wrote:It seems rather foolish to rely on the assumption that attackers will never use the characters you're using.
Once again, the entropy values that have been discussed through most of this thread refer to the difficulty of cracking a password *after* knowing the algorithm used to generated it. And knowing someone has a unicode character in their password means we *will* include those in our search. At which point it turns out this method isn't any more secure than just typing the code for the same character.
I agree that the original poster was overstating the security, but I think they do have a valid point about using unicode characters.
Few attackers actually use a truly brute force approach. If they did, then they would try every possible binary permutation. An attacker usually assumes some information about the password so that they can reduce the key space and thus the complexity of breaking a password. Even if they are just assuming [a-zA-Z0-9]. Its all about information. The more information an attacker knows, the more an attacker can reduce the key space.
The larger the key space, the longer it will take on average for an attacker to discover your password. However, the attacker could get extremely lucky and pick your password correctly the first time. So choosing a larger key space does not guarantee security, it just decreases the probability that an attacker will crack your password in a reasonable time.
When calculating the entropy the assumption is that an attacker only knows what you knew at the time you generated the password. The key space from which you picked your password, and hopefully you picked your password completely randomly from this key space. That is a good conservative estimate, because if the attacker knows anything more you are probably screwed anyways. So if we consider the worst case scenario to be that the attacker knows only the algorithm both passwords below have the same security.
Password 1: correcthorsebatteΩrystaple
Password 2: correcthorsebatte03A9rystaple
But that is not the only information we know. We know that attackers are more likely to choose certain key spaces than others. Well at least we can make an educated guess on the probability. I think its fair to say the probability of an attacker choosing a key space that contains unicode characters is lower than them excluding them. So you have used information you know about crackers to decrease the probability of your password being cracked. But in the "worst case" scenario your password still has enough entropy to be secure.
Granted there are still issues with memorization and actually typing unicode characters especially on mobile devices. But if you know something about an attacker, why not use it against them?
Isil`Zha wrote:gmalivuk wrote:How is that more effective than just including "alt0151" or whatever at that point in your password? With the added benefit that it'll still work for password fields that don't accept full unicode input.
This was pretty effectively covered. It provides a much larger key space per character, and, as mentioned before, I know of no brute force cracker that actually even searches the full unicode key space. (Not saying it's not possible, but I've never seen one.)
Once again, the entropy values that have been discussed through most of this thread refer to the difficulty of cracking a password *after* knowing the algorithm used to generated it. And knowing someone has a unicode character in their password means we *will* include those in our search. At which point it turns out this method isn't any more secure than just typing the code for the same character.
Right, but I don't go around telling possible attackers that there are unicode characters in my password. Regardless, it still gives them a larger key space to work through, making it that much harder. So the "downside" of giving a would-be attacker that information still leaves them with this: my password will still take exponentially more time to crack than virtually any other password of similar length. Which is really the whole idea of combating against brute force: make it take impractically long to crack.
Yakk wrote:Except writing the actual story would be a better password than the gibberish short form.
Magic wand with velocity 2 times height makes fat zebras go...
You'll note that I added connective words. These don't make the password worse (it makes it worse for the length, but worse than not having the words), while making it easier to remember.
This method (of long pass phrases based off random gibberish) is both easier to remember for humans, and stronger than the original short(er) gibberish. Any attack that goes after the long pass phrases can "compactify" them for only a small amount of more entropy and generate short gibberish phrases. Your memorized algorithm to turn your phrases into your short gibberish is something humans are worse at remembering than they are at remembering words, so it is an inefficient use of your memory -- meanwhile, programs are quite good at going through such compactification algorithms.
Yakk wrote:It adds the "alt down" and "alt up" balanced non-nesting "keys" to the password. The keys between alt-down and alt-up must be digits.
I'd estimate the increase in entropy from adding this to be somewhere on the order of 2%?
Eebster the Great wrote:Isil`Zha wrote:gmalivuk wrote:How is that more effective than just including "alt0151" or whatever at that point in your password? With the added benefit that it'll still work for password fields that don't accept full unicode input.
This was pretty effectively covered. It provides a much larger key space per character, and, as mentioned before, I know of no brute force cracker that actually even searches the full unicode key space. (Not saying it's not possible, but I've never seen one.)
It provides a larger key space "per character," but no larger "per input time," as it is no different from simply including "0151." Yes, 0151 is four characters as opposed to just one, but it if anything takes less time to type.
And there is no reason a cracker would need to search the full unicode keyspace (which is enormous) when she could just search the ones that can be input with Windows alt-codes.
You just told everybody on this site that you do this.
Besides, if you do it, there are probably others out there that do it too.
And it does not give them a "larger key space," assuming your password includes just a single non-ASCII character. In that case it is--as I said before--no higher entropy than a four-digit string (lower entropy actually, as not every four-digit alt-code returns a usable unicode character).
Again, it really comes down to the fact that a good password-generating scheme is secure even if people know you are using it.
TheGrammarBolshevik wrote:Why would you expect to get more entropy from restricting the space to uncommon words?
Yakk wrote:It adds the "alt down" and "alt up" balanced non-nesting "keys" to the password. The keys between alt-down and alt-up must be digits.
Isil`Zha wrote:Eebster the Great wrote:Isil`Zha wrote:gmalivuk wrote:How is that more effective than just including "alt0151" or whatever at that point in your password? With the added benefit that it'll still work for password fields that don't accept full unicode input.
This was pretty effectively covered. It provides a much larger key space per character, and, as mentioned before, I know of no brute force cracker that actually even searches the full unicode key space. (Not saying it's not possible, but I've never seen one.)
It provides a larger key space "per character," but no larger "per input time," as it is no different from simply including "0151." Yes, 0151 is four characters as opposed to just one, but it if anything takes less time to type.
Are you sure about that? I don''t think you actually bothered to do the math. :p
8 characters with a character set of 94 = 94^8 = 6,095,689,385,410,820 possible combinations.
12 characters with a character set of 94 = 12^8 = 475,920,314,814,253,000,000,000 possible combinations.
8 characters with unicode characters, we won't even include the entire space, we'll assume a character set size of 1000 in total:
1000^8 = 1,000,000,000,000,000,000,000,000 possible combinations. More than double the key space of simply adding "0151" rather than the alt code.
In other words: you are completely wrong.
Assumption. Regardless, this completely side-steps the actual issue: how many brute force attacks even include it in their character set search?
And it does not give them a "larger key space," assuming your password includes just a single non-ASCII character. In that case it is--as I said before--no higher entropy than a four-digit string (lower entropy actually, as not every four-digit alt-code returns a usable unicode character).
I already blatantly proved you wrong. You would've known this if you had bothered to do the math instead of just stating your off-the-cuff guesswork as fact.
PS: My most secure password has:
140,935,105,818,184,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000 possible combinations.
Enjoy brute forcing it until the sun runs out of fuel?
Why do you think you need "order bits"? If order didn't matter, we'd *subtract* that many bits from the total entropy, but adding up the per-word entropy already assumes order matters.superluser wrote:Two uncommon words would get you only 39 bits of entropy (19 bits per word, one order bit), while four common words would get you 46 bits (eleven bits per word, two order bits).
It makes it hard to defeat through any sort of brute force attack by an attacker who knows how you generated your password. So please explain what you mean by hard to defeat, since it's obviously something different.But the point that I was trying to make is that just because something is high entropy doesn't make it hard to defeat.
Wowee! A whole one single bit of additional entropy! What an amazing password technique!Isil`Zha wrote:More than double the key space of simply adding "0151" rather than the alt code.
And so now we all know how you generate your passwords. There goes the obscurity part of your "security".And?'You just told everybody on this site that you do this.
So you call someone out for assuming that some others use the same technique, but then go on to restate your own assumption that attackers don't?Assumption. Regardless, this completely side-steps the actual issue: how many brute force attacks even include it in their character set search?Besides, if you do it, there are probably others out there that do it too.
A single alt-code is a single alt-code, and the only difference between using unicode or not is whether the alt key is pushed down at the time. Which adds one bit of entropy.I already blatantly proved you wrong. You would've known this if you had bothered to do the math instead of just stating your off-the-cuff guesswork as fact.And it does not give them a "larger key space," assuming your password includes just a single non-ASCII character. In that case it is--as I said before--no higher entropy than a four-digit string (lower entropy actually, as not every four-digit alt-code returns a usable unicode character).
Dictionary attacks are a kind of brute-force attack. And claiming the only two options are dictionary attack and "brute force" just proves how little you know about the whole topic.They already have to brute force my PW because dictionary attacks won't work.
I bet you a million dollars it really really doesn't.My most secure password has: [about 10^95] possible combinations.
Isil`Zha wrote:Jorpho wrote:Well, ALT+[four numpad characters] can pop up something outside of the ASCII keyspace, right? That's an interesting idea.
Yes, that's exactly how it works.gmalivuk wrote:How is that more effective than just including "alt0151" or whatever at that point in your password? With the added benefit that it'll still work for password fields that don't accept full unicode input.
This was pretty effectively covered. It provides a much larger key space per character, and, as mentioned before, I know of no brute force cracker that actually even searches the full unicode key space. (Not saying it's not possible, but I've never seen one.)gmalivuk wrote:It seems rather foolish to rely on the assumption that attackers will never use the characters you're using.
Rely on it? No. Added benefit that it's highly likely that no one attempting to break your password will even include the appropriate key space in their search? Hell yes.Once again, the entropy values that have been discussed through most of this thread refer to the difficulty of cracking a password *after* knowing the algorithm used to generated it. And knowing someone has a unicode character in their password means we *will* include those in our search. At which point it turns out this method isn't any more secure than just typing the code for the same character.
Right, but I don't go around telling possible attackers that there are unicode characters in my password. Regardless, it still gives them a larger key space to work through, making it that much harder. So the "downside" of giving a would-be attacker that information still leaves them with this: my password will still take exponentially more time to crack than virtually any other password of similar length. Which is really the whole idea of combating against brute force: make it take impractically long to crack.
In all likely-hood, a would-be attacker isn't going to be anyone I know or ever even talk to, and they'll literally spend eternity and never crack it.
Now, on the other hand, I could say that I use Unicode characters, and not actually do so. Now the attacker is still spending even more time in any password cracking attempts regardless of weather I actually do or not. If they don't, they risk the first situation: they will never break my password.
This sounds like a win-win for me.I agree that the original poster was overstating the security, but I think they do have a valid point about using unicode characters.
I was simply pointing out that in most (if not all) cases, a brute force attack won't even include the appropriate key space - in those cases, it literally will never break the password.
In the cases that they actually do - entropy is significantly increased anyway, making the time it takes to crack it even more impractical - so much so it's effectively unbreakable.Few attackers actually use a truly brute force approach. If they did, then they would try every possible binary permutation. An attacker usually assumes some information about the password so that they can reduce the key space and thus the complexity of breaking a password. Even if they are just assuming [a-zA-Z0-9]. Its all about information. The more information an attacker knows, the more an attacker can reduce the key space.
Password 1: correcthorsebatteΩrystaple
Password 2: correcthorsebatte03A9rystaple
But that is not the only information we know. We know that attackers are more likely to choose certain key spaces than others. Well at least we can make an educated guess on the probability. I think its fair to say the probability of an attacker choosing a key space that contains unicode characters is lower than them excluding them. So you have used information you know about crackers to decrease the probability of your password being cracked. But in the "worst case" scenario your password still has enough entropy to be secure.
Granted there are still issues with memorization and actually typing unicode characters especially on mobile devices. But if you know something about an attacker, why not use it against them?
This hit the nail on the head. And as I mentioned before, the fact that I even suggest that I use Unicode characters in my passwords(s) has a psychological effect: Do they take my word for it, and are now looking at a significantly increased time frame to brute force it, or do they call my bluff, and risk running a futile effort for a password that their cracker will literally never solve?
As for ease of use - I've never had a problem actually using it in what I use those types of passwords for. I'm sure I'm not the only one that considers what I'm protecting and how strong of a password I'm going to use. I sure as hell don't need it for some silly internet forum account.(Or do I?
![]()
)
gmalivuk wrote:It makes it hard to defeat through any sort of brute force attack by an attacker who knows how you generated your password. So please explain what you mean by hard to defeat, since it's obviously something different.But the point that I was trying to make is that just because something is high entropy doesn't make it hard to defeat.
Well yeah. In the really really unlikely event that your random 12-character ASCII string ends up being an English word, you should definitely reject it, because then it's part of a space attackers are likely to check before they bother getting to the brute force step.superluser wrote:All I'm saying is that just because your RNG barfs it out doesn't automatically make it secure.
To expand on this a bit: a password from a space that size means that you've got about 24 completely random alt+#### unicode characters. Which means you're basically remembering a full 96-digit random number (okay, apparently slightly less than that because yours is closer to 10^95 than 10^96, but whatever).gmalivuk wrote:I bet you a million dollars it really really doesn't.My most secure password has: [about 10^95] possible combinations.
gmalivuk wrote:Well yeah. In the really really unlikely event that your random 12-character ASCII string ends up being an English word, you should definitely reject it, because then it's part of a space attackers are likely to check before they bother getting to the brute force step.superluser wrote:All I'm saying is that just because your RNG barfs it out doesn't automatically make it secure.
gmalivuk wrote:Well yeah. In the really really unlikely event that your random 12-character ASCII string ends up being an English word, you should definitely reject it, because then it's part of a space attackers are likely to check before they bother getting to the brute force step.superluser wrote:All I'm saying is that just because your RNG barfs it out doesn't automatically make it secure.
Eebster the Great wrote:I think the odds of you getting an easily-crackable password from a good algorithm are extraordinarily small though, so most people just don't worry about that. They are, in fact, the same as the odds of a brute forcer stumbling onto your secure password anyway, so if you aren't worried about the one, there's no reason to worry about the other either.
gmalivuk wrote:Of all the 12-character ASCII passwords, approximately 0.08% consist entirely of letters (upper and lower case). So the entropy lost by rules which prohibit such passwords is minuscule.
That may be a notion some people have, but it's a completely incorrect one.MrRubix wrote:Ultimately, it comes down to the notion that easily-memorable passwords have some sort of non-random structure to it, and that non-random structure makes a password easier to crack, even if it's high-entropy.
Return to Individual XKCD Comic Threads
Users browsing this forum: BytEfLUSh, Earthling on Mars, ergman, HAL9000, mscha, Offler, pelrigg, psbot [Picsearch], spamjam, sparehead3, trolleypup, weirdchess1 and 23 guests