kube-hunter hunts for security weaknesses in Kubernetes clusters. By running it inside a pod, we can discover what a compromised or malicious container can access/exploit within the cluster network.
To verify master node and API server configurations:
Apply the benchmark job:
bash
kubectl apply -f job.yaml
Track the job status:
bash
kubectl get pods --selector=job-name=kube-bench
Analyze the compliance logs:
bash
kubectl logs kube-bench-j76s9
Expected Output example:text
[INFO] 1 Master Node Security Configuration[INFO] 1.1 API Server Configuration[PASS] 1.1.1 Ensure that the --anonymous-auth argument is set to false...
GuardDuty provides intelligent threat detection across our AWS accounts and workloads.
Data Sources: Analyzes VPC Flow Logs, DNS logs, and CloudTrail event logs.
Detection: Uses machine learning and threat intelligence to identify compromised instances, suspicious API calls, malware, and potential data exfiltration paths.