Claude AI Recovers Lost Bitcoin Wallet: $400K Recovered After 11 Years

The Story That Went Viral

A Bitcoin trader just recovered $400,000 worth of BTC using Claude AI — after losing access to their wallet 11 years ago. The story hit the front page of Hacker News at 96 points and was covered by Tom's Hardware, sparking massive discussion about AI's real-world utility beyond coding and chatbots.

The user, who admitted to being "stoned" when they set up the wallet, lost the password and had been unable to access roughly 10 BTC stored in an old wallet backup. Over the years, they tried various recovery methods without success — until they handed the problem to Claude AI.

How Claude Did It

According to the report, Claude AI wrote and iterated on a password brute-force script that systematically tried password variations against the encrypted wallet file. The AI:

  • Analyzed the wallet format — Claude identified the encryption scheme used by the old Bitcoin Core wallet (BIP38 / encrypted private key format)
  • Generated password candidates — Based on the user's vague memory of possible passwords and common variations, Claude created a targeted dictionary attack strategy
  • Built a brute-force script — Claude wrote Python code that tested password candidates against the wallet's encrypted private keys
  • Iterated and optimized — Over multiple rounds, Claude refined the approach, adding permutations, common substitutions (1→i, 0→o, etc.), and date-based variations
  • Succeeded after 3.5 trillion attempts — The script eventually found the correct password and decrypted the wallet

Total passwords tried: approximately 3.5 trillion. The recovery took an unspecified amount of time, but given the rate of password testing, it likely ran for days or weeks.

Why This Matters

This isn't just a feel-good crypto story. It demonstrates several important capabilities of modern AI:

1. AI as a Persistent Automation Tool

What made this work wasn't Claude's intelligence in a single shot — it was Claude's ability to write, test, debug, and refine a program over many iterations. The AI kept going when a human would have given up, adjusting the strategy based on intermediate results.

2. Domain Adaptation Without Training

Claude didn't need specific training on Bitcoin wallet recovery. It understood the problem from first principles, read the wallet file format documentation, and wrote appropriate code. This is the "general intelligence" promise of LLMs in action.

3. Practical ROI for AI Subscriptions

Multiple HN commenters shared similar stories. One user saved $8K on tax credits and $250/month on AWS costs using Claude. Another recovered corrupted photos from a bad SD card. The recurring theme: AI subscriptions are paying for themselves in real, measurable ways.

Technical Deep Dive

If you have a similar problem, here's the general approach Claude likely used:

# Conceptual approach (not the actual script)
# 1. Read the wallet.dat or backup file
# 2. Detect encryption type (BIP38, AES-256-CBC)
# 3. Build a password candidate generator:
#    - Known hints from user memory
#    - Dictionary words + number substitutions
#    - Date patterns (birthdays, anniversaries)
#    - Common password mutations
# 4. Test each candidate against decryption
# 5. On success, extract and display private key
# 6. Import private key into modern wallet

Key considerations if you try this:

  • Use old, offline hardware — the script may be slow and you don't want network exposure of decrypted keys
  • Work on a COPY of your wallet file, never the original
  • Be honest with Claude about what you remember — vague memories can become targeted password guesses
  • Consider GPU-accelerated password testing for faster iteration

The Broader Discussion on HN

The HN thread revealed an interesting pattern: many developers have discovered Claude's utility for unconventional programming tasks. From reverse-engineering file formats to recovering corrupted data to navigating IRS tax code, Claude is being used for "long tail" programming problems that traditional tools can't solve.

One commenter noted: "I joke that even with a Claude max plan, I've still come out ahead financially." Another used Claude to break into routers with locked-down firmware. A third resurrected an ancient Windows desktop application with Claude's help navigating undocumented code.

Lessons for Crypto Holders

If you're holding crypto (especially cold storage wallets):

  • Document your passwords — Even vague notes can help AI reconstruct them later
  • Keep old wallet backups — Deleting "failed" backups might destroy your only recovery path
  • Consider multi-sig — Spread the risk across multiple keys and locations
  • AI recovery is a real option now — Don't give up on old wallets, try Claude or similar tools

Conclusion

The Claude Bitcoin wallet recovery is a perfect example of AI's practical value extending far beyond its typical use cases. It's not about replacing developers — it's about giving everyone a persistent, patient, creative problem solver that works 24/7.

Whether you're recovering crypto, fixing old code, or navigating bureaucracy, having an AI that can write, debug, and iterate autonomously is a genuinely new capability. The 3.5 trillion password attempts are a testament to persistence over intelligence — but it was intelligence that directed the persistence.

← Back to Blog