Skip to content

Commit

Permalink
Create SilenceDefender_ATP.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
S3cur3Th1sSh1t authored Jan 22, 2021
1 parent 66e62d9 commit 6d7a48a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions PowershellScripts/SilenceDefender_ATP.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
New-NetFirewallRule -DisplayName "Block 443 MsMpEng" -Name "Block 443 MsMpEng" -Direction Outbound -Service WinDefend -Enabled True -RemotePort 443 -Protocol TCP -Action Block
New-NetFirewallRule -DisplayName "Block 443 SenseCncProxy" -Name "Block 443 SenseCncProxy" -Direction Outbound -Program "%ProgramFiles%\Windows Defender Advanced Threat Protection\SenseCncProxy.exe" -RemotePort 443 -Protocol TCP -Action Block
New-NetFirewallRule -DisplayName "Block 443 MsSense" -Name "Block 443 MsSense" -Direction Outbound -Program "%ProgramFiles%\Windows Defender Advanced Threat Protection\MsSense.exe" -RemotePort 443 -Protocol TCP -Action Block

0 comments on commit 6d7a48a

Please sign in to comment.