DrayTek UK Users' Community Forum
Help, Advice and Solutions from DrayTek Users
2960 - Passwords stored in PLAIN TEXT in your config files
- jamessp1
- Topic Author
- Offline
- Banned
Less
More
- Posts: 24
- Thank you received: 0
16 Jun 2013 13:50 #76620
by jamessp1
Replied by jamessp1 on topic Re: 2960 - Passwords stored in PLAIN TEXT in your config fil
Admin,
cocospm is not being rude to you, and I didn't think his response at all aggressive. He's absolutely right to say that an "admin" supporting a networking and security device should understand enough not to suggest such ludicrous and incorrect ideas about password security. A few bit of searching on the web would put you on the right track.
It may be worth considering that many of your forum users will be networking and security veterans. Asking "Why do you want DNS Suffixes? " or "How else would you store passwords? " are really scary questions for us to be seeing an admin asking. It's hard to have confidence in a privileged position on a technical forum if the person doesn't have the pre-requisite knowledge to interact at a reasonable level of security and deployment knowledge, and the customer sensitivity to communicate more effectively.
It's wrong to accuse a customer of being rude, when what you are seeing is a very honest reaction to a shocking low level of knowledge. I think you might experience a substantially angrier and ruder response if you said something like this in person, outside the protective limits of a forum -- such as in a real-life Network Operations planning meeting in a major data centre. You'd be thrown out of the room.
cocospm is not being rude to you, and I didn't think his response at all aggressive. He's absolutely right to say that an "admin" supporting a networking and security device should understand enough not to suggest such ludicrous and incorrect ideas about password security. A few bit of searching on the web would put you on the right track.
It may be worth considering that many of your forum users will be networking and security veterans. Asking "Why do you want DNS Suffixes?
It's wrong to accuse a customer of being rude, when what you are seeing is a very honest reaction to a shocking low level of knowledge. I think you might experience a substantially angrier and ruder response if you said something like this in person, outside the protective limits of a forum -- such as in a real-life Network Operations planning meeting in a major data centre. You'd be thrown out of the room.
Please Log in or Create an account to join the conversation.
- admin
- Offline
- Site Admin
Less
More
- Posts: 1723
- Thank you received: 0
16 Jun 2013 20:08 #76625
by admin
A config backup is a config backup, and most commonly used as exactly that - a backup. If it didn't contain your passwords, which are a fundamental part of your backup, then it wouldn't be of any use to most users and the purpose they use it for. If I spilt coffee on my router and needed to restore to a replacement unit, or clone one config to another set of routers, again, I need a full config, not parts of it. If I want to play with settings but afterwards restore it back to how it was, I need a complete config. So, all in all, one would expect a completely config to contain a complete config. It might be that you could have the mechanism of a master password to encrypt all others, but that's a different matter (and perhaps a feature that coulld/should be added), but the passwords are still contained.
Yours? Maybe not; I have no idea what technical problem you might have, so you could change them before sending, but in other people's cases, being able to reproduce with an exact config, whether it's a SIP account or PPTP host, it may be needed, especially when a pair of configs is sent. I'm sure the support dept. are very used to dealing with confidential/high privacy configs and would expect them to have strict controls/procedures in place.
If a router stores a password, and it's not recoverable, by which I assume that you mean one that the router can retrieve it and turn it back into the plain password that can be submitted, then how would you expect that to work? It has to be a symmetric cypher. What else could the router submit to a service?
" Officer, here is my driving licence. I have shredded it, but honest, it really is me..."
Forum Administrator
Replied by admin on topic Re: 2960 - Passwords stored in PLAIN TEXT in your config fil
If I sent a config file to Draytek I would expect it to contain, er, the router's configuration, with the passwords suitably encryptedcocospm wrote:
.
A config backup is a config backup, and most commonly used as exactly that - a backup. If it didn't contain your passwords, which are a fundamental part of your backup, then it wouldn't be of any use to most users and the purpose they use it for. If I spilt coffee on my router and needed to restore to a replacement unit, or clone one config to another set of routers, again, I need a full config, not parts of it. If I want to play with settings but afterwards restore it back to how it was, I need a complete config. So, all in all, one would expect a completely config to contain a complete config. It might be that you could have the mechanism of a master password to encrypt all others, but that's a different matter (and perhaps a feature that coulld/should be added), but the passwords are still contained.
There is no need whatsoever for Draytek to know my passwordscocospm wrote:
Yours? Maybe not; I have no idea what technical problem you might have, so you could change them before sending, but in other people's cases, being able to reproduce with an exact config, whether it's a SIP account or PPTP host, it may be needed, especially when a pair of configs is sent. I'm sure the support dept. are very used to dealing with confidential/high privacy configs and would expect them to have strict controls/procedures in place.
and there is no reason whatsoever why a router would need to store my passwords in their original or, indeed, recoverable, form.cocospm wrote:
If a router stores a password, and it's not recoverable, by which I assume that you mean one that the router can retrieve it and turn it back into the plain password that can be submitted, then how would you expect that to work? It has
" Officer, here is my driving licence. I have shredded it, but honest, it really is me..."
Forum Administrator
Please Log in or Create an account to join the conversation.
- admin
- Offline
- Site Admin
Less
More
- Posts: 1723
- Thank you received: 0
16 Jun 2013 20:17 #76626
by admin
"try to ensure you know even the slightest thing about security" is rude, plain and simple. And as for the rest, when did you promote me to being a network admin or a security expert? We are forum moderators here, that is all and most of my participation is as a user and learner just like everyone else.
He's not my customer, and even if he was, why is it wrong? Wherever you worked, if a customer was rude, it should be pointed out and ask them to cease. I am sick of seeing that in my local supermarket or wherever "I'm the customer... I have special rights to be rude that I don't expect back.... The customer is always right...". Nonsense.
Er....what's that got to do with it? We're in a discussion forum, so discuss or ignore. I simply asked "what would you expect the passwords to look like?". He might have just said "I haven't a clue, but I didn't expect plain text..."
Forum Administrator
Replied by admin on topic Re: 2960 - Passwords stored in PLAIN TEXT in your config fil
cocospm is not being rude to youjamessp1 wrote:
"try to ensure you know even the slightest thing about security" is rude, plain and simple. And as for the rest, when did you promote me to being a network admin or a security expert? We are forum moderators here, that is all and most of my participation is as a user and learner just like everyone else.
It's wrong to accuse a customer of being rudejamessp1 wrote:
He's not my customer, and even if he was, why is it wrong? Wherever you worked, if a customer was rude, it should be pointed out and ask them to cease. I am sick of seeing that in my local supermarket or wherever "I'm the customer... I have special rights to be rude that I don't expect back.... The customer is always right...". Nonsense.
I think you might experience a substantially angrier and ruder response if you said something like this in person, outside the protective limits of a forumjamessp1 wrote:
Er....what's that got to do with it? We're in a discussion forum, so discuss or ignore. I simply asked "what would you expect the passwords to look like?". He might have just said "I haven't a clue, but I didn't expect plain text..."
Forum Administrator
Please Log in or Create an account to join the conversation.
- jamessp1
- Topic Author
- Offline
- Banned
Less
More
- Posts: 24
- Thank you received: 0
17 Jun 2013 10:53 #76639
by jamessp1
Replied by jamessp1 on topic Re: 2960 - Passwords stored in PLAIN TEXT in your config fil
Admin. Some thoughts for you. Assuming that we are just trying to make private passwords secure against casual exposure, safe for support teams to read, and survive a few months (or even years) of brute-force attempts, there are a number of options:
If you are convinced that there is no way to safely store passwords on a security appliance:
How do other vendors solve this problem?
Embedded crypto either in the form of silicon (too expensive for Draytek) or as software (which is very low cost), and a two-way key encryption algorithm creates an encrypted password on the file system, and when the password is needed for an external application, then the password is decrypted by the original encryption key. Put simply non-exportable PKCS / X.509.
If you think that is too hard, Draytek already use certificates (and easy-rsa) and keys for ipsec and openvpn . So it's not a big jump to apply the same cert and key storage to all passwords. Just a bit more coding.
Out of interest, Government, Security Agencies and high security systems require:
So there we are, some ideas, most dating back to the 1980's.
If you are convinced that there is no way to safely store passwords on a security appliance:
How do other vendors solve this problem?
Embedded crypto either in the form of silicon (too expensive for Draytek) or as software (which is very low cost), and a two-way key encryption algorithm creates an encrypted password on the file system, and when the password is needed for an external application, then the password is decrypted by the original encryption key. Put simply non-exportable PKCS / X.509.
If you think that is too hard, Draytek already use certificates (and easy-rsa) and keys for ipsec and openvpn . So it's not a big jump to apply the same cert and key storage to all passwords. Just a bit more coding.
Out of interest, Government, Security Agencies and high security systems require:
- [list=3]
So there we are, some ideas, most dating back to the 1980's.
Please Log in or Create an account to join the conversation.
- admin
- Offline
- Site Admin
Less
More
- Posts: 1723
- Thank you received: 0
17 Jun 2013 11:41 #76642
by admin
There is, but as I said, there is no way to store them in an assymmetric cypher (non-recoverable, as cocospm seemed
to expect), as otherwise one couldn't actually use them for any 3rd party logins/services, but they can be encrypted, yes.
Your summary is correct; there are several methods, mostly involving a master password/key
which is not included in the config as I said earlier. It doesn't need specific silicon.
Forum Administrator
Replied by admin on topic Re: 2960 - Passwords stored in PLAIN TEXT in your config fil
...If you are convinced that there is no way to safely store passwords on a security appliance...jamessp1 wrote:
There is, but as I said, there is no way to store them in an assymmetric cypher (non-recoverable, as cocospm seemed
to expect), as otherwise one couldn't actually use them for any 3rd party logins/services, but they can be encrypted, yes.
How do other vendors solve this problem?
Your summary is correct; there are several methods, mostly involving a master password/key
which is not included in the config as I said earlier. It doesn't need specific silicon.
Forum Administrator
Please Log in or Create an account to join the conversation.
- jamessp1
- Topic Author
- Offline
- Banned
Less
More
- Posts: 24
- Thank you received: 0
17 Jun 2013 12:22 #76645
by jamessp1
Replied by jamessp1 on topic Re: 2960 - Passwords stored in PLAIN TEXT in your config fil
Admin, This is what you told the forum:
The whole point here, (and you certainly didn't show a grasp of any of this in your early posts)
You started this thread by telling us that we didn't know what we were talking about and "what else did we expect?" One-way hashes wouldn't work, and so plain text was what we should expect.
Then you pleaded ignorance and told us that we should be educating you.
You ended up telling everyone that you were right all along.
You still don't acknowledge that plain text passwords in configs are idiotic and devoid of an even rudimentary understanding of security, and easily fixed.
I'm frustrated with you because you have been absolutely no help. I'm working with support to try and get developers to change the storage of passwords. You haven't helped at all during this thread. So why interact in the first place? Isn't that the definition of a troll?
As the config is human readable (as opposed to binary) which allows editing, 3rd party scripting etc, what would you expect the passwords to look like?
The passwords cannot be encrypted with a one way hash because then the router would not be able to use the passwords when needed
There is, but as I said, there is no way to store them in an assymmetric cypher (non-recoverable, as cocospm seemed to expect)
So, again, how would you expect passwords to be stored in a script/config (non-binary) file?
The whole point here, (and you certainly didn't show a grasp of any of this in your early posts)
You started this thread by telling us that we didn't know what we were talking about and "what else did we expect?" One-way hashes wouldn't work, and so plain text was what we should expect.
Then you pleaded ignorance and told us that we should be educating you.
You ended up telling everyone that you were right all along.
You still don't acknowledge that plain text passwords in configs are idiotic and devoid of an even rudimentary understanding of security, and easily fixed.
I'm frustrated with you because you have been absolutely no help. I'm working with support to try and get developers to change the storage of passwords. You haven't helped at all during this thread. So why interact in the first place? Isn't that the definition of a troll?
Please Log in or Create an account to join the conversation.
Moderators: Sami
Copyright © 2024 DrayTek