Bitcoin wallet dat bruteforce

Bitcoin wallet dat bruteforce

btcrecover

btcrecover is an open source Bitcoin wallet password and seed recovery tool. It is designed for the case where you already know most of your password or seed, but need assistance in trying different possible combinations.

To try recovering your password, please start with the Password Recovery Quick Start.

If you mostly know your recovery seed/mnemonic (12-24 recovery words), but think there may be a mistake in it, please see the Seed Recovery Quick Start.

If you find btcrecover helpful, please consider a small donation: 3Au8ZodNHPei7MQiSVAWb7NB2yqsb48GW4

Thank You!

  • Bitcoin wallet password recovery support for:
    • Armory
    • Bitcoin Unlimited/Classic/XT/Core
    • MultiBit HD and MultiBit Classic
    • Electrum (1.x and 2.x)
    • Most wallets based on bitcoinj, including Hive for OS X
    • BIP-39 passphrases, Bitcoin & Ethereum supported (e.g. TREZOR & Ledger passphrases)
    • mSIGNA (CoinVault)
    • Blockchain.info
    • pywallet —dumpwallet of Bitcoin Unlimited/Classic/XT/Core wallets
    • Bitcoin Wallet for Android/BlackBerry spending PINs and encrypted backups
    • KnC Wallet for Android encrypted backups
    • Bither
  • Altcoin password support for most wallets derived from one of those above, including:
    • Litecoin Core
    • Electrum-LTC
    • Litecoin Wallet for Android encrypted backups
    • Dogecoin Core
    • MultiDoge
    • Dogecoin Wallet for Android encrypted backups
  • Bitcoin & Ethereum seed recovery support for:
    • Electrum (1.x and 2.x, plus wallet file loading support)
    • BIP-32/39 compliant wallets (bitcoinj), including:
      • MultiBit HD
      • Bitcoin Wallet for Android/BlackBerry (with seeds previously extracted by decrypt_bitcoinj_seeds)
      • Hive for Android, for iOS, and Hive Web
      • breadwallet for iOS
    • BIP-32/39/44 Bitcoin & Ethereum compliant wallets, including:
      • Mycelium for Android
      • TREZOR
      • Ledger
      • Jaxx
      • MyEtherWallet
      • Bither
      • Blockchain.info
  • Free and Open Source — anyone can download, inspect, use, and redistribute this software
  • Supported on Windows, Linux, and OS X
  • Support for Unicode passwords and seeds
  • Multithreaded searches, with user-selectable thread count
  • Experimental GPU acceleration for Bitcoin Unlimited/Classic/XT/Core, Armory, and derived altcoin wallets
  • Wildcard expansion for passwords
  • Typo simulation for passwords and seeds
  • Progress bar and ETA display (at the command line)
  • Optional autosave — interrupt and continue password recoveries without losing progress
  • Automated seed recovery with a simple graphical user interface
  • “Offline” mode for nearly all supported wallets — use one of the extract scripts (click for more information) to extract just enough information to attempt password recovery, without giving btcrecover or whoever runs it access to any of the addresses or private keys in your Bitcoin wallet.
  • “Nearly offline” mode for Armory — use an extract script (click for more information) to extract a single private key for attempting password recovery. btcrecover and whoever runs it will only have access to this one address/private key from your Bitcoin wallet (read the link above for an important caveat).

About

An open source Bitcoin wallet password and seed recovery tool designed for the case where you already know most of your password/seed, but need assistance in trying different possible combinations.

Источник

Bitcoin wallet dat bruteforce

The purpose of this program is to try to find the password of an encrypted Peercoin (or Bitcoin, Litecoin, etc. ) wallet file (i.e. wallet.dat).

It can be used in two ways:

  • try all the possible passwords given a charset
  • try all the passwords in a file
Читайте также:  Metatrader 5 торговля криптовалютой

There is a command line option to specify the number of threads to use.

Sending a USR1 signal to a running bruteforce-wallet process makes it print progress and continue.

