Contact Sales

Secure Your Pool Connection

Vulnerabilities in unencrypted Stratum V1 are being exploited on various pools and firmware. An attacker reroutes internet traffic between miners and their pool, poses as the pool, and takes the hashrate. The miners keep hashing as normal, so the loss shows only on the pool dashboard.

Every pool URL that starts with stratum+tcp:// is exposed, backups included. The pool and the miners do not have to be compromised for this to work. For the full report, see Security Alert: Bitcoin Hashrate Hijacking Detected on Stratum V1 on the Braiins blog.

Use the chart to find your letter, then open that section below.

Flow chart: which secure connection your miners need, with outcomes A to E

  • Delete every stratum+tcp:// pool URL that goes to a pool, backups included. If the secure connection is reset, the miner switches to its backup, and a plain backup can be taken over.
  • TLS protects you only if the firmware checks the pool's certificate. Braiins OS 26.11 does. Some other firmware connects to TLS pools without checking, and then the connection is not secure. Test your firmware in Connection Security before you rely on TLS.

Set Up Your Miners

To set Stratum V2 or TLS pool URLs, use the latest version of Braiins Toolbox. Older versions do not support it. In Toolbox, select the miners in the Device List and change their pools with a batch action, or use miner set-pool-urls on the command line.

A. Braiins OS on Braiins Pool: use Stratum V2
  1. In Workers, use the Firmware quick filter to find the Braiins OS miners that mine on Braiins Pool.
  2. In the latest Braiins Toolbox, select these miners and set their pools to:
FieldValue
Main poolstratum2+tcp://stratum.braiins.com:3333/9awtMD5KQgvRUh2yFbjVeT7b6hjipWcAsQHd6wEhgtDT9soosna
Backupstratum2+tcp://stratum.braiins.com:3336/9awtMD5KQgvRUh2yFbjVeT7b6hjipWcAsQHd6wEhgtDT9soosna
Backupstratum2+tcp://stratum.braiins.com:443/9awtMD5KQgvRUh2yFbjVeT7b6hjipWcAsQHd6wEhgtDT9soosna
UseruserName.workerName
Passwordanything (or empty)
  1. Check that no pool entry starts with stratum+tcp://.

Enter the full Stratum V2 URLs. Their last part is the key the miner uses to verify Braiins Pool. All three entries use Stratum V2, so the miners never fall back to an unprotected connection. See Stratum V2 in Connection Security.

B. Braiins OS on another pool: use TLS
  1. In Workers, select the Braiins OS miners.
  2. Open Actions > Upgrade Braiins OS to get version 26.11. TLS needs it.
  3. Ask your pool for its TLS URLs. They start with stratum+ssl:// or stratum+tls://.
  4. In the latest Braiins Toolbox, select these miners and set the TLS URLs for the main pool and every backup. Check that no entry starts with stratum+tcp://.

If the pool uses a self-signed certificate, Braiins OS may refuse the connection.

C. Other firmware: install Braiins OS

Braiins Manager can install Braiins OS on Antminer models that do not run it yet, except the D and L series. For other ways to install it, see Install Braiins OS.

  1. In Workers, use the Firmware and Device Model quick filters, and select the miners.
  2. Open Actions > Install Braiins OS.
  3. When the install is done, continue with A or B.

To go back to the manufacturer's firmware later, use Actions > Restore Stock Firmware.

D. Other firmware on Braiins Pool: use Braiins SV2 Proxy

Braiins SV2 Proxy is a free program that runs on a computer in your network, on Linux or on Windows through WSL2. Your miners connect to it over the local network, and it connects to Braiins Pool over Stratum V2. The firmware stays as it is.

  1. Install Braiins SV2 Proxy. See Braiins SV2 Proxy. Start with a few miners.
  2. In Workers, select the miners and open Actions > Configure Pools.
  3. Set the main pool to the address the proxy shows after the install, for example stratum+tcp://192.168.1.50:3333.
  4. For a backup, use a second Braiins SV2 Proxy. See Connect your miners. Delete every other pool entry.

Braiins SV2 Proxy is a first release, and it has not been tested with hardware that does not run Braiins OS. You run it at your own responsibility.

E. Other firmware on another pool: test, then use TLS
  1. Check that your firmware checks the pool's certificate. Follow Check whether your miner validates the certificate in Connection Security.
  2. If it passes, set your pool's TLS URLs for the main pool and every backup. Use the latest Braiins Toolbox, or the miner's own web interface if Toolbox does not support the model. Check that no entry starts with stratum+tcp://.

If the test fails, TLS does not protect these miners. Install Braiins OS (C), or move them to Braiins Pool and use Braiins SV2 Proxy (D).

Check Your Miners

Four pool connections compared: plain Stratum V1 (stratum+tcp://) is not secure, Stratum V1 over TLS (stratum+ssl://) is secure only if the firmware checks the certificate, Stratum V2 (stratum2+tcp://) and Braiins SV2 Proxy are secure

  • In Workers, open Filter Builder and add a Pool URL condition for stratum+tcp://. Only miners behind Braiins SV2 Proxy should remain. The filter checks the active pool; hover Pool Username to see the backups.
  • Commands can take up to 5 minutes to reach the miners.
  • A miner on a secure connection may still be disconnected now and then. It reconnects and does not work for anyone but the pool.

Signs that a connection was taken over: the connection is reset, the pool difficulty jumps to hundreds of millions (Braiins Pool never sets more than 16,777,216), and accepted shares stop while the miner keeps hashing. See Symptoms in Connection Security.


Was this helpful?