albertobsd / crackBTCwallet

Crack encrypted master Key (AES 256 CBC with Padding)
MIT License
70 stars 51 forks source link

mkey or ckey per wallet? #14

Closed Mtt8 closed 2 years ago

Mtt8 commented 2 years ago

1) do I need ckey only without mkey? it means that I can only enter ckey, and mkey is not needed? 2) if I want to decrypt several bitcoin addresses from different wallets, it is enough to just enter one ckey without ANY mkey? please give an example. 3) how much will the detectability of one wallet increase if I give several or several dozen ckeys per address from JUST ONE wallet? does it decrease speed of searching every blocks maybe per address????? 4) how much more does one mkey give with one ckey? instead of just a single ckey? thanks for the information.

5), how long it take to decrypt on normal 4 thread core processor mobile? some months, year? can you implement work on gpu? with OPENCL???

albertobsd commented 2 years ago

Please note that the description of the repository say:

crackBTCwallet

Crack encrypted master Key and ckey of a bitcoin wallet. Just a PROOF OF CONCEPT

PROOF OF CONCEPT mean that there is no enough computer power in the planet to crack AES, just use this if you believe to be a luckiest person in the universe.

Replies:

1.- Only a ckey per wallet is OK. anyway you still can add a mkey per wallet but in case to found the key of a mkey you still need the IV this is a 16 bytes (128 bits) Initial Vector.

2.- Again only one ckey per wallet file, all the ckeys from a wallet file are encrypted using the same masterkey so if you found one of then then you will able to decryp all of them.

3.- For my program only one ckey per wallet is OK, There are some other theory attacks than can use several encrypted and decrypted AES Block to try to retrieve the KEY that was used on them please check: https://en.wikipedia.org/wiki/Key-recovery_attack A Ckey ( enCrypted Key) are 3 AES Block two of them (the first two ) are the Privatekey but the last block is the Padding it is always sixteen 0x10 values. in this case we know the Encrypted and decrypted block. That can help us? I don't know because as i said those attacks are only theorical attacks.

4.- Sorry i don't understand what are you asking here

5.- This program is just a proof of concept program and it is slow, you can get a better speed using kangaroo o bsgs with the public key. The times to solve one key with the current program are the next:

256 bits @ 1 Megakeys/s  (10^6):      1835871531540401373407708412745559168131740612197318060720331403 years
256 bits @ 1 Gigakeys/s  (10^9):      1835871531540401373407708412745559168131740612197318060720331 years
256 bits @ 1 Terakeys/s  (10^12):     1835871531540401373407708412745559168131740612197318060720 years
256 bits @ 1 Petakeys/s  (10^15):     1835871531540401373407708412745559168131740612197318060 years
256 bits @ 1 Exakeys/s  (10^18):      1835871531540401373407708412745559168131740612197318 years
256 bits @ 1 Zettakeys/s  (10^21):    1835871531540401373407708412745559168131740612197 years
256 bits @ 1 Yottakeys/s  (10^24):    1835871531540401373407708412745559168131740612 years

About developing something for GPU i will only do it when i had my own GPU.

Regards!

Mtt8 commented 2 years ago

probably only newer version bsgs or kangaroo could achieve yottakeys(some years or more) and extremaly big with memory , and i am sure somebody must have cloud computing with it today, i feel more comfortable now, i can try guess passwords instead,

if you have some idea how to crack wallet.dat in simple method you can recommend.

On Wed, 2 Feb 2022, 19:31 Luis Alberto, @.***> wrote:

Please note that the description of the repository say:

crackBTCwallet

Crack encrypted master Key and ckey of a bitcoin wallet. Just a PROOF OF CONCEPT

PROOF OF CONCEPT mean that there is no enough computer power in the planet to crack AES, just use this if you believe to be a luckiest person in the universe.

Replies:

1.- Only a ckey per wallet is OK. anyway you still can add a mkey per wallet but in case to found the key of a mkey you still need the IV this is a 16 bytes (128 bits) Initial Vector.

2.- Again only one ckey per wallet file, all the ckeys from a wallet file are encrypted using the same masterkey so if you found one of then then you will able to decryp all of them.

3.- For my program only one ckey per wallet is OK, There are some other theory attacks than can use several encrypted and decrypted AES Block to try to retrieve the KEY that was used on them please check: https://en.wikipedia.org/wiki/Key-recovery_attack A Ckey ( enCrypted Key) are 3 AES Block two of them (the first two ) are the Privatekey but the last block is the Padding it is always sixteen 0x10 values. in this case we know the Encrypted and decrypted block. That can help us? I don't know because as i said those attacks are only theorical attacks.

4.- Sorry i don't understand what are you asking here

5.- This program is just a proof of concept program and it is slow, you can get a better speed using kangaroo o bsgs with the public key. The times to solve one key with the current program are the next:

256 bits @ 1 Megakeys/s (10^6): 1835871531540401373407708412745559168131740612197318060720331403 years 256 bits @ 1 Gigakeys/s (10^9): 1835871531540401373407708412745559168131740612197318060720331 years 256 bits @ 1 Terakeys/s (10^12): 1835871531540401373407708412745559168131740612197318060720 years 256 bits @ 1 Petakeys/s (10^15): 1835871531540401373407708412745559168131740612197318060 years 256 bits @ 1 Exakeys/s (10^18): 1835871531540401373407708412745559168131740612197318 years 256 bits @ 1 Zettakeys/s (10^21): 1835871531540401373407708412745559168131740612197 years 256 bits @ 1 Yottakeys/s (10^24): 1835871531540401373407708412745559168131740612 years

About developing something for GPU i will only do it when i had my own GPU.

Regards!

— Reply to this email directly, view it on GitHub https://github.com/albertobsd/crackBTCwallet/issues/14#issuecomment-1028234907, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVOLMWTIALQCRLF63MXTFTLUZF2AFANCNFSM5NMWBOJA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

albertobsd commented 2 years ago

Hashcat is the best free solution that you can try

Mtt8 commented 2 years ago

how about jontheripper and do i need some words specific for both software? is there just puzzle words or it create algorithm to find different way similar to pollard kangaroo way between?

On Wed, 2 Feb 2022, 21:23 Luis Alberto, @.***> wrote:

Hashcat is the best free solution that you can try

— Reply to this email directly, view it on GitHub https://github.com/albertobsd/crackBTCwallet/issues/14#issuecomment-1028325755, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVOLMWUG5FMQIZ5WIDKZMUDUZGHERANCNFSM5NMWBOJA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

albertobsd commented 2 years ago

I don't know i never in use john the ripper