From d763d66dc2d6f5b77a8dd8203c72c355a420f033 Mon Sep 17 00:00:00 2001 From: Chris Long Date: Tue, 25 Sep 2018 22:48:26 -0700 Subject: [PATCH] Drop the firewall in Win10 host [ci skip] --- Vagrant/scripts/install-utilities.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Vagrant/scripts/install-utilities.ps1 b/Vagrant/scripts/install-utilities.ps1 index a302d4e..8122197 100755 --- a/Vagrant/scripts/install-utilities.ps1 +++ b/Vagrant/scripts/install-utilities.ps1 @@ -16,7 +16,7 @@ choco install -y NotepadPlusPlus choco install -y GoogleChrome choco install -y WinRar -# Disable Windows Defender realtime scanning before downloading Mimikatz +# Disable Windows Defender realtime scanning before downloading Mimikatz and drop the firewall If ($env:computername -eq "win10") { If (Test-Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender") { @@ -25,7 +25,7 @@ If ($env:computername -eq "win10") { gpupdate /force | Out-String Set-MpPreference -ExclusionPath C:\commander.exe, C:\Tools set-MpPreference -DisableRealtimeMonitoring $true - + Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False } # Purpose: Downloads and unzips a copy of the latest Mimikatz trunk