Skill · 1 hands-on labs

Lateral Movement Detection

Learn to detect lateral movement in Windows logs: 4648 explicit credentials, 4624 NTLM network logons, 5140 ADMIN$ access and 7045 service installs, across two machines.

What is Lateral Movement Detection?

Lateral movement is how an attacker moves from the first machine they compromise to the next ones, usually with stolen credentials. On Windows, tools like PsExec copy a program through the ADMIN$ share and run it as a service. Each hop leaves events on both machines: on the source, which program used which credentials, and on the target, the logon, the share access and the new service.

How analysts do it

  1. Start where the alarm fired and look for remote logons (4624 Type 3) just before it.
  2. Check the source address and the authentication package. NTLM where Kerberos is normal is suspicious.
  3. Look for 5140 access to ADMIN$, C$ or IPC$ and a 7045 service install seconds later.
  4. Go to the source machine and find 4648: which process used which account.
  5. Work out how those credentials got there, for example an LSASS dump or an admin who logged on earlier.

What to look for

  • Admin accounts logging on from ordinary workstations.
  • 4624 Type 3 with NTLM from a workstation to a server.
  • 5140 on ADMIN$ followed by 7045 with an unknown service name.
  • 4648 from a process in a Temp or user folder.
  • rundll32 with comsvcs.dll MiniDump, or other access to lsass.exe.

Practise it: 1 labs, easiest first

Every lab gives you real evidence to download and a set of questions. Guided labs tell you where to look, challenges do not.

Windows Event IDs you will use

Certifications that test this skill

Related skills

Questions people ask

What Event IDs show lateral movement?

On the target: 4624 (Logon Type 3), 4672 (admin rights), 5140 (share access such as ADMIN$) and 7045 in the System log (service installed). On the source: 4648 (logon with explicit credentials) and 4688 for the tools that ran.

How does PsExec show up in logs?

A network logon (4624 Type 3) on the target, access to ADMIN$ and IPC$ (5140), a new service (7045, by default named PSEXESVC, often renamed by attackers) and processes started by that service (4688).