Your browser is obsolete!

The page may not load correctly.

The rules of ”basic hygiene”

Правила гигиены

Other issues in this category (99)
  • add to favourites
    Add to Bookmarks

Your dear image riddled with holes

Read: 17870 Comments: 2 Rating: 7

Wednesday, March 13, 2019

The Anti-virus Times has already told its readers about security issues involving the now-popular container platform Docker. With Docker, applications can be run in a virtual environment. All the libraries and resources required by an application are available in the respective container so they don’t need to be present in the system. This may come in handy if a certain application requires a particular version of a certain library that no other applications use. That way you can run a legacy version of an application, for example, to use a certain feature that has been removed in later versions.

On average, containers enjoy greater popularity than virtual machines. Multiple lightweight containers can be run even on less powerful hardware.

https://habr.com/ru/company/southbridge/blog/339126

But this advantage also has a drawback: legacy applications and libraries can have unpatched vulnerabilities, which intruders can leverage.

The Internet is abundant with container images that do all kinds of useful and cool things, but if you download images that don't go through any sort of verification or validation procedure, you are essentially opting to run arbitrary code in your system.

  • Where was this image downloaded from?
  • Do you trust its maker? What security policies do they use?
  • Can you confirm with 100 percent certainty that the container image has indeed been created by these people?
  • Are you confident that the image wasn't tampered with after it was uploaded?

https://habr.com/ru/company/southbridge/blog/339126

Furthermore, unlike virtual machines, all Docker applications are run under a single operating system even though they have no access to its files. To be more precise, they didn't have access until recently.

The vulnerability CVE-2019-5736 lets infected containers overwrite the runC executable in the system and run it with root privileges. This lets a nefarious container gain control over a host and lets attackers run any commands they want in the system.

https://habr.com/ru/company/ruvds/blog/440096

So here we are talking about infected containers. In the issue featuring Dr.Web Cloud, we demonstrated that an anti-virus on a server machine where images are being launched easily detects malware lurking within containers. So it turns out that once again the problem is not about vulnerabilities but rather about server administrators who do not use anti-virus software.

#server #anti-virus #corporate_security #vulnerability #exploit

The Anti-virus Times recommends

  1. Vulnerabilities have been, are, and always will be, so an anti-virus is an essential system security component.
  2. Scan all image containers with your anti-virus before using them.
  3. Install updates—including those that update the Docker components.
  4. Limit access permissions. The containers must not have access to system components.

    The term “container breakout” is used to denote that a Docker container has bypassed isolation checks, accessing sensitive information from the host or gaining additional privileges. To prevent this, we want to reduce the default container privileges. For example, the Docker daemon runs as root by default, but you can create a user-level namespace or drop some of the container root capabilities.

    https://sysdig.com/blog/7-docker-security-vulnerabilities/

[Twitter]

Tell us what you think

To leave a comment, you need to log in under your Doctor Web site account. If you don't have an account yet, you can create one.

Comments