From 42c2a71f3229f83641e1e96ecd6a2e9451e423d7 Mon Sep 17 00:00:00 2001 From: mySYSMON <72756883+mySYSMON@users.noreply.github.com> Date: Sat, 16 Jan 2021 22:07:25 -0500 Subject: [PATCH] GitHub requires TLS 1.2 as of 2/1/2018 --- Vagrant/scripts/install_agent.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Vagrant/scripts/install_agent.ps1 b/Vagrant/scripts/install_agent.ps1 index 0b109de..2346273 100644 --- a/Vagrant/scripts/install_agent.ps1 +++ b/Vagrant/scripts/install_agent.ps1 @@ -1,5 +1,7 @@ Write-Host "$('[{0:HH:mm}]' -f (Get-Date)) Installing legacy cuckoo agent.py to sandbox" $agentStartupFolder = "C:\Users\vagrant\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup" $cuckooAgent = 'C:\Users\vagrant\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\spy.pyw' +# GitHub requires TLS 1.2 as of 2/1/2018 +[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 Invoke-WebRequest https://raw.githubusercontent.com/cuckoosandbox/cuckoo/2.0-rc2/agent/agent.py -o "C:\Users\vagrant\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\spy.pyw" &$cuckooAgent