Kubernetes vs Kerberos vs Kerberoasting — Infrastructure vs Identity Attacks (2026)

📅 Published March 30, 2026 ·cloud-securityactive-directoryattack-techniquesinfrastructure

Written by Aryan Giri


🎯 Introduction

Modern cybersecurity is no longer about a single system — it’s about interconnected environments.

Three terms that often confuse beginners are:

They sound similar, but they belong to completely different layers of security.

Kubernetes is where applications run.
Kerberos is how identities are verified.
Kerberoasting is how attackers abuse that system to steal credentials.

This article breaks all three down with clear explanations, real examples, and basic commands.


🔐 Kerberos (Authentication Protocol)

🧠 What is Kerberos?

Kerberos is a network authentication protocol used in Active Directory (AD) environments.

It allows users and services to authenticate securely using tickets instead of passwords.


⚙️ How Kerberos Works (Simplified)

  1. User logs in → requests Ticket Granting Ticket (TGT)
  2. Domain Controller verifies identity → issues TGT
  3. User requests access to a service (TGS request)
  4. Domain Controller issues Service Ticket (TGS)
  5. User presents ticket to service → access granted

🔑 Key Concepts


🧠 Why Kerberos Matters


🎯 Kerberoasting (Identity Attack)

🧠 What is Kerberoasting?

Kerberoasting is a post-exploitation attack targeting Active Directory (AD) environments.

It abuses the Kerberos authentication protocol to extract password hashes of service accounts.


⚙️ How Kerberoasting Works

Step-by-step flow:

  1. Attacker gains access to a domain user account
  2. Requests a Kerberos service ticket (TGS) for a service
  3. Domain controller returns an encrypted ticket
  4. Attacker extracts the encrypted hash
  5. Hash is cracked offline using tools like Hashcat
  6. Plaintext password is recovered

🔍 Why It Works


🧪 Example Attack (Impacket)

GetUserSPNs.py domain.local/user:password -dc-ip 192.168.1.10 -request

This command:


🔓 Cracking the Hash

hashcat -m 13100 hashes.txt wordlist.txt

If the password is weak → it gets cracked.


🧠 Real-World Scenario

A web server runs under a service account:

Attacker cracks it → logs in → escalates privileges.


🧱 Kubernetes (Infrastructure Platform)

🧠 What is Kubernetes?

Kubernetes is a container orchestration platform used to deploy and manage applications.

It automates:


⚙️ Core Components

🧩 Pod

Example:

🖥️ Node

🎛️ Cluster

🔐 API Server

💾 etcd


🧪 Example Deployment

kubectl run nginx --image=nginx

Creates a pod running Nginx.


📋 Useful Kubernetes Commands

Get all pods

kubectl get pods

Describe a pod

kubectl describe pod <pod-name>

Get cluster info

kubectl cluster-info

Get nodes

kubectl get nodes

Execute command inside pod

kubectl exec -it <pod-name> -- /bin/bash

🔓 Common Security Issues


🧠 Real-World Scenario

A developer accidentally exposes the Kubernetes dashboard publicly.

Attacker:


⚔️ Key Differences

Feature Kubernetes Kerberos Kerberoasting
Type Platform Protocol Attack
Focus Infrastructure Authentication Credentials
Stage Initial → Lateral Login/Auth Post-exploitation
Target Containers & clusters Identity verification Active Directory

🔗 Combined Attack Chain (2026 Reality)

  1. Exploit vulnerable Kubernetes app
  2. Extract secrets from environment variables
  3. Discover AD credentials
  4. Move into internal network
  5. Abuse Kerberos (Kerberoasting)
  6. Crack passwords → privilege escalation

⚖️ Ethics & Insight

Kubernetes attacks exploit misconfigurations.
Kerberoasting exploits human weaknesses.
Kerberos itself is secure by design — but abusable.

Security is not just about systems — it’s about people.


🚀 Conclusion

Understanding all three helps you think like a real attacker — and defend like one.