clong / DetectionLab

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

Vagrant fails when trying to disable Windows-Defender #470

Closed lnxg33k closed 4 years ago

lnxg33k commented 4 years ago

Please verify that you are building from an updated Master branch before filing an issue. Yes, I am building from the updated master branch

Description of the issue:

However there is a try to disable Windows-Defenders through GPO, there is also a make sure step within install-redteam.ps1 script to disable it.

If the service is already disabled and the routine in install-redteam.ps1 tried to execute any of Uninstall-WindowsFeature Windows-Defender or Uninstall-WindowsFeature Windows-Defender-Features vagrant will throw an error and will stop executing.

Screenshot 2020-06-25 04 15 21
lnxg33k commented 4 years ago

It should be fixed with #471