Tag Archives: docker

From Kaspersky with Love – kvrt.run mirror

Kaspersky offers a free virus scan and removal tool for Linux. However, if you’re in the United States like I am, you’re restricted from downloading it. To bypass this restriction, I’ve set up a Docker automation that uses an OpenVPN connection in another country. I’m sharing this for those who want to use or analyze the tool.

You’ll need to provide your own OpenVPN configuration file for this to work:

http://zitstif.no-ip.org/kvrun/Dockerfile

http://zitstif.com/kvrun/Dockerfile

http://zitstif.no-ip.org/kvrun/run.sh

http://zitstif.com/kvrun/run.sh

SHA256 Checksums:

# sha256sum Dockerfile
eb8e45ab10a50db4b64592f1a3b3edb944f3ffc96ac8bf61917b41d2c5c65186 Dockerfile

# sha256sum run.sh
0898b49cfe223f163051c4427427c43571bf932c8bb5d89e79d748ff0d31e451 run.sh

Build and Run Instructions:

docker build -t openvpn-kaspersky .

docker run --cap-add=NET_ADMIN --device /dev/net/tun --name kaspersky-vpn openvpn-kaspersky

docker cp kaspersky-vpn:/opt/kvrt.run .

Mirrors for Download:

http://zitstif.no-ip.org/kvrt.run
http://zitstif.com/kvrt.run

http://zitstif.no-ip.org/kvrt-hash.txt
http://zitstif.com/kvrt-hash.txt

kubernetes.io web terminal root shell

Recently, I’ve been reading up on containers and kubernetes. I have just discovered this. It just seems like it could be easily abused:

No authentication necessary. You simply click on Launch Terminal and you’ll get a root shell with full internet access.

https://kubernetes.io/docs/tutorials/hello-minikube/

(This is a frame from https://www.katacoda.com/ )

WSL2 does not appear to be shipped with Windows 10 1903

Windows Subsystem for Linux (WSL) is a great way to run a Linux environment within Windows 10 locally without having to rely on cygwin or using virtual machines.

It is not without its limitations. For instance, raw sockets are not supported so that means if you want to really utilize tools like nmap, you won’t be able to do so. However, from what I’m gathering, it sounds like WSL2 will support raw sockets.

As of today, I’ve updated my home lab Windows 10 systems to the newest non-insider build (Version 1903 (OS Build 18362.116)) and it was my hope that WSL2 would be included. Unfortunately, this is not the case. The wsl.exe command does not have a –set-version parameter yet and a newly installed debian on the my test system with nmap still produces raw socket related errors.

I have high hopes for what will become of WSL. For more information, take a look at this video:

https://www.youtube.com/watch?v=lwhMThePdIo
 
 
#Update 3/28/2020 – Looks like WSL2 will be available for non-insider builds this year some time: