clong / DetectionLab

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

error in wef and win10 provision: much needed help #901

Open shyampvagadiya opened 11 months ago

shyampvagadiya commented 11 months ago

Description of the issue:

For example:

I have tried installing wef and win10 machines many times and I run into the same issue everytime which is from WinRM as shown below. @clong please help with this issue. I would really appreciate your help with this issue. I have been stuck here for many weeks and I tried to find the answer to this error but no luck!

I get the following error message upon issuing reload --provision command.

Error message: wef


==> wef: Attempting graceful shutdown of VM...
An error occurred executing a remote WinRM command.

Shell: Cmd
Command: hostname
Message: Digest initialization failed: initialization error

Error message: win10


==> win10: Attempting graceful shutdown of VM...
An error occurred executing a remote WinRM command.

Shell: Cmd
Command: hostname
Message: Digest initialization failed: initialization error
tridentholder commented 11 months ago

Hi, I encountered the same error. Did you solve this

jo3rg commented 11 months ago

This issue may be related to a vagrant bug, I've reported it over there:

https://github.com/hashicorp/vagrant/issues/13242
https://discuss.hashicorp.com/t/winrm-port-does-not-work-in-vagrantfile/54601
r22tt commented 11 months ago

I was able to resolve this by updating to dev build 2.3.8.dev. It would also work if you downgrade to 2.3.6.

jo3rg commented 10 months ago

I was able to resolve this by updating to dev build 2.3.8.dev. It would also work if you downgrade to 2.3.6.

Same, the new dev branch fixed it for me too, Issue can be closed here too.

tridentholder commented 10 months ago

I was able to resolve this by updating to dev build 2.3.8.dev. It would also work if you downgrade to 2.3.6.

Same, the new dev branch fixed it for me too, Issue can be closed here too.

I don't get the fix, can you explain

r22tt commented 10 months ago

download vagrant 2.3.8 https://github.com/hashicorp/vagrant/releases/tag/2.3.8.dev%2B000085-5fc64cde