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,050 points
55 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
• 27,620 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,010 points
54 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 ariaholic
• 7,320 points
28 views
0 votes
1 answer

How to add Bitcoin as currency for my website?

You cannot use BTC as the currency ...READ MORE

answered Aug 17, 2018 in Blockchain by slayer
• 29,050 points
31 views
0 votes
1 answer

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

yes all are over TCP/IP connections secured by TLS encryption in hashgraph architecture-hashgraph, ...READ MORE

answered Aug 6, 2018 in Blockchain by ariaholic
• 7,320 points
56 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
105 views
0 votes
1 answer
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
• 27,620 points
34 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
• 27,620 points
80 views