Botnet Deploys Cloud and Container Attack Techniques
We recently identified a campaign that deploys cloud and container specific attack tools. It is the latest iteration of malware we reported on back in August 2020.
Earlier in 2021 we saw reports by AT&T and Trend Micro on a related campaign from attackers called TeamTNT. More recently, we’ve seen independent researchers (1, 2) and TenCent review more activity. Whilst we classify this as a botnet due to the centralised command and control, we note that TeamTNT themselves prefer the term “spreading script”. Below we’ve provided a quick outline of the significant updates that TeamTNT made to their crypto-mining campaign last week.
The first obvious update is the logo deployed - “TeamTNT feat Borg - The Docker Gatling Gun”:
As before, the core of the botnet scans and compromises open Kubernetes systems. But there have been a number of updates. The AWS credential theft is significantly more sophisticated than the one we found back in August 2020, and shows improvements from the later version reported on by Trend Micro. The botnet can now steal details from AWS IAM roles, and from both credential files and the AWS metadata URL:
The scripts posts the stolen credentials to one of two URLs:
Much of the exploitation chain and toolset remains the same as previous versions. There are a number of scanners, IRC backdoors and reverse shells to maintain access.
There are some new cloud and container specific tricks though. TeamTNT now deploy -
The parameters that BOTB is called with show the attackers now also try to steal credentials from Google Cloud Platform systems:
-scrape-gcp=true -recon=true -metadata=true -find-http=true -find-sockets=true -find-docker=true -pwnKeyctl=true -k8secrets=true
BOTM is installed from https://teamtnt[.]red/set/up/bob.php
Conclusion
TeamTNT have significantly improved both the quality and scope of their attacks since our first report back in August 2020. They’ve displayed a high pace of improvement, and an array of cloud and container specific attacks.
Cado Security continues to see a rise in attackers developing tools and techniques specifically targeting cloud and container environments. It is important organisations remain vigilant and continue to adapt to these new threats.
Cado Security specialises in providing tooling and techniques that allow organisations to threat hunt and investigate cloud and container systems. If you are interested in knowing more, please don’t hesitate to reach out, our pilot program is now open.
Further Reading
Indicators of Compromise
teamtnt[.]red
borg[.]wtf
45.9.150[.]36