April 7, 2020 By Shane Schick 2 min read

A misconfigured API port has led to a months-long campaign in which cybercriminals have been launching daily Kinsing malware attacks that number in the thousands, according to security researchers.

Directed at enterprises operating container environments, the cryptocurrency miner exploits the API port on a host running Ubuntu and then tries to infect an ever-larger number of hosts, a report from Aqua Security noted.

Hackers rigged the Ubuntu container to clear logs, eliminate other malicious software and disable security protections. Once those tasks have been completed, the Kinsing malware download begins in order to mine for cryptocurrency on the compromised container.

An Ambitious Attack Scheme

Researchers said the exploit attempts to continue infecting other parts of the container network by using SSH credentials it collects along the way.

This allows cybercriminals to test an extensive number of key combinations and user account possibilities, researchers added. If successful, a shell script then places the cryptocurrency miner on the infected host.

The investigation traced the origins of the campaign to Eastern Europe, where command-and-control (C&C) servers split the various functions required to manage the attacks. While miners can be designed for many different kinds of cryptocurrencies, the target, in this case, is bitcoin, researchers said.

Although the campaign was described in the report as ambitious, researchers suggested that the rise of cloud-native environments and the increased use of containers will make more cybercriminals follow similarly sophisticated approaches.

Don’t Let Kinsing Lead to Crypto-Mining

The obvious step for anyone vulnerable to an attack is to conduct a thorough review of their container environments. This should include looking for suspicious user activity in log files and checking for any areas where least privilege settings should be, but haven’t been, enforced.

Beyond that, organizations need to recognize where container security responsibilities lie. Some areas may be dealt with by providers but others — including vulnerability management and continuous event monitoring — should be directly under the IT security team’s control.

More from

SoaPy: Stealthy enumeration of Active Directory environments through ADWS

10 min read - Introduction Over time, both targeted and large-scale enumeration of Active Directory (AD) environments have become increasingly detected due to modern defensive solutions. During our internship at X-Force Red this past summer, we noticed FalconForce’s SOAPHound was becoming popular for enumerating Active Directory environments. This tool brought a new perspective to Active Directory enumeration by performing collection via Active Directory Web Services (ADWS) instead of directly through Lightweight Directory Access Protocol (LDAP) as other AD enumeration tools had in the past.…

Smoltalk: RCE in open source agents

26 min read - Big shoutout to Hugging Face and the smolagents team for their cooperation and quick turnaround for a fix! Introduction Recently, I have been working on a side project to automate some pentest reconnaissance with AI agents. Just after I started this project, Hugging Face announced the release of smolagents, a lightweight framework for building AI agents that implements the methodology described in the ReAct paper, emphasizing reasoning through iterative decision-making. Interestingly, smolagents enables agents to reason and act by generating…

4 ways to bring cybersecurity into your community

4 min read - It’s easy to focus on technology when talking about cybersecurity. However, the best prevention measures rely on the education of those who use technology. Organizations training their employees is the first step. But the industry needs to expand the concept of a culture of cybersecurity and take it from where it currently stands as an organizational responsibility to a global perspective.When every person who uses technology — for work, personal use and school — views cybersecurity as their responsibility, it…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today