diff --git a/Vagrant/scripts/install-redteam.ps1 b/Vagrant/scripts/install-redteam.ps1 index c098a65..4795462 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..." @@ -51,4 +53,5 @@ if (-not (Test-Path $atomicRedTeamRepoPath)) { Write-Host "Atomic Red Team was already installed. Moving On." } -Write-Host "$('[{0:HH:mm}]' -f (Get-Date)) Red Team tooling installation complete!" \ No newline at end of file +Write-Host "$('[{0:HH:mm}]' -f (Get-Date)) Red Team tooling installation complete!" +