The program tries to decrypt one of the encrypted addresses in the wallet by trying all the possible passwords. It is especially useful if you know something about the password (i.e. you forgot a part of your password but still remember most of it). Finding the password of a wallet without knowing anything about it would take way too much time (unless the password is really short and/or weak).

There are command line options to specify:

  • the minimum password length to try
  • the maximum password length to try
  • the beginning of the password
  • the end of the password
  • the character set to use (among the characters of the current locale)

The program tries to decrypt one of the encrypted addresses in the wallet by trying all the passwords contained in a file. The file must have one password per line.

The program requires the OpenSSL and BerkeleyDB libraries. Installation on Debian & Ubuntu:

If you are building from the raw sources, you must first generate the configuration script:

Then, build the program with the commands:

To install it on your system, use the command:

The program currently only works on unix-like POSIX systems (e.g. GNU/Linux).

Different versions of BerkeleyDB are usually not compatible with each other. Therefore, for the program to work, you will have to check that the BerkeleyDB version you are using can read the databases created by the BerkeleyDB version your wallet was created with.

Try to find the password of an encrypted wallet file using 4 threads, trying only passwords with 5 characters:

Try to find the password of an encrypted wallet file using 8 threads, trying only passwords with 5 to 10 characters beginning with «W4l» and ending with «z»:

Try to find the password of an encrypted wallet file using 8 threads, trying only passwords with 10 characters using the character set «P情8ŭ»:

Try to find the password of an encrypted wallet file using 6 threads, trying the passwords contained in a dictionary file:

Print progress info:

Print progress info every 30 seconds:

Save/restore state between sessions:

About

Try to find the password of an encrypted Peercoin (or Bitcoin, Litecoin, etc. ) wallet file.

Источник

Восстанавливаем секретные ключи Bitcoin после удаления wallet.dat

Xakep #264. NFT

Разработчик Дин Пирс (Dean Pierce) выложил в открытый доступ скрипт keyhunter.py, который автоматически ищет на диске секретные ключи Bitcoin и конвертирует их в формат base58. Многие люди просто выкидывают старые HDD на свалку, потому что файлы кошельков нельзя восстановить. Но ведь нам не нужны целые файлы, а только секретные ключи. Если запускать скрипт на всех старых HDD, которые случайно попадают в руки, то рано или поздно обязательно что-нибудь отыщется.

Дин Пирс говорит, что написал программу после того, как к нему обратился друг, который в 2011 году переустановил Windows. Спустя некоторое время использования диска парень осознал ошибку. Но он был в курсе, что есть вероятность восстановления информации, поэтому немедленно отключил HDD. Использование профессиональных средств по восстановлению файлов не принесло результата. Пришлось искать специфическую последовательность байтов wallet.dat на жестком диске. Это делается, например, с помощью программы MagicRescue. Нужна последовательность, которая предшествуют секретному ключу: она общая у всех файлов wallet.dat. Имея ключ и адрес кошелька, можно восстановить деньги.

Читайте также:  Амортизация начисляется от всей суммы инвестиций

Скрипт Keyhunter имеет смысл запускать только для старых незашифрованных файлов wallet.dat. такие использовались до 2012 года. Впрочем, именно такие файлы нам и нужны, потому что с тех пор цена биткоинов выросла в 100000 раз. В те годы люди обменивались десятками и сотнями биткоинов, которые почти ничего не стоили, так что любой найденный кошелек будет на вес золота.

Подобрать же пароль к зашифрованному файлу кошельков последних лет практически невозможно, потому что эффективных методов брутфорса не существует. Впрочем, все равно лучше сохранить зашифрованный кошелек на будущее, в надежде на закон Мура.

Источник

Bitcoin wallet dat bruteforce

btcrecover

btcrecover is an open source Bitcoin wallet password and seed recovery tool. It is designed for the case where you already know most of your password or seed, but need assistance in trying different possible combinations.

To try recovering your password, please start with the Password Recovery Quick Start.

If you mostly know your recovery seed/mnemonic (12-24 recovery words), but think there may be a mistake in it, please see the Seed Recovery Quick Start.

