hatching / vmcloak

Automated Virtual Machine Generation and Cloaking for Cuckoo Sandbox.
479 stars 118 forks source link

The Object is not ready error #143

Open k41zen opened 5 years ago

k41zen commented 5 years ago

Have a Ubuntu 16.04 VM running within VMware Fusion on my Mac with Virtualbox 5.2.10 running within it. When I try to create a Windows7 x64 VM using VMCloak I get the following error:

cuckoo@cuckoo:/$ vmcloak init --win7x64 --iso-mount=/mnt/win7 Windows7-New 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% VBoxManage: error: The object is not ready VBoxManage: error: Details: code E_ACCESSDENIED (0x80070005), component ConsoleWrap, interface IConsole, callee nsISupports VBoxManage: error: Context: "COMGETTER(RemoteUSBDevices)(ComSafeArrayAsOutParam(coll))" at line 2101 of file VBoxManageInfo.cpp ERROR:vmcloak.vm:[-] Error running command: Command '['/usr/bin/VBoxManage', 'showvminfo', u'Windows7-New', '--machinereadable']' returned non-zero exit status 1 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

The VM has gone from VirtualBox as expected so seems to have worked ok.

Can anyone help?

k41zen commented 5 years ago

Went on to run VMCloak install to try and install adobe and java. It has reattached it to Virtualbox but when I look at the screen its sat there doing nothing for hours now. And the vmclock command has done nothing or shown anything.

samwakel commented 5 years ago

You can't run x64 like that, try x32. Basically, vmware on your mac is not passing the hardware assisted vm technology to virtualbox, which virtualbox needs to run 64bit, but you should be fine with 32bit.

k41zen commented 5 years ago

Turns out my issue was impatience. I was watching the VM but then VMCloak couldn't do it's thing. Builds perfectly fine if I don't watch it :-)

Thanks

samwakel commented 5 years ago

If you've solved this issue and #142 can you please close them?