clong / DetectionLab

Automate the creation of a lab environment complete with security tooling and logging best practices
MIT License
4.59k stars 979 forks source link

Error while building WEF host "An error occured executing a remote WinRM command." #813

Closed xxoc77 closed 2 years ago

xxoc77 commented 2 years ago

Please verify that you are building from an updated Master branch before filing an issue.

Description of the issue:

While building the wef host, I'm running into the following error message that causes the build to stop:


vagrant up wef
Bringing machine 'wef' up with 'virtualbox' provider...
==> wef: Importing base box 'detectionlab/win2016'...
==> wef: Matching MAC address for NAT networking...
==> wef: Checking if box 'detectionlab/win2016' version '1.9' is up to date...
==> wef: Setting the name of the VM: wef.windomain.local
==> wef: Fixed port collision for 22 => 2222. Now on port 2200.
==> wef: Clearing any previously set network interfaces...
==> wef: Preparing network interfaces based on configuration...
    wef: Adapter 1: nat
    wef: Adapter 2: hostonly
==> wef: Forwarding ports...
    wef: 5985 (guest) => 55985 (host) (adapter 1)
    wef: 5986 (guest) => 55986 (host) (adapter 1)
    wef: 22 (guest) => 2200 (host) (adapter 1)
==> wef: Running 'pre-boot' VM customizations...
==> wef: Booting VM...
==> wef: Waiting for machine to boot. This may take a few minutes...
    wef: WinRM address: 127.0.0.1:55985
    wef: WinRM username: vagrant
    wef: WinRM execution_time_limit: PT2H
    wef: WinRM transport: negotiate
An error occurred executing a remote WinRM command.

Shell: Cmd
Command: hostname
Message: Digest initialization failed: initialization error
clong commented 2 years ago

Sorry, this looks like an issue with Vagrant. I've never seen this error before, nor has anyone reported it.

clong commented 2 years ago

@xxoc77 I'm going to close this as this is a bug you'll have to file with Vagrant: https://github.com/hashicorp/vagrant/issues