If you find btcrecover helpful, please consider a small donation: 3Au8ZodNHPei7MQiSVAWb7NB2yqsb48GW4

Thank You!

  • Bitcoin wallet password recovery support for:
    • Armory
    • Bitcoin Unlimited/Classic/XT/Core
    • MultiBit HD and MultiBit Classic
    • Electrum (1.x and 2.x)
    • Most wallets based on bitcoinj, including Hive for OS X
    • BIP-39 passphrases, Bitcoin & Ethereum supported (e.g. TREZOR & Ledger passphrases)
    • mSIGNA (CoinVault)
    • Blockchain.info
    • pywallet —dumpwallet of Bitcoin Unlimited/Classic/XT/Core wallets
    • Bitcoin Wallet for Android/BlackBerry spending PINs and encrypted backups
    • KnC Wallet for Android encrypted backups
    • Bither
  • Altcoin password support for most wallets derived from one of those above, including:
    • Litecoin Core
    • Electrum-LTC
    • Litecoin Wallet for Android encrypted backups
    • Dogecoin Core
    • MultiDoge
    • Dogecoin Wallet for Android encrypted backups
  • Bitcoin & Ethereum seed recovery support for:
    • Electrum (1.x and 2.x, plus wallet file loading support)
    • BIP-32/39 compliant wallets (bitcoinj), including:
      • MultiBit HD
      • Bitcoin Wallet for Android/BlackBerry (with seeds previously extracted by decrypt_bitcoinj_seeds)
      • Hive for Android, for iOS, and Hive Web
      • breadwallet for iOS
    • BIP-32/39/44 Bitcoin & Ethereum compliant wallets, including:
      • Mycelium for Android
      • TREZOR
      • Ledger
      • Jaxx
      • MyEtherWallet
      • Bither
      • Blockchain.info
  • Free and Open Source — anyone can download, inspect, use, and redistribute this software
  • Supported on Windows, Linux, and OS X
  • Support for Unicode passwords and seeds
  • Multithreaded searches, with user-selectable thread count
  • Experimental GPU acceleration for Bitcoin Unlimited/Classic/XT/Core, Armory, and derived altcoin wallets
  • Wildcard expansion for passwords
  • Typo simulation for passwords and seeds
  • Progress bar and ETA display (at the command line)
  • Optional autosave — interrupt and continue password recoveries without losing progress
  • Automated seed recovery with a simple graphical user interface
  • “Offline” mode for nearly all supported wallets — use one of the extract scripts (click for more information) to extract just enough information to attempt password recovery, without giving btcrecover or whoever runs it access to any of the addresses or private keys in your Bitcoin wallet.
  • “Nearly offline” mode for Armory — use an extract script (click for more information) to extract a single private key for attempting password recovery. btcrecover and whoever runs it will only have access to this one address/private key from your Bitcoin wallet (read the link above for an important caveat).

About

An open source Bitcoin wallet password and seed recovery tool designed for the case where you already know most of your password/seed, but need assistance in trying different possible combinations.

Читайте также:  Расчет рентабельности инвестиций предприятия

Источник

Bitcoin wallet dat bruteforce

Bitcoin addresses bruteforce tool via GPU OpenCL

На написание данной программы автора вдохновил проект «Large Bitcoin Collider» https://lbc.cryptoguru.org целью которого позиционируется поиск коллизий хеша ripemd160 (hash 160), являющегося основой для вычисления адреса bitcoin кошелька. Т.е. предполагается, что существует по крайней мере 2^96 различных закрытых ключей, которые будут иметь одинаковый ripemd160 хеш и, соответственно, один bitcoin адрес.

Как это работает

Данное программноге обеспечение разработано как инструмент изучения аспектов безопасности применения эллиптических кривых на практике. Программа выполняет перебор закрытых ключей, вычисляет открытый ключ и на его основе хеш ripemd160, ищет вычисленный хеш в списке хешей существующих bitcoin адресов. Если будет найдено совпадение хешей, это означает что найден закрытый ключ к одному из указанных bitcoin адресов.

