Forum Discussion
UriShay-CyberSnap
Nov 27, 2026Brass Contributor
Restored a Windows Server after an incident: what do you check before it rejoins the domain?
Say a server was restored from a backup after an incident and it's about to go back on the domain. What do you check first? I'm thinking about persistence that could ride along in the image, like sch...
WinEndpointOps
Nov 27, 2026Iron Contributor
My order, assuming the restore point may not be fully clean:
- Keep it isolated first (separate VLAN or NIC disconnected). Do not let it talk to the domain until the checks are done. It can also carry a stale machine account password.
- 2. Look at what runs on its own at boot: scheduled tasks that are not disabled, services and drivers with odd paths, Run and RunOnce keys, startup folders, and local GPO or startup scripts. WMI event subscriptions are easy to miss, so check root\subscription too (Get-CimInstance -Namespace root\subscription -ClassName __EventConsumer).
- 3. Local accounts and groups: members of local Administrators and Remote Desktop Users, new local users, and RDP or WinRM settings that changed.
- 4. Diff against a baseline, ideally a freshly built server of the same role: installed software, services, tasks, listening ports. That is quicker than reading everything by hand.
- 5. Rejoin carefully: reset the computer account or rejoin it as new, and rotate anything that lived on the box (local admin password, service account secrets, certificates). Assume those were exposed.
- 6. Find the earliest sign of the incident in the logs first and make sure the backup is from before it. Otherwise you may be restoring the foothold.
So it is both: baseline diff for speed, a manual pass for the spots a diff will not show, like WMI and GPO.
UriShay-CyberSnap
Nov 27, 2026Brass Contributor
Good list, thanks. The WMI subscription point is easy to forget. One thing I'd add to the baseline diff step: if the incident had a long dwell time, even the newest restore point can already hold the attacker's persistence, so I'd mount each candidate in isolation and compare tasks, services and local admins across a few points rather than trusting the date alone. Whichever point shows the least drift against the rebuilt baseline is the recommended recovery point.
Disclosure: I work on CyberSnap, which scans existing snapshots for signs of compromise.