01-25-2021, 07:27 AM
Hey all.
I bought a Digital Bitbox in 2018, which looks like has been discontinued.
I've forgotten the passphrase but still have the backup files. I was curious if I can use Hashcat with the backup key hash.
I've taken a look at the source code of the app to see how the backup key hash is computed using Go, which you can find below:
const (
iterations = 20480
keylen = 64
)
first := hex.EncodeToString(pbkdf2.Key(
[]byte(key),
[]byte("Digital Bitbox"),
iterations,
keylen,
sha512.New))[/font]
[font=Consolas, "Courier New", monospace] second := hex.EncodeToString(pbkdf2.Key(
[]byte(key),
[]byte("Digital Bitbox"),
iterations,
keylen,
sha512.New))
if first != second {
panic("memory error")
}
return first
I've got the hash, and an idea of what the password may be, however, every password variation off the top of my head hasn't worked out so far.
The backup hash is in the form: 62Xfc5cX0616X7f3645X7XXf82c4644359XXc3adc1f6bf4d5XcX5f3620X72049.
Can someone please lead me in the right direction? This is all very new to me but exciting at the same time.
Cheers
I bought a Digital Bitbox in 2018, which looks like has been discontinued.
I've forgotten the passphrase but still have the backup files. I was curious if I can use Hashcat with the backup key hash.
I've taken a look at the source code of the app to see how the backup key hash is computed using Go, which you can find below:
const (
iterations = 20480
keylen = 64
)
first := hex.EncodeToString(pbkdf2.Key(
[]byte(key),
[]byte("Digital Bitbox"),
iterations,
keylen,
sha512.New))[/font]
[font=Consolas, "Courier New", monospace] second := hex.EncodeToString(pbkdf2.Key(
[]byte(key),
[]byte("Digital Bitbox"),
iterations,
keylen,
sha512.New))
if first != second {
panic("memory error")
}
return first
I've got the hash, and an idea of what the password may be, however, every password variation off the top of my head hasn't worked out so far.
The backup hash is in the form: 62Xfc5cX0616X7f3645X7XXf82c4644359XXc3adc1f6bf4d5XcX5f3620X72049.
Can someone please lead me in the right direction? This is all very new to me but exciting at the same time.
Cheers