Для начала потребуется создать файл со списком хешей ripemd160 интересуемых bitcoin адресов в бинарном формате. Т.е. это файл, в котором подряд друг за другом записаны хеши интересуемых адресов в бинарном формате (20 байт на хеш). К данному проекту прилагается файл с хешами bitcoin адресов (файл bitcoin.bin).

Далее, следует запустить программу с указанием созданного файла хешей в качестве параметра (о параметрах запуска смотрите соответствующий раздел).

Если начальный закрытый ключ не задан, то он генерируется случайным образом. Из закрытого ключа вычисляется открытый ключ, а из него в свою очередь вычисляется хеш ripemd160 (более детально о вычислении bitcoin адреса из закрытого ключа можно почитать тут: https://en.bitcoin.it/wiki/Technical_background_of_version_1_Bitcoin_addresses), полученный хеш ищется в списке интересуемых хешей (если совпадение найдено, значит закрытый ключ найден, информация о находке будет выведена на экран и записана в файл found.txt в пвпку с программой), далее закрытый ключ инкрементируется на единицу и процесс повторяется.

Проведем синтетический тест, который более наглядно покажет работу программы.

Предположим, нас интересует несколько кошельков:

Private key: 6AA3789CFE067047480EED275D4A017B812D19AE6A4B82105E0B7DCEAF64A1B5

Public key: 0446C360263B1794E429E7D672A878B5083C37D6BA177BFB68405EED3DB01804A210BDFD925C8E2CD16C054C3919C6F0889376E96EDC6B2BAF5D06D8F139601268

Private key: 4C9FC687F5604F80F224BAC08999006E6967D5071331C121F503D8352556D61C

Public key: 045C6D700D71FD80E75AA4965DFB3B3398062B03DA419379F95F5C9DBF5E9AD8C2BD9FE30F4C46B24ADAB8CBEB2F4AC51002971EB45E7086822E14BC362BAAAACC

Сохраним хеши RIPEMD-160 в бинарном формате в файле «test1.bin»

Программу запускаем со следующими параметрами: ./oclexplorer -b ./test1.bin -k 6AA3789CFE067047480EED275D4A017B812D19AE6A4B82105E0B7DCEAF000000 -u

Через некоторое время работы программы, будет найдено совпадение вычисляемого хеша с одним из хешей, сохраненных в файле «test1.bin»

Результат поиска будет выведен на экран и сохранен в файл «found.txt»

TIME: 2018-01-25 16:03:42

TIME: Дата и время нахождения

PRIV: Найденный приватный ключ

PUBL: Публичный ключ

HASH: Хеш bitcoin адреса в формате RIPEMD-160

ADDR: Bitcoin адрес

SALT: Приватный ключ, от которого начались вычисления

OFST: Дельта между найденным и начальным приватными ключами

GPUH: Хеш bitcoin адреса RIPEMD-160, вычисленный на GPU, всегда должен быть равен HASH

Установка и настройка

Работоспособность тестировалась на ОС Gentoo, Linux Mint, Debian. Тестирование проводилось на видеокартах: Nvidia GTX 230, Nvidia GT 730, Nvidia GTX 1060, Nvidia GTX 1080 ti, Radeon RX 570. Для работы требуются установленные библиотеки OpenCL и OpenSSL с включенной поддержкой эллиптических кривых.

Отказ от ответственности

Автор не несет ответственность за последствия, вызванные использованием Вами данного программного обеспечения. Помните, что нахождение закрытого ключа bitcoin кошелька и присвоение находящихся на нем средств в зависимости от вашей юрисдикции может считаться кражей и поэтому является незаконным.

Если Вас заинтересовал данный софт, но Вам нужно его модифицировать или написать аналогичный, автор всегда открыт к сотрудничеству, почта для связи: svtrostov@yandex.ru

Если данное программное обеспечение помогло Вам, буду рад вашей благодарности:

Источник

Оцените статью