Just wondering, genuinely out of curiosity - how does one get to this 5% number? If the attacker had access to the DB s/he had access to 100% user data right? Or did the get access to a partition of the user data? How is this even possible? Some very old backup that had only 5% of earliest users? Some log file which had plain-text creds of approx 5% users? Or did they discover the attack as it was happening and kicke…
Docker Hub Hacked – 190k accounts, GitHub tokens revoked, builds disabled
161–170 of 269 posts
Re: Docker Hub Hacked – 190k accounts, GitHub tokens revoked, builds disabled
#162Why can’t these emails just come out and say it: “your account was affected”. It’s always implicit. Also, why rely on users to change their passwords? Is there a security log I can check?
Should they change your password for you? How do they communicate it securely then? Over unencrypted email, whose password may or may not be the same of your just-compromised docker account?
Re: Docker Hub Hacked – 190k accounts, GitHub tokens revoked, builds disabled
#163Earlier quoted context omitted.
I never complained and whined like a baby every time I install Gnome for example, using Debian's apt package manager where it fetches hundreds of packages worth of 1GB. Do you know how many Linux devs required you to use Lua libraries for example only for a single isolated piece of code just because they were too lazy to write it down in C.
Most distributions' package repos aren't a free-for-all, unlike NPM It'd be a legit criticism of ruby gems or CPAN, but linux distros are an entirely different kettle of fish, and most of the mainstream distros take security pretty seriously
Re: Docker Hub Hacked – 190k accounts, GitHub tokens revoked, builds disabled
#164Earlier quoted context omitted.
> Docker is an invitation to trouble. Anybody can publish a binary blob, and users are expected to blindly trust it How is this issue specific to Docker? Anyone can download a random library off github, use a shady linux distribution, or install utility tools loaded with spyware. I don't think Docker aims to solve issues relating to trusting upstream software. It's a tool to help package applications, just like how t…
Libraries off Github literally have the source available for you and the community at large to vet. And you'll find almost no sane shop on the planet where people are allowed, hell encouraged to use shady distros or install random utility tools in production the way they are encouraged to pull unchecked binary blobs from Docker Hub in an often non-reproducible manner.
Nobody read the source code for this exact reason: “the community is here to read it so I won’t".
Re: Docker Hub Hacked – 190k accounts, GitHub tokens revoked, builds disabled
#165That's a nice summary. One thing I'm curious about is: > Data includes usernames and hashed passwords How are they hashed? And specifically, can we expect them to be already cracked?
Yes, in particular we need to know algorithm, work factor and salting details to know whether or not the passwords may be compromised.
Re: Docker Hub Hacked – 190k accounts, GitHub tokens revoked, builds disabled
#166Their hub website is pretty bad. I tried changing the password and the website came back with an error: Failed to save password. Interesting, so I tried again. This time it said: Current password is incorrect. I thought, maybe I need to log out and try if the new password works. I clicked on Log Out link, the website has refreshed and I was still logged in.
Re: Docker Hub Hacked – 190k accounts, GitHub tokens revoked, builds disabled
#167Earlier quoted context omitted.
You can tamper with data protected by checksums: they are not designed to be irreversible, just fast to calculate and good at detecting errors, not deliberate manipulations. Use proper cryptography and don't roll your own!
Wouldn't that mean you need to find a collision?
I guess if you were really sure you had obtained a checksum prior to the service compromise, then that would give reasonable assurance the image was not tampered with.
Re: Docker Hub Hacked – 190k accounts, GitHub tokens revoked, builds disabled
#168Earlier quoted context omitted.
You can tamper with data protected by checksums: they are not designed to be irreversible, just fast to calculate and good at detecting errors, not deliberate manipulations. Use proper cryptography and don't roll your own!
Wouldn't that mean you need to find a collision?
Re: Docker Hub Hacked – 190k accounts, GitHub tokens revoked, builds disabled
#169Earlier quoted context omitted.
> Checksums aren't anywhere near enough. Why not?
A checksum’s typical use is to detect transmission errors. A cryptographically secure signature is what’s needed.
Regardless, I think it's certainly an excellent hardening step.
Re: Docker Hub Hacked – 190k accounts, GitHub tokens revoked, builds disabled
#170Earlier quoted context omitted.
You can tamper with data protected by checksums: they are not designed to be irreversible, just fast to calculate and good at detecting errors, not deliberate manipulations. Use proper cryptography and don't roll your own!
Wouldn't that mean you need to find a collision?
For example, when Linux Mint's ISOs were briefly backdoored, the attackers also changed the checksum shown on the website: https://www.zdnet.com/article/hacker-hundreds-were-tricked-i...