Verify Receive Address


It is essential to be sure you control a bitcoin address before you receive funds on it, as this is a common attack that leads to losses. You can read more about this issue here.

When to Choose A Less Secure Approach

Having to travel to multiple geographies just to verify a single receive address (not even to spend bitcoin) can be undesirable for practical reasons.

One way around this is to (partially) trust the addresses your host computer displays. If your host computer says address X follows the rules of your quorum (m signatures required from these n seeds your hardware wallets control), and your Keystone (formerly Cobo Vault) agrees, you might decide it’s worth the risk to consider that receive address valid. If your host computer (which may be infected with malware) and your Keystone were compromised, this could results in immediate loss of funds sent to this address.

Factors that make it less risky to consider this approach:

  1. When the amount you’re receiving is low. (But remember, BTC price appreciation could increase the USD/EUR/GBP/etc. value of the bitcoin in this address, so consider this as well.)
  2. When the computer you’re using to verify this address is a dedicated machine. An eternally quarantined machine significantly reduces risk.
  3. When you previously saved (preferably printed) a file of addresses that you verified on a quorum of trusted devices, your selected address is included in that file, and you are confident that the file has not been altered/tampered with.
  4. When performing a 3-of-5 multisig transaction where you verified the address on 2 trusted devices in the quorum but not the full 3 required.
  5. When your hardware wallets you use to verify the address previously saved/registered the public keys info from the rest of your seeds, so that tampering with any seed would be caught by this wallet. TODO: add more on this.

You might consider it safe to send to an address that you’ve previously received funds on and been able to spend, but this has two serious issues:

  1. This is known as “address reuse”, and it’s bad for both privacy and security (in the event that serious quantum computers become available/viable). TODO: add link/explanation.
  2. The fact that you were previously able to spend does indicate you have control, but doesn’t guarantee it. In an extreme case, your host computer may be malware-infected yet still relaying/signing your small transactions in hopes of tricking you into making a large deposit (you can think of this as a long-con).

Offline Address Verification

Your Specter-Desktop software is connected to the internet, or at least connected to your Bitcoin Core node which is connected to the internet. We can improve this by using an offline/dedicated machine, where we install only the software absolutely required for our purposes.

While this will help protect you against malware on your computer, you are still at risk from an Evil maid attack with physical access to your computer (or paper printout). Such an “evil maid” could tamper with this software/printout to instead show bitcoin addresses that they control, and trick you into receiving a deposit on their address.

Option A: Offline/Dedicated Machine

You will set up the multisig in the software wallet of your choice by importing the extended public keys for all N seeds from your quorum.

It is recommended to use an eternally quarantined machine, meaning that it is never again connected to the internet and not used for any other purpose. That way, the attack surface is reduced and you are not at risk of malware on an ongoing basis.

Alternatively, you can use Tails, which you might already have used when setting up your Paper Wallet.

  1. Verify that all the Zpub/xpub keys match on both the Keystone and the Coldcard
Electrum
  1. In Specter, click on your Wallet Name -> Settings -> Export -> Export to Wallet software -> Download Electrum (watch-only) File
  2. Save this file to USB stick or SD card. Something that you can access from Tails.
  3. Reboot and run Tails
  4. Open Electrum, on the first window, click “Choose” and find the wallet file that you exported above in step 2
  5. The wallet should open. Go to the Addresses tab to verify the addresses match the addresses shown on the hardware wallets. If you cannot see the Addresses tab, use the menu item for View -> Show Addresses
Caravan
  1. Reboot and run Tails
  2. Turn on WiFi inside Tails, and visit: https://www.caravanmultisig.com
  3. Turn off WiFi
  4. Click “WALLET”
  5. On the right side of the page, set 2 of 3 quorum, and set P2WSH address type
  6. On the left side of the page, select the dropdown to “Enter as text”, and type in all 3 of your Zpub keys shown on either your Keystone or Coldcard
  7. Allow Caravan some time to generate the wallet, and then use the Addresses tab to verify the addresses match the addresses shown on the hardware wallets

Option B: Print the Addresses to Paper

One benefit of this is that you could get by without a dedicated machine, and the other is that paper is easier for most people to secure vs a computer.

This option becomes less feasible as the number of bitcoin addresses you need rises. Consider, for example, a bitcoin business that receives many payments each day; a paper-based solution will be very difficult to manage in that situation.

Steps:

  1. Follow the instructions in the previous step and setup a clean (freshly wiped) machine to verify receive addresses.
  2. Export a very large amount of receive addresses to a file. You never want to have to repeat this setup and paper is cheap, so consider a very large number (say 10,000 addresses).
  3. Print this file, and consider making multiple copies.

Now that you never need to check this computer again, you can go about using it for whatever you like and not have to worry about keeping it secure. Ideally, you would wipe the computer, but since it is only touching public key information the only risk is a privacy leak.


» Next Section: Backup Wallet