Hi, I am receiving an error that i have been unable to fix and find a solution for online.
I am running on OS: Ubuntu 22.04 LTS x86_64.
I am able to connect if i run the same command via kali or the docker file supplied in the evil-winrm git repo. Any solution to this issue would be greatly appreciated!
evil-winrm -u administrator -p badminton -i 10.129.239.174
Evil-WinRM shell v3.3
Info: Establishing connection to remote endpoint
Error: An error of type OpenSSL::Digest::DigestError happened, message is Digest initialization failed: initialization error
Error: Exiting with code 1
Strange. I’m using the starting machines, and it looks like tls-cipher "DEFAULT:@SECLEVEL=0" is already there. Don’t think it matters, but tried without quotes as well.
client
dev tun
proto udp
remote edge-us-starting-point-1-dhcp.hackthebox.eu 1337
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
comp-lzo
verb 3
cipher AES-128-CBC
tls-cipher "DEFAULT:@SECLEVEL=0"
auth SHA256
key-direction 1
Tried different VPN servers, tried re-installing evil-winrm, ruby, etc.
after infinite frustration, scouring the web, noting the addition to .ovpn file == no positive results…
I jumped into Discord and asked, a user ended up responding, explaining its a known issue and suggested a full update on Kali. Upon updating, winrm worked smoothly, just as the write-up.
Then simply re-run the final line replacing “whoami” with your command (You can also change run_ps to run_cmd to execute cmd commands instead of ps ones)