Kail Linux Docker Container Image
Daniel Nashed – 28 September 2024 10:09:21
Kali Linux is a great distribution. It comes with very current software versions for OpenSSL, Curl and NGINX.
The distribution is actually specially interesting for "Penetration Testing, Security Research, Computer Forensics".
Therefore brings a lot of helpful tools for troubleshooting.
It's a Debian based distribution currently using glibc 2.40!.
The interesting part is that you can run it on any machine as a Docker image, can boot it from USB.
There is also a WSL image available.
It's probably not the Linux you want to use to run servers in a corporate environment.
But it would be great choice for troubleshooting.
I took a quick look and compiled my OpenSSL based tools without any surprises.
OK I must admit I also tested it as a base image for the Domino container image.
Because Ubuntu and Debian are on the supported list, it wasn't a big surprise it works as well.
This isn't really something you want to run in production and maybe it is not even a good idea to download the image in a corporate environment.
But testing out the boundaries of where software runs often brings valuable information about to make it better.
So I was curious what I find out ...
Kali Linux on WSL
The WSL documentation page is the most detailed one I have seen from any WSL based distribution.
And it is available in the Microsoft Store.
https://www.kali.org/docs/wsl/wsl-preparations/
Kali Linux Docker image page
https://www.kali.org/docs/containers/official-kalilinux-docker-images/
How to run it in a container
root@arm:~/.ssh# docker run -it --rm kalilinux/kali-rolling bash
┌──(root@xyz)
└─# cat /etc/os-release
PRETTY_NAME="Kali GNU/Linux Rolling"
NAME="Kali GNU/Linux"
VERSION_ID="2024.3"
VERSION="2024.3"
VERSION_CODENAME=kali-rolling
ID=kali
ID_LIKE=debian
HOME_URL="https://www.kali.org/"
SUPPORT_URL="https://forums.kali.org/"
BUG_REPORT_URL="https://bugs.kali.org/"
ANSI_COLOR="1;31"
ldd --version
ldd (Debian GLIBC 2.40-2) 2.40
openssl version
OpenSSL 3.3.2 3 Sep 2024 (Library: OpenSSL 3.3.2 3 Sep 2024)
curl --version
curl 8.9.1 (aarch64-unknown-linux-gnu) libcurl/8.9.1 GnuTLS/3.8.6 zlib/1.3.1 brotli/1.1.0 zstd/1.5.6 libidn2/2.3.7 libpsl/0.21.2 libssh2/1.11.0 nghttp2/1.63.0 ngtcp2/1.6.0 nghttp3/1.4.0 librtmp/2.3 OpenLDAP/2.5.18
Release-Date: 2024-07-31, security patched: 8.9.1-2
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns ldap ldaps mqtt pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp ws wss
Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTP3 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM PSL SPNEGO SSL threadsafe TLS-SRP UnixSockets zstd
nginx -version
nginx version: nginx/1.26.0
- Comments [0]