+34 641 10 27 16

Firmware security: passwords, SSH and API keys

Firmware documentation

Security: password, SSH and access keys

An ASIC on a shared network is a computer with money inside. Three settings in this section close off almost every real way hashrate gets stolen.

Web interface password

By default on AsicBoost firmware it is admin. On Bitmain stock firmware the password is a different one, root. These are two separate firmwares, not two variants of one password, and the confusion costs people hours of diagnostics.

You have to change the password if the ASIC sits on a shared network, if it came back from hosting, or if installers had access to it. Everyone knows the default password, including the authors of malware that scans networks looking for miners.

Security section of the firmware with the password change fields
Password change, SSH control and the list of API keys in one section

SSH control

Three options: change the standard passwords, change the port, turn SSH off completely. If you do not use the console, turn it off. That closes the most popular password guessing route in one move.

API keys

Keys give external systems access to the ASIC without a browser: monitoring, farm managers, proxies, pools. There are two types of key.

KeyAccess levelWhat it is for
Node keyThe whole deviceCentral monitoring, work through proxies and control panels
Miner keyThe mining processStart and stop, mode changes, reading hashrate and board status

The add button creates a new key, and each one has a delete icon beside it. The practice is simple: a separate key for every system, not one universal key for everything. You connect a service for a while, then delete the key.

What someone else's key can do A person holding your API key does not need web access. They can stop mining, change pools, take the hashrate for themselves and reboot the ASIC in circles. So spare and test keys get deleted, and the API is not exposed to the internet without a hard reason.

Short checklist

  1. Changed the web interface password right after the install.
  2. Turned SSH off, or at the very least changed the port and the password.
  3. Went through the API key list and deleted the ones you do not remember.
  4. Made sure the ASIC does not face outward directly: access over VPN or the local network.
  5. Checked the built-in antivirus, especially on used hardware. More in the section on built-in protection.

Quick answers

I forgot the web interface password.
Recovery is only possible by reinstalling the firmware or resetting the control board. The password is stored on the device.
Can I leave SSH enabled?
You can, if you need it. Then change the port and the password without fail, standard values get guessed automatically.
An API key leaked, what now?
Delete the key in the interface, create a new one and update it in your monitoring system. The old key stops working at once.
Written by , ASIC repair and tuning engineer at asic.es.