Docker and Kubernetes pentesting techniques in Azure
Let’s explore some tools to pentest containers in Azure.
kube-hunter
The first pentesting application we’ll try is kube-hunter
by Aqua Security on GitHub. The introduction in the kube-hunter README
file at https://github.com/aquasecurity/kube-hunter/blob/main/README.md states the following:
“kube-hunter hunts for security weaknesses in Kubernetes clusters. The tool was developed to increase awareness and visibility for security issues in Kubernetes environments. You should NOT run kube-hunter on a Kubernetes cluster that you don’t own!”
Absolutely! That’s why we set up our own Kubernetes cluster in our own Azure services in this chapter. When you’re actually doing paid work as a pentester, you will need signed legal permission from the company that owns the Azure network and Kubernetes instance.
There are lots of different kinds of scans you can do with kube-hunter....