netns
- Type
- Backdoor
- Capabilities
- PersistencePost exploitation
- Platforms
- Linux
netns is a Linux backdoor deployed by the financially motivated activity cluster REF3364 alongside the SANSAR cryptomining toolkit. It runs as a systemd service, providing persistent remote access independently of SANSAR's Tor-based command-and-control channel.
The backdoor uses an Ethereum smart contract as a dead-drop resolver. It queries public Ethereum RPC services over HTTPS to retrieve a controller IPv4 address, then establishes a plain TCP connection to that controller on port 8080. On command, it launches a Bash reverse shell to an operator-specified host and port. Its command channel lacks application-layer authentication and integrity protection.
netns was deployed in an operation that compromised Linux GPU servers through an internet-exposed Ray job agent accepting unauthenticated job submissions. The attackers installed the toolkit after obtaining root privileges. The operation targeted GPU computing infrastructure for cryptocurrency mining; netns supplied an additional remote-access channel rather than performing the mining itself.
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Ethereum-contract dead drop resolves the netns backdoor controller
Techniques & procedures
8 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
2 techniques
Execution
Execution T1059 Command and Scripting Interpreter T1059.006 Python T1059.004 Unix Shell
connects to it on port 8080, and on command forks Bash out to any host and port the operator names, with no authentication on that channel.
Persistence
2 techniques
Persistence
installed a second backdoor called netns as a systemd service.
installed a second backdoor called netns as a systemd service.
Privilege Escalation
2 techniques
Privilege Escalation
installed a second backdoor called netns as a systemd service.
installed a second backdoor called netns as a systemd service.
Command and Control
4 techniques
Command and Control
Il se connecte ensuite en TCP sur le port 8080 et exécute des commandes SHELL <host> <port>
The netns backdoor works separately: it asks a hardcoded Ethereum smart contract for an IP address
Ethereum-contract dead drop resolves the netns backdoor controller
The toolkit ended up on three Linux GPU hosts, with the GPU miner arriving later on two of them.
Observables
3 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.