nbeede / BoomBox

Automatic deployment of Cuckoo Sandbox malware lab using Packer and Vagrant
Mozilla Public License 2.0
234 stars 38 forks source link

Windows 10 Install - "packer_build_box : Something went wrong while attempting to build the sandbox box." #11

Open millysecurity opened 4 years ago

millysecurity commented 4 years ago

I'm doing the "./build.ps1 -ProviderName virtualbox" build and when I run

./build.ps1 -ProviderName virtualbox -PackerPath C:\Users\Me\Downloads\Compressed\packer_1.6.3_windows_amd64\packer.exe

I get the following error

Finished for sandbox. Got exit code: 1
packer_build_box : Something went wrong while attempting to build the sandbox box.
At C:\Users\kmhs1\Downloads\BoomBox\build.ps1:279 char:3
+   packer_build_box -Box sandbox
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,packer_build_box

I was having issues earlier with even loading the script in powershell due to "running scripts is disabled on this system." However I fixed that by running CMD as admin and using the command

powershell Set-ExecutionPolicy RemoteSigned

Bringing that up in case it's relevant to the first issue.