10-13-2022, 10:38 PM
Hi Everyone,
I know that there are some similar questions here, but I need to be sure that I am doing things right.
My problem is that I encrypted my USB driver using Veracrypt with a password and a PIM.
I wrote them on a piece of paper but unfortunately, I lost the paper.
I remember the PIM but it was impossible to remember the password completely.
Actually, I am not sure of the length of the password.
First of all, I extracted the encrypted key (the first 512 bytes) using the following command
And I have been using the following command to get the password
This has taken a lot of time, but I am not sure if the parameters in the command above are right.
Also, I would like to know if there is a way to get a copy of the USB drive. If I was not able to get the password, I would like to get a copy to use at another time.
Thanks.
I know that there are some similar questions here, but I need to be sure that I am doing things right.
My problem is that I encrypted my USB driver using Veracrypt with a password and a PIM.
I wrote them on a piece of paper but unfortunately, I lost the paper.
I remember the PIM but it was impossible to remember the password completely.
Actually, I am not sure of the length of the password.
First of all, I extracted the encrypted key (the first 512 bytes) using the following command
Code:
dd if=/dev/sdg1 of=encrypted/target_hash.tc bs=512 count=1
And I have been using the following command to get the password
Code:
sudo hashcat -a 3 -w 1 -m 13721 target_hash.tc [pattern] --force --veracrypt-pim=[PIM]
This has taken a lot of time, but I am not sure if the parameters in the command above are right.
Also, I would like to know if there is a way to get a copy of the USB drive. If I was not able to get the password, I would like to get a copy to use at another time.
Thanks.