Bruteforcing OpenSSL to decrypt bitcoin backup

0 votes
I forgot the password to my bitcoin backup and I am trying to brute-force decrypt it. I have been given this information; "The manual backup files are encrypted using your chosen backup password. You can use OpenSSL to decrypt:

openssl enc -d -aes-256-cbc -a -in <filename>"

But I don’t understand how to do it. Can someone tell me?
Aug 24, 2018 in Blockchain by slayer
• 29,370 points
1,463 views

1 answer to this question.

0 votes

You need to add -passin pass:XXX options, where XXX is the password you want to try.

There's more options for -passin, see PASS PHRASE ARGUMENTS for openssl(1) command.

You will also need to understand the -k and -K options to openssl enc.

To brute-force decrypt a file using OpenSSL run something like:


# Build your list of candidates

PASSWORDS=...


for PASSWORD in $PASSWORDS; do


  openssl enc -d -aes-256-cbc -a -in <filename> -passin pass:$PASSWORD

  RET=$?


  if [ $RET -eq 0 ]; then

    echo "Candidate password: $PASSWORD"

  fi


done
answered Aug 24, 2018 by digger
• 26,740 points

Related Questions In Blockchain

+1 vote
1 answer
0 votes
1 answer

How to check Bitcoin Wallet ?

This can be done using Extended Public ...READ MORE

answered Jul 13, 2018 in Blockchain by Perry
• 17,100 points
1,374 views
0 votes
1 answer

Is it possible to claim Bitcoin Cash from an exchange that does not support it?

You can't claim BCH without knowing private ...READ MORE

answered Jul 17, 2018 in Blockchain by aryya
• 7,460 points
740 views
+1 vote
1 answer

Protocols used in a distributed/dlt system for the nodes to establish communication

yes all are over TCP/IP connections secured ...READ MORE

answered Aug 6, 2018 in Blockchain by aryya
• 7,460 points
1,428 views
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,790 points
1,923 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,451 views
0 votes
1 answer

How i can use nodejs to watch transactions in bitcoin network?

you can use  const Socket = require('blockchain.info/Socket'); const mySocket ...READ MORE

answered Jul 9, 2018 in Blockchain by digger
• 26,740 points
1,282 views
0 votes
1 answer

How to extract h160 address of bitcoin blockchain?

You can extract the data using the ...READ MORE

answered Jul 16, 2018 in Blockchain by digger
• 26,740 points
2,556 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP