Some .hc files are just renamed archives (ZIP, RAR) or encrypted disk images. Try:
john --format=bcrypt --wordlist=rockyou.txt myfile.hc
To show cracked passwords:
john --show myfile.hc
hashcat -m 1000 -a 0 myfile.hc /usr/share/wordlists/rockyou.txt
If successful, Hashcat will output:
Session..........: hashcat
Status...........: Cracked
Hash.Target......: 31d6cfe0d16ae931b73c59d7e0c089c0
Plaintext........: (empty)
Note: An empty password hash corresponds to a blank password. how to decrypt hc file
Open an .hc file in a text editor (e.g., Notepad or cat in Linux). You will see something like this:
$2a$10$N9qo8uLOickgx2ZMRZoMy.MrI6RrJ4lZqW5hJX7KxZQJjL9kL9sK
$6$rounds=5000$zq6qj5q6Qj7q6Qj7$XyL9sL9sL9fJkL.9fJkL9fJk
aad3b435b51404eeaad3b435b51404ee:31d6cfe0d16ae931b73c59d7e0c089c0
These are not encrypted data. They are irreversible mathematical outputs. You cannot "decrypt" $2a$10$... back into "password123" directly. To show cracked passwords:
john --show myfile
Huawei provides an official decryption tool for HC files, which can be downloaded from their website. This tool requires a valid decryption key, which can be obtained from Huawei's support team.
Step-by-Step Instructions:
If you don't have access to the original encryption software, you can try using a third-party decryption tool. These tools are specifically designed to decrypt files encrypted with various algorithms.
Use Hashtopussy or Cracklord to split work across multiple GPUs/machines. hashcat -m 1000 -a 0 myfile