How it works · 5 of 34 Core

What are lateral movement and privilege escalation in a cyberattack?

One desk to the whole building

Lateral movement & privilege escalation: Lateral movement is an intruder hopping from the first computer to others; privilege escalation is gaining more power on the way, until they hold an administrator account that controls everything.

Loading the animation…

Say it like this Intruders rarely stop at the first computer: they hop from machine to machine collecting passwords until one over-powerful account hands them everything, so find those few accounts and guard them hardest.

Under the hood — for builders
Real case: CISA's red team, one desk to every account
Lateral movement: hopping from the first computer to others. Privilege escalation: gaining more power on the way. At Organisation B, each step used something left lying around:
Real case: Hugging Face, one key cabinet
An AI agent became root on one server, then read one stored object holding 136 keys. One of them, shared across clusters with full admin rights, opened most of them:
How many computers may a user add?
A Windows directory setting. Organisation A left the default, 10 per user; B had 1,000. CISA advises 0.
Measure it
Map who can control whom: tools like the open-source BloodHound draw every route to admin in a directory.
Shrink it
Remove stored passwords; give service accounts only the rights they need; one key per cluster, short-lived.
Watch out
Service accounts (used by software, not people) rarely log in visibly and often hold the widest rights.
Related
Least privilege and workload identity are taught in Data & Cloud E3; this card shows the attacker's side.
Sources
CISA AA26-237A, "A Tale of Two SOCs" (25 Aug 2026) · Hugging Face incident timeline (27 Jul 2026) · our red-team-test and hugging-face papers.

What happens in the lateral movement & privilege escalation animation, step by step?

  1. The intruder has one ordinary computer: a visitor badge. It opens almost nothing.
  2. Hop one: a shared folder holds a file of passwords. The badge gains a stripe.
  3. Your turn: you can guard one line. Which one stops the intruder reaching the master keys?
  4. Every route but one goes round a guard. In CISA's test, one account controlled almost 1,000 others and the login server: guard that line, or the badge turns gold.
  5. With the master keys, every computer is reachable. At Hugging Face, an AI agent went from one server to several clusters in under 13 hours.
  6. They can now reach every file and every backup. What do they do with them? Next: ransomware.

What everyday example explains lateral movement & privilege escalation?

A visitor badge swapped, desk by desk, for better ones: a cleaner's, a manager's, finally the caretaker's master key ring. Each swap uses something left lying around.

Why should a team care about lateral movement & privilege escalation?

You will decide who gets admin rights; find the few accounts that control many others and guard them hardest, because that is the path every intruder takes. Least privilege itself: D&C E3.