Live data from Hacker News

Analysis on Docker Hub malicious images: Attacks through public container images

sysdig.com

21–25 of 25 posts

Re: Analysis on Docker Hub malicious images: Attacks through public container images

#21

Don't use Docker. Use heavy sigh systemd security features. Yes, this is something that systemd actually does really well. And it keeps all your processes and files visible and inspectable to standard unix tools (ps, htop, ls, etc). * chroot * cgroups * PrivateNetwork * PrivateTmp * isolated devices * IPAddressAllow * SocketBindAllow * ReadOnlyPaths https://docs.arbitrary.ch/security/systemd.html

Docker doesn't hide your processes from ps.

Re: Analysis on Docker Hub malicious images: Attacks through public container images

#22

The segmentation into attack vectors is interesting. But images from individuals on something like DockerHub have always been untrusted. I expected to read here about recent compromised official DockerHub library images. I don't see how that threat is new or now more pressing than ever. How would you even count something like `docker pull vesnpsexga/joomla` as typosquatting vs. `docker pull joomla`? It's not even clo…

Do you have any recommendations for pull-thru caching? I’m currently going through this issue as we speak and am very interested in having this work for our usecase.

Re: Analysis on Docker Hub malicious images: Attacks through public container images

#23
post #15
post #3

With Docker, how well is the host protected from malicious images?

It's controversial because there are definitely a contingent of people who really want to believe docker adds a realistic layer of security isolation. But no credible security researcher, security engineer or even Docker the company itself has ever considered Docker the container runtime to be a security mechanism (well, outside of the fact it's leveraging kernel namespaces)[0]. There's also a lot of really bad secur…

Thanks for pointing to these options; is there a list you can recommend of everything that should be done (hopefully updated regularly)? It is quite the arms race.

Re: Analysis on Docker Hub malicious images: Attacks through public container images

#24
A couple hundred downloads?

These kinds of repository are probably best used by drive-by malware.

I think this (and all) repository's download log should be made open, or at least made viewable prior to your downloading step as part of the trust profiling.

Re: Analysis on Docker Hub malicious images: Attacks through public container images

#25
post #19
post #14

This sounds like much-ado about nothing. We probably need to be far more concerned about "Docker Official Image"s that have been deprecated and are no longer receiving updates such as the "official" /_centos images (including centos7 which in theory isn't EOL but RedHat apparently doesn't care).

Redhat has moved all their stuff to quay.io.

Even on Quay the centos7 tag hasn't been updated in 2 years so it's clearly not getting any of the package updates. Yay, security!
Post reply on HN