diff --git a/Vagrant/scripts/install-redteam.ps1 b/Vagrant/scripts/install-redteam.ps1 index 1f42a49..7d9c591 100644 --- a/Vagrant/scripts/install-redteam.ps1 +++ b/Vagrant/scripts/install-redteam.ps1 @@ -3,9 +3,11 @@ Write-Host "$('[{0:HH:mm}]' -f (Get-Date)) Installing Red Team Tooling..." # Windows Defender should be disabled already by O&O ShutUp10 +If ($hostname -eq "win10") { # Adding Defender exclusions just in case -Add-MpPreference -ExclusionPath “C:\Tools” +Set-MpPreference -ExclusionPath “C:\Tools” Add-MpPreference -ExclusionPath “C:\Users\vagrant\AppData\Local\Temp” +} # Purpose: Downloads and unzips a copy of the latest Mimikatz trunk Write-Host "$('[{0:HH:mm}]' -f (Get-Date)) Determining latest release of Mimikatz..."