Intro to Ad Lateral Movement

Published
Length
3 min read

Luis Felipe Dias

All posts

An intro to ad lateral movement shows how attackers hop between domain computers after one login. You stop these hops by trimming broad group roles and splitting admin tiers. Many teams start by placing IT staff into shared domain admin groups for speed. This setup works until one stolen password lets an attacker roam across every server. Broad roles turn a single desktop breach into a full domain takeover. Core paths in an intro to ad lateral movement Active Directory uses central tickets an

End-to-End Encryption: the complete guide

Architecture patterns, implementation strategies, and security best practices. Delivered to your inbox.

Free white paper. No spam. Unsubscribe anytime.

An intro to ad lateral movement shows how attackers hop between domain computers after one login. You stop these hops by trimming broad group roles and splitting admin tiers. Many teams start by placing IT staff into shared domain admin groups for speed. This setup works until one stolen password lets an attacker roam across every server. Broad roles turn a single desktop breach into a full domain takeover.

Core paths in an intro to ad lateral movement

Active Directory uses central tickets and hashes to check user logins across machines. When a user logs in, the local machine stores keys in memory. Attackers read these stored keys to act as that user on other hosts. They do not even need to crack the plain text password first.

With a stolen key, an attacker uses native remote management tools to run commands. Windows shares and remote shell tools accept these tickets for quick machine hops. If that user holds local admin rights across many workstations, the path opens wide. Each new machine holds fresh memory keys from other logged-in staff.

Attackers repeat this cycle until they find a domain admin ticket on a server. Once they grab a top-tier ticket, they control the central directory database. From there, they can read any secret or change any group rule at will.

How native directory tiers work and where they fall short

Security teams fight lateral hops by setting up a strict three-tier admin model. Tier zero holds domain controllers, tier one holds servers, and tier two holds workstations. Admins get separate accounts for each tier so high keys stay off lower machines. Native group rules block a tier zero account from logging into a regular laptop.

Teams also rotate local admin passwords on every machine using native directory tools. This stops an attacker from using one local password hash across the whole fleet. Network firewall rules between workstation subnets also block direct peer-to-peer remote commands. These native steps cut down the easiest paths between user laptops.

End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Yet native directory tiers only check who logs in at the start of a session. Once an admin logs into a tier one server, the session runs unchecked. Native directory rules cannot see or filter individual commands or queries in flight. A valid admin account can still run a bad script or read raw user data. Static group membership also leaves standing rights active all day and night. If an attacker steals an active tier one session, they run any command they want.

Practical steps to shrink your directory blast radius

Start by auditing who sits in your high-level admin groups right now. Remove daily user accounts from server admin roles and create dedicated admin logins. Block privileged accounts from saving tickets in memory after a remote session ends. Set up strict local firewall rules so workstations cannot talk to each other over management ports.

Next, review how engineers run tasks on production databases and internal servers. Replace shared static keys with per-command checks and field-level data masking where possible. When you rewrite sensitive fields like emails or card numbers in results, stolen sessions yield less value. Pairing strict directory tiers with command-level controls stops lateral hops before they spread.

Add runtime guardrails and masking beside your databases and APIs

Login rules, role grants, and CI checks govern who connects to your stack. Yet any allowed script, engineer, or AI agent still runs commands with the full scope of its role. For workloads on Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes, SSH, or internal HTTP services, hoop.dev sits beside the service as an open-source proxy, a sidecar for your database or API.

Before a query runs, hoop.dev guardrails check the statement against your rules. An AI Analyzer you configure can score intent or hold risky calls for human review. Next, hoop.dev data masking rewrites sensitive fields in responses, and each verdict is logged per listener. Explore the MIT-licensed project on GitHub.

Frequently asked questions

What is the main cause of lateral movement in Active Directory?

Overly broad admin groups and shared local passwords are the main causes. When one account has admin rights on many machines, attackers hop between them with ease.

How does pass-the-hash work during a domain breach?

Attackers pull a password hash from computer memory after gaining local admin rights. They send that hash straight to another server to log in without knowing the real password.

Do tiered admin accounts stop all lateral attacks?

Tiered accounts stop top-level keys from landing on low-level user laptops. Still, they do not inspect or block harmful commands inside an active admin session.

Save the open-source gateway.

hoop is MIT-licensed infrastructure for controlling how AI agents reach production data. Star hoophq/hoop so you can inspect it, deploy it, or share it when your team starts governing agent access.