Last Updated: 2018-12-07 17:00:48 UTC
by Remco Verhoef (Version: 1)
Last few days we're seeing increased attacks from 126.96.36.199, which is trying to exploit open Docker instances (port 2375). The container (being named java123) is based on image ahtihhebs/picture124, and executed with payload:
This docker hub account shows multiple images, of which a few (according to the numbers at Docker Hub) are pulled +100K times. As you can see also the picture124 image has more than 100K+ pulls.
I'm using Dive to explore the malicious Docker image. This tool will show details for each individual Docker layers, like the digest, command and the actual files changed.
Based on the Alpine image, it will add a user first:
And install git and build tools, git clone xmrig and build it from source.
Next it will execute with the following variables:
4AB31XZu3bKeUWtwGQ43ZadTKCfCzq3wra6yNbKdsucpRfgofJP3YwqDiTutrufk8D17D7xw1zPGyMspv8Lqwwg36V5chYg is a Monero address, which relates to the Sustes Malware as can be found here. It will connect to mining pools
188.8.131.52, 184.108.40.206 and 220.127.116.11. Donate level 1 means it will donate all cpu power.