Siloscape malware a risk to Windows containers, Kubernetes

0
366
Oracle enhances customer experience platform with a B2B refresh

Source is ComputerWeekly.com

A newly identified malware, dubbed Siloscape by the threat researcher who first spotted it, appears to be the first-recorded malware to target Windows containers, and presents a potential risk to badly configured enterprise clouds.

Discovered by Daniel Prizmant of Palo Alto’s Unit 42 research unit in March 2021, Siloscape is an obfuscated malware that targets Windows containers and from there, attempts to open a backdoor into poorly configured Kubernetes clusters where it runs malicious containers.

Prizmant said the emergence of a malware targeting Windows containers was unsurprising given the surge in cloud adoption in the past few years. He named it Siloscape because its primary goal is to escape the container, which in Windows is implemented mainly by a server silo.

He said that compromising an entire Kubernetes cluster was much more damaging than a single container, as it can run multiple cloud apps, whereas a single container would more usually run just one.

“The attacker might be able to steal critical information such as usernames and passwords, an organisation’s confidential and internal files or even entire databases hosted in the cluster. Such an attack could even be leveraged as a ransomware attack by taking the organisation’s files hostage,” said Prizmant in a newly published disclosure blog.

“Even worse, with organisations moving to the cloud, many use Kubernetes clusters as their development and testing environments, and a breach of such an environment can lead to devastating software supply chain attacks.”

The malware works thus: it first targets common cloud apps such as web servers and accesses them via known vulnerabilities, uses the Windows container escape technique to escape from there to gain code execution on the underlying node, then attempts to abuse the node’s credentials to spread further through the Kubernetes cluster.

It then uses the Tor proxy and a .onion domain to connect back to its command and control (C2) server to receive further commands. In the course of his research, Prizmant also gained access to this server, where he and the Unit 42 team found evidence of 23 active victims, and found that the server was hosting a total of 313 users, which may imply Siloscape sits as just one element of a much broader, long-running campaign of cyber attacks.

Prizmant first became wise to the techniques, tactics and procedures (TTPs) exploited by Siloscape last year, when he presented a technique for escaping from a Windows container node in Kubernetes in a research paper.

At first, he said, Microsoft said this issue was not a problem because Windows Server containers aren’t a security boundary – ergo each app run inside such a container should be treated as though being executed directly on the host.

But after taking the issue to Google, and following some back and forth between the two, Microsoft changed tack and said an escape from a Windows container to a Kubernetes cluster – when executed without admin rights inside the container – was indeed a vulnerability. From there, it was a short leap to the discovery of Siloscape, he said.

Prizmant reiterated that unlike most cloud malwares that confine themselves to activities such as resource hijacking or denial of service (DoS), Siloscape should be considered especially dangerous because it is not limited to specific goals and can be used for many other kinds of attack

“As discussed in my last article, users should follow Microsoft’s guidance recommending not to use Windows containers as a security feature. Microsoft recommends using strictly Hyper-V containers for anything that relies on containerisation as a security boundary,” he said.

“Any process running in Windows Server containers should be assumed to have the same privileges as admin on the host, which in this case is the Kubernetes node. If you are running applications in Windows Server containers that need to be secured, we recommend moving these applications to Hyper-V containers.

“Furthermore, administrators should make sure their Kubernetes cluster is securely configured. In particular, a secured Kubernetes cluster won’t be as vulnerable to this specific malware as the nodes’ privileges won’t suffice to create new deployments. In this case, Siloscape will exit,” he added.

More in-depth technical information, including indicators of compromise (IoCs), can be found on the Unit 42 blog.

Source is ComputerWeekly.com

Vorig artikelNCSC updates schools ransomware guidance amid surge
Volgend artikelIBM pushes back against US government data requests