▲ 345 ▼ TIL that if you search "Password generator, [x] characters, [y] strength" at DuckDuckGo, it will generate a password for you. (lemmy.world) submitted 11 months ago by MeowerMisfit817@lemmy.world to c/til@lemmy.world 88 comments fedilink hide all child comments
[–] TehBamski@lemmy.world 172 points 11 months ago (6 children) This seems like one picked up data packet away from being a bad idea. Am I overthinking this? permalink fedilink source hideshow 12 child comments replies: [–] Godort@lemmy.ca 85 points 11 months ago (2 children) This is probably fine. The connection to DDG will be over HTTPS, so a captured packet would need to be decoded first. And if someone were to manage to break the encryption, then they would also need to know what service you used the password for. Ultimately, it's more secure to generate locally, but it would be a huge amount of work to get anything usable out of a packet capture permalink fedilink source parent hideshow 4 child comments replies: [–] warm@kbin.earth 20 points 11 months ago (1 child) Are they sending data? I'm pretty sure this will just be generated on the client. permalink fedilink source parent hideshow 2 child comments replies: [–] plz1@lemmy.world 53 points 11 months ago (2 children) Yeah, I tested it. It's not a client side thing, it is part of the search page output. permalink fedilink source parent hideshow 4 child comments replies: [–] warm@kbin.earth 6 points 11 months ago oof permalink fedilink source parent [–] Swedneck@discuss.tchncs.de 2 points 11 months ago might as well send them feedback about that, ddg seems to actually give half a shit about users and it should be a very trivial thing to change. permalink fedilink source parent [–] TehBamski@lemmy.world 7 points 11 months ago* (1 child) I'm no cybersecurity expert. But couldn't they just sniff your traffic to see where you (your packets) go and test the pw on each login for the last hour? edit: I guess they are using DuckDuckGo, which has a higher level of privacy design and limits. permalink fedilink source parent hideshow 2 child comments replies: [–] kibiz0r@midwest.social 10 points 11 months ago (1 child) This is why you should do DNS over HTTPS permalink fedilink source parent hideshow 2 child comments replies: [–] nef@slrpnk.net 1 point 11 months ago (1 child) DoH is good, but it wouldn't help much in this scenario. Even if every website you connected to supported Encrypted Client Hello, IP addresses greatly narrow down which domains you're connecting to. But realistically using DDG to generate a password is safer than downloading a local program to do it, an attacker would have to break into DDG and MITM your internet. For a local program all they have to do is compromise the site you download it from, and maybe the developer's signing key if you check that. permalink fedilink source parent hideshow 2 child comments replies: [–] snowe@programming.dev 1 point 11 months ago all they need to do is get you to install a sketchy browser extension and then anytime you generate a password on ddg they've captured it. No man in the middle necessary. Unlike generating a pw with your pw manager, then inserting it with your pw manager or just typing it into the field (which shouldn't be accessible to extensions on any appropriately coded site). permalink fedilink source parent [–] who@feddit.org 32 points 11 months ago (1 child) You are not overthinking it. Exploiting this would be a bit more complex than capturing a packet on the wire, but it is possible. If you intend to use a passphrase for anything important, it's best to generate it locally. permalink fedilink source parent hideshow 2 child comments replies: [–] AceBonobo@lemmy.world 2 points 11 months ago If you have to use this, generate multiple passwords and mix them permalink fedilink source parent [–] zergtoshi@lemmy.world 20 points 11 months ago With https as protocol, picked up data packets won't do much harm. But relying on anything but a local password manager is imho still a bad idea. permalink fedilink source parent [–] Sir_Kevin@lemmy.dbzer0.com 17 points 11 months ago Yeah I think I'll just click an icon in my password manager instead. permalink fedilink source parent [–] etchinghillside@reddthat.com 7 points 11 months ago There are certainly better ideas. permalink fedilink source parent [–] merc@sh.itjust.works 6 points 11 months ago This is probably ok. First of all, they're probably actually doing it in Javascript in the browser. It probably never travels over the network at all. And, if it did, with HTTPS it would be hard to intercept and decrypt except by a government or something. But, it still gives me the willies to generate a password on a web page. Fundamentally a web browser is still a tool for sending and receiving data over the Internet, and that's not the kind of tool I'd want to be generating something that I don't want other people to know or see. What happens if there's a bug? If the password is being generated in an app on my local system a badly designed app with a bug could maybe log my newly generated password in a local log file somewhere. If there's a bug in DuckDuckGo's javascript, who knows where that newly generated password might be logged? permalink fedilink source parent
[–] Godort@lemmy.ca 85 points 11 months ago (2 children) This is probably fine. The connection to DDG will be over HTTPS, so a captured packet would need to be decoded first. And if someone were to manage to break the encryption, then they would also need to know what service you used the password for. Ultimately, it's more secure to generate locally, but it would be a huge amount of work to get anything usable out of a packet capture permalink fedilink source parent hideshow 4 child comments replies: [–] warm@kbin.earth 20 points 11 months ago (1 child) Are they sending data? I'm pretty sure this will just be generated on the client. permalink fedilink source parent hideshow 2 child comments replies: [–] plz1@lemmy.world 53 points 11 months ago (2 children) Yeah, I tested it. It's not a client side thing, it is part of the search page output. permalink fedilink source parent hideshow 4 child comments replies: [–] warm@kbin.earth 6 points 11 months ago oof permalink fedilink source parent [–] Swedneck@discuss.tchncs.de 2 points 11 months ago might as well send them feedback about that, ddg seems to actually give half a shit about users and it should be a very trivial thing to change. permalink fedilink source parent [–] TehBamski@lemmy.world 7 points 11 months ago* (1 child) I'm no cybersecurity expert. But couldn't they just sniff your traffic to see where you (your packets) go and test the pw on each login for the last hour? edit: I guess they are using DuckDuckGo, which has a higher level of privacy design and limits. permalink fedilink source parent hideshow 2 child comments replies: [–] kibiz0r@midwest.social 10 points 11 months ago (1 child) This is why you should do DNS over HTTPS permalink fedilink source parent hideshow 2 child comments replies: [–] nef@slrpnk.net 1 point 11 months ago (1 child) DoH is good, but it wouldn't help much in this scenario. Even if every website you connected to supported Encrypted Client Hello, IP addresses greatly narrow down which domains you're connecting to. But realistically using DDG to generate a password is safer than downloading a local program to do it, an attacker would have to break into DDG and MITM your internet. For a local program all they have to do is compromise the site you download it from, and maybe the developer's signing key if you check that. permalink fedilink source parent hideshow 2 child comments replies: [–] snowe@programming.dev 1 point 11 months ago all they need to do is get you to install a sketchy browser extension and then anytime you generate a password on ddg they've captured it. No man in the middle necessary. Unlike generating a pw with your pw manager, then inserting it with your pw manager or just typing it into the field (which shouldn't be accessible to extensions on any appropriately coded site). permalink fedilink source parent
[–] warm@kbin.earth 20 points 11 months ago (1 child) Are they sending data? I'm pretty sure this will just be generated on the client. permalink fedilink source parent hideshow 2 child comments replies: [–] plz1@lemmy.world 53 points 11 months ago (2 children) Yeah, I tested it. It's not a client side thing, it is part of the search page output. permalink fedilink source parent hideshow 4 child comments replies: [–] warm@kbin.earth 6 points 11 months ago oof permalink fedilink source parent [–] Swedneck@discuss.tchncs.de 2 points 11 months ago might as well send them feedback about that, ddg seems to actually give half a shit about users and it should be a very trivial thing to change. permalink fedilink source parent
[–] plz1@lemmy.world 53 points 11 months ago (2 children) Yeah, I tested it. It's not a client side thing, it is part of the search page output. permalink fedilink source parent hideshow 4 child comments replies: [–] warm@kbin.earth 6 points 11 months ago oof permalink fedilink source parent [–] Swedneck@discuss.tchncs.de 2 points 11 months ago might as well send them feedback about that, ddg seems to actually give half a shit about users and it should be a very trivial thing to change. permalink fedilink source parent
[–] Swedneck@discuss.tchncs.de 2 points 11 months ago might as well send them feedback about that, ddg seems to actually give half a shit about users and it should be a very trivial thing to change. permalink fedilink source parent
[–] TehBamski@lemmy.world 7 points 11 months ago* (1 child) I'm no cybersecurity expert. But couldn't they just sniff your traffic to see where you (your packets) go and test the pw on each login for the last hour? edit: I guess they are using DuckDuckGo, which has a higher level of privacy design and limits. permalink fedilink source parent hideshow 2 child comments replies: [–] kibiz0r@midwest.social 10 points 11 months ago (1 child) This is why you should do DNS over HTTPS permalink fedilink source parent hideshow 2 child comments replies: [–] nef@slrpnk.net 1 point 11 months ago (1 child) DoH is good, but it wouldn't help much in this scenario. Even if every website you connected to supported Encrypted Client Hello, IP addresses greatly narrow down which domains you're connecting to. But realistically using DDG to generate a password is safer than downloading a local program to do it, an attacker would have to break into DDG and MITM your internet. For a local program all they have to do is compromise the site you download it from, and maybe the developer's signing key if you check that. permalink fedilink source parent hideshow 2 child comments replies: [–] snowe@programming.dev 1 point 11 months ago all they need to do is get you to install a sketchy browser extension and then anytime you generate a password on ddg they've captured it. No man in the middle necessary. Unlike generating a pw with your pw manager, then inserting it with your pw manager or just typing it into the field (which shouldn't be accessible to extensions on any appropriately coded site). permalink fedilink source parent
[–] kibiz0r@midwest.social 10 points 11 months ago (1 child) This is why you should do DNS over HTTPS permalink fedilink source parent hideshow 2 child comments replies: [–] nef@slrpnk.net 1 point 11 months ago (1 child) DoH is good, but it wouldn't help much in this scenario. Even if every website you connected to supported Encrypted Client Hello, IP addresses greatly narrow down which domains you're connecting to. But realistically using DDG to generate a password is safer than downloading a local program to do it, an attacker would have to break into DDG and MITM your internet. For a local program all they have to do is compromise the site you download it from, and maybe the developer's signing key if you check that. permalink fedilink source parent hideshow 2 child comments replies: [–] snowe@programming.dev 1 point 11 months ago all they need to do is get you to install a sketchy browser extension and then anytime you generate a password on ddg they've captured it. No man in the middle necessary. Unlike generating a pw with your pw manager, then inserting it with your pw manager or just typing it into the field (which shouldn't be accessible to extensions on any appropriately coded site). permalink fedilink source parent
[–] nef@slrpnk.net 1 point 11 months ago (1 child) DoH is good, but it wouldn't help much in this scenario. Even if every website you connected to supported Encrypted Client Hello, IP addresses greatly narrow down which domains you're connecting to. But realistically using DDG to generate a password is safer than downloading a local program to do it, an attacker would have to break into DDG and MITM your internet. For a local program all they have to do is compromise the site you download it from, and maybe the developer's signing key if you check that. permalink fedilink source parent hideshow 2 child comments replies: [–] snowe@programming.dev 1 point 11 months ago all they need to do is get you to install a sketchy browser extension and then anytime you generate a password on ddg they've captured it. No man in the middle necessary. Unlike generating a pw with your pw manager, then inserting it with your pw manager or just typing it into the field (which shouldn't be accessible to extensions on any appropriately coded site). permalink fedilink source parent
[–] snowe@programming.dev 1 point 11 months ago all they need to do is get you to install a sketchy browser extension and then anytime you generate a password on ddg they've captured it. No man in the middle necessary. Unlike generating a pw with your pw manager, then inserting it with your pw manager or just typing it into the field (which shouldn't be accessible to extensions on any appropriately coded site). permalink fedilink source parent
[–] who@feddit.org 32 points 11 months ago (1 child) You are not overthinking it. Exploiting this would be a bit more complex than capturing a packet on the wire, but it is possible. If you intend to use a passphrase for anything important, it's best to generate it locally. permalink fedilink source parent hideshow 2 child comments replies: [–] AceBonobo@lemmy.world 2 points 11 months ago If you have to use this, generate multiple passwords and mix them permalink fedilink source parent
[–] AceBonobo@lemmy.world 2 points 11 months ago If you have to use this, generate multiple passwords and mix them permalink fedilink source parent
[–] zergtoshi@lemmy.world 20 points 11 months ago With https as protocol, picked up data packets won't do much harm. But relying on anything but a local password manager is imho still a bad idea. permalink fedilink source parent
[–] Sir_Kevin@lemmy.dbzer0.com 17 points 11 months ago Yeah I think I'll just click an icon in my password manager instead. permalink fedilink source parent
[–] etchinghillside@reddthat.com 7 points 11 months ago There are certainly better ideas. permalink fedilink source parent
[–] merc@sh.itjust.works 6 points 11 months ago This is probably ok. First of all, they're probably actually doing it in Javascript in the browser. It probably never travels over the network at all. And, if it did, with HTTPS it would be hard to intercept and decrypt except by a government or something. But, it still gives me the willies to generate a password on a web page. Fundamentally a web browser is still a tool for sending and receiving data over the Internet, and that's not the kind of tool I'd want to be generating something that I don't want other people to know or see. What happens if there's a bug? If the password is being generated in an app on my local system a badly designed app with a bug could maybe log my newly generated password in a local log file somewhere. If there's a bug in DuckDuckGo's javascript, who knows where that newly generated password might be logged? permalink fedilink source parent