skip to content

For persistence on laptops, should the clean-up standard rebuild every host or clean and verify, given how differently triggers can be found?

level: principalimportance: nice to knowfreq 9%

answer

  1. triggers differ in what they leave
  2. privileged trigger implies privileged access
  3. cost of proving a clean is high
  4. who holds administrator rights

basics

~20 s

Make rebuilding the default: trigger classes differ in how hard they are to find, and a privileged one implies administrator-level access. Allow clean-and-verify only as a recorded exception where evidence shows user-level triggers alone and every class was checked.

solid answer

~30 s

I would set rebuild as the default and clean-and-verify as a documented exception. A service or a WMI subscription implies administrator-level rights were held, and the guidance says to rebuild such a host, as well as one where the extent is in doubt. Cleaning needs every class checked, because a cheap trigger often sits beside a robust one. I would allow a clean only where the evidence shows user-level triggers alone and the checklist covered every class. Either way, credentials are reset, and I would withhold local administrator rights so the privileged classes need a bigger compromise.

go deeper

for a junior

Know that a rebuild removes every trigger on the disk and a clean has to find each one.

for a middle

Explain why a clean must cover every class and every profile, and why a service points to more privilege.

for a senior

Apply the guidance's criteria: administrator-level access and doubt about extent mean rebuild.

for a principal

Own the default, the signed exception, and the controls (administrator rights, profile type, who may create services) that make the standard cheap to apply.

## The decision A lead has to decide, once, what the fleet's clean-up standard commits to. Two honest positions exist: **rebuild every touched host**, or **clean and verify**. The persistence triggers decide the cost of each, because they differ in what they leave to find. ## What each side costs | | Rebuild | Clean and verify | |---|---|---| | Finds every trigger? | Not needed; all on-disk classes go | Must cover every class and every profile | | Risk | Misses what is off the machine, same as cleaning | Misses a trigger you did not know to look for | | Effort | Time, user downtime, data restore | Analysis time, which can exceed a rebuild | | Evidence needed | Little | A complete, checkable inventory | The malware-handling guidance leans toward rebuilding. It says rebuilding is the best option when the actions performed on a host are unknown, and that in managed environments built from standard images it can be faster than doing all the analysis needed to remove every trace. ## Rules a standard can state 1. **A privileged trigger means rebuild.** Only Administrator-privileged processes can create a service, and the guidance says to rebuild a host when attackers gained administrator-level access to it. An unexplained service is that evidence, and by default a machine-wide autostart or a subscription points the same way. 2. **Doubt means rebuild.** The standard names doubt about the nature and extent of the infection or access as a rebuild trigger. 3. **Clean-and-verify is an exception.** It needs three recorded facts: the triggers found were user-level only; the host's actions are known; and the checklist covered per-user and machine-wide autostarts, services, subscriptions and tasks, for every profile. 4. **Either path closes the off-host items.** Credentials already read are reset, a roaming profile is checked, and backups restored are checked to predate the infection. 5. **The exception is signed.** Someone accountable signs the decision, so a fast clean does not become the quiet default. ## What to hold back beforehand - **Administrator rights.** Withhold local administrator rights from everyday accounts. Creating or reconfiguring a service is administrators-only, so this makes the robust classes need a larger compromise. It also sharpens the rule above, because a privileged trigger then becomes a clear signal. - **Profile type.** The profile type decides what a per-user trigger can keep. A mandatory profile can be changed only by administrators, though the documentation says no more than that user changes to desktop settings are lost at logoff. - **Who may own the right to create a service.** Review that list as a standing control. ## Questions to put to the owners - Which local accounts on the fleet hold administrator rights, and why? - Who may create or reconfigure a service, and is that list reviewed? - Which profile types are in use, and which roaming copies sit on servers? - How long does a rebuild take, and how many can be done in a day? - Which backups predate the infection, and who can say so? ## Where this stops This is a workstation-fleet standard. How to prove eradication across an estate, how servers decide between rebuilding and cleaning, and rebuild for rootkits and firmware, are for the security-operations and rootkit material. ## Defending the choice The cost of rebuild-by-default is real: downtime, data restore, image upkeep. State it. The alternative cost is a missed trigger, which brings the incident back with the same access. The standard is a bet about which cost is easier to bear, made visible and revisited as image tooling and administrator-rights practice change.

  • Who should be allowed to create services on the fleet, and why does it change the standard?
    Administrators only, which is how the service control manager already works. Keeping administrator rights off everyday accounts means a service or a machine-wide autostart appearing on a laptop is a strong signal that privileged access was used, so the rebuild rule fires on evidence rather than on suspicion.
  • What lets you accept clean-and-verify for one specific host?
    Evidence confined to user rights: only per-user triggers, the host's actions known, no sign of administrator-level access, and a checklist that covered every class and every profile with a recorded result. Doubt about the extent of access moves it back to a rebuild.
  • What does a rebuild-by-default standard not give you?
    Any protection for what is off the machine. Credentials already read, access used elsewhere and a roaming profile are untouched by a rebuild, so the standard must pair the rebuild with credential resets and a profile check.

  • Always clean, because rebuilding is too expensive
  • Rebuild every host and nothing else is needed
  • A service found on a laptop is a user-level finding
  • If the first trigger is removed the host is verified
  • Administrator rights make no difference to the trigger classes