How Attackers Lay the Groundwork for Lateral Movement