Answer the question
In order to leave comments, you need to log in
How to decrypt *.vhd image from Oracle VM VirtualBox?
Good afternoon!
The virtual machine on VM VirtualBox has been deleted.
From it there was a virtual hard disk, the task is to get information from it. It was encrypted directly from Virtual Box.
Disk image in VHD format , encryption method AES-XTS256-PLAIN64 , password known .
Tried the following:
openssl enc -aes-256-cbc -d -in encrypted.VHD -out decrypted.VHD
./VBoxManage encryptmedium "encrypted.VHD" --oldpassword "passwd.txt"
0%...
Progress state: VBOX_E_INVALID_OBJECT_STATE
VBoxManage.exe: error: Failed to encrypt hard disk
VBoxManage.exe: error: The image is not configured for encryption
VBoxManage.exe: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component MediumWrap, interface IMedium
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleEncryptMedium(struct HandlerArg *)" at line 1890 of file VBoxManageDisk.cpp
Answer the question
In order to leave comments, you need to log in
Found it on the developer forum.
[Solved] How to decrypt an image * .vhd from Oracl...
Answer:
No, since the password is not a key, it only encodes the key found in the virtual machine files.
Therefore, for the future, the virtual disk and the machine are one.
It is a pity that this was found out before "encryption" ((
VHD disk (disabled, see comments) can be mounted without VirtualBox. On Windows, using Disk Management.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question