BLOCKCHAIN / INTERMEDIATE / +200 XP

Key management is the whole game

A wallet without proper key management is just a text file with money attached.

Key management is the whole game. A wallet without proper key management is just a text file with money attached. The private key is the money. Lose the key, lose the money. Leak the key, someone else has the money. The wallet is a UI for the key — nothing more.

The hierarchy of key management is simple: generate securely, store offline, derive for use, rotate regularly. Every deviation from this hierarchy is a risk. Every convenience shortcut is a potential loss.

THE DEEP DIVE

Key Derivation

// HD wallet derivation path
// BIP-44: m/44'/coin'/account'/change/address
// Example Ethereum: m/44'/60'/0'/0/0

// Each level of the hierarchy is a different concern:
// Purpose (44') = BIP-44 standard
// Coin (60') = Ethereum
// Account (0') = which wallet
// Change (0) = receive (0) or change (1)
// Address (0) = which address in the account

// The master key derives ALL keys
// Compromise the master key = compromise everything

Storage Threat Model

The key storage threat model has three vectors: online (malware, phishing, remote access), physical (theft, coercion, inspection), and supply chain (hardware wallet tampering, firmware backdoors). Each vector requires a different mitigation.

PRINCIPLES

  1. The private key is the money. Protect the key, protect the money. Lose the key, lose the money.
  2. Never store private keys in plaintext. Encrypt at rest, encrypt in transit.
  3. Hardware wallets are not invulnerable. They are a defense against online attacks, not physical attacks.
  4. Seed phrases are private keys in a different form. Protect them with the same rigor.
  5. Key rotation is not optional. Compromised keys must be replaceable without losing access.

IN PRACTICE

Multi-Sig Wallet

A 2-of-3 multi-sig wallet with keys stored in three different physical locations. No single compromise can drain the wallet. No single loss can lock the user out. The tradeoff is convenience — every transaction requires two signatures.

Key Sharding

Split the seed phrase using Shamir's Secret Sharing into 3 shares, with 2 required for reconstruction. Store each share in a different geographic location. A single share reveals nothing about the seed phrase.

LIVE SIGNALS

These items surfaced from the intelligence pipeline at generation time.

  • CVE-1999-0095 — The debug command in Sendmail is enabled, allowing attackers to execute commands as root. (NVD / CVE)
  • CVE-1999-1471 — Buffer overflow in passwd in BSD based operating systems 4.3 and earlier allows local users to gain root privileges by specifying a long shell or GECOS field. (NVD / CVE)
  • CVE-1999-1122 — Vulnerability in restore in SunOS 4.0.3 and earlier allows local users to gain privileges. (NVD / CVE)
  • CVE-1999-1506 — Vulnerability in SMI Sendmail 4.0 and earlier, on SunOS up to 4.0.3, allows remote attackers to access user bin. (NVD / CVE)
  • CVE-1999-0084 — Certain NFS servers allow users to use mknod to gain privileges by creating a writable kmem device and setting the UID to 0. (NVD / CVE)

ANTIPATTERNS

  • Storing seed phrases in cloud storage. Cloud providers can access your data.
  • Using the same wallet for high-value and low-value holdings. Separate by purpose.
  • Sharing private keys with anyone. No one needs your private key for any legitimate purpose.
  • Ignoring key rotation. If you suspect compromise, rotate immediately.

CHECKLIST

  • Private keys are stored offline or in a hardware wallet
  • Seed phrases are backed up in multiple physical locations
  • Multi-sig is used for high-value holdings
  • Key rotation policy is defined and followed
  • Recovery procedure is tested regularly

YOUR MOVE

Check your wallet setup right now. Where is your seed phrase? If it is in a digital format (photo, text file, cloud), you are one breach away from losing everything. Move it offline.