Skip to content
Cloud DefenseFreeSimulatedFictional scenario

Stop lateral movement: segment the desktop subnet

A compromised machine jumped to another over SMB with a local administrator account. Make the desktops unable to talk to each other over SMB, RDP or WinRM, and let only the admin network in over RDP.

The problem

snet-desktops (10.20.30.0/24) has nsg-desktops associated, with two legacy rules that open SMB and RDP to the whole VNet. The admin network is snet-admin (10.20.1.0/24). Remember every NSG ships with the default rule AllowVnetInBound (priority 65000), which allows traffic inside the VNet even after you delete the legacy rules.

Mission

Tailspin (fictional) runs its finance desktops as VMs in Azure. In the Defender for Endpoint investigation, rundll32.exe copied the DLL to another desktop through ADMIN$ (port 445) and started it as a service. Apply the lesson in the network: a compromised desktop must not reach its neighbours.

3 objectives inside the lab. You meet them as you play: no steps or solutions are shown here.

What you will learn

  • East-west segmentation
  • NSG default rules
  • Administration only from a management network

Specialty and certification

Cloud Defense · SC-200, AZ-104

Official objectives it practices (2)
  • SC-200: Respond to alerts and incidents in Microsoft Defender for Endpoint
  • AZ-104: Configure secure access to virtual networks

Aligned with public exam objectives. Not official material and no complete coverage is implied.

What it is and is not

Deterministic JG Labs model: rules and errors based on official documentation. Not the real cloud. The scenario is fictional: it does not describe any real incident or any company’s data.

Official documentation