BT

InfoQ Homepage News Sysdig: Container Security Shifting Left, Docker Usage Shrinking

Sysdig: Container Security Shifting Left, Docker Usage Shrinking

Bookmarks

Sysdig 2021 container security and usage report highlights a trend for container security to "shift left". Yet, many of the analyzed images are still lacking in basic security provisions.

Sysdig collected data by analyzing millions of containers used by some of their customers on a daily basis, which include containers based on NGINX, Go, PostgreSQL, and many more available images.

Shifting-left in the realm of security means that teams are considering security implications of architectural and design choice earlier in the development cycle.

One highlight in our analysis revealed that for many companies, the trend of shifting left is extending to Kubernetes security with three-fourths of organizations scanning their container images in the CI/CD build phase prior to deployment.

Image scanning is key for security, says Sysdig, regardless of the image source. Indeed, about 55% of the images they scanned to make their report showed at least a vulnerability with high severity or higher.

This positive trend is unfortunately counterbalanced by poor handling of image configuration. Specifically, 58% of containers still run as root, says Sysdig, while only a handful of them should really require that privilege level.

As container environments mature, organizations realize that scanning is not enough. They also need runtime security to deal with ongoing threats.

Besides running containers as root, other recurrent runtime policy violations identified by Sysdig include writing to files under /, /etc, and so on; using a shell as entry point into a container; modifying sensitive files; etc.

One tool for runtime security that according to Sysdig has seen growing adoption is Cloud Native Computing Foundation (CNCF) Falco project. Originally created at Sysdig and later donated to CNCF, Falco analyzes Linux system calls to detect unusual behaviour such as privilege escalation using privileged containers, ownership and mode changes, execve, shell, and SSH usage, and so on. However, runtime analysis is made hard by the fact that many containers have very limited lifespans, which are not enough for many monitoring tools to provide detailed information. For example, almost 49% of containers live less than five minutes, which 21% of them living less than 10 seconds.

Another trend that Sysdig highlights is a shift away from Docker as a container runtime in favour of containerd and CRI-O. This trend is no surprise, given the evolution of the Docker engine:

The Docker engine previously implemented both high-level and low-level runtime features. These are now broken out into separate containerd and runc projects.

The trend away from Docker is also confirmed by Kubernetes having officially announced they will deprecate Docker later this year. Kubernetes, on the other hand, holds the lead as the orchestrator or choice at a significant distance from OpenShift.

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • Really?

    by Cri Geo /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    "The trend away from Docker is also confirmed by Kubernetes having officially announced they will deprecate Docker later this year. "
    That's not what's happening though. It would be enough to read just the title of the linked article. Key word: runtime. Not Docker in its entirety. Just the dockershim. Images will continue to run.

  • Re: Really?

    by Sergio De Simone /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Hello there,

    thanks for the comment.

    I have some issues understanding your concern. The article states explicitly a "shift away from Docker as a container runtime" and does not imply in any measure that this trend affects Docker images too.

    Could you please elaborate more what does not sound right to you? Thanks

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.
午夜电影_免费高清视频|高清电视|高清电影_青苹果影院