Lateral movement refers to the technique used by attackers to move horizontally across a network, gaining unauthorized access to different systems and escalating privileges.