A forced shutdown or reboot is often the last move in a destructive attack, the moment that turns a wiped boot record or a deleted backup catalogue into a machine that will not come back. MITRE ATT&CK tracks this as T1529 System Shutdown/Reboot, an Impact (TA0040) technique with no sub-techniques, covering ESXi, Linux, macOS, network devices and Windows. On its own a reboot is ordinary administration, which is why ATT&CK v20 lists no mitigations for it. This guide is for detection engineers, infrastructure and virtualisation teams and incident responders. It covers how attackers use shutdown and reboot, the detection analytics MITRE publishes, the rights that control who can do it, and how to keep the reboot from finishing the attacker's job. Recovery inhibition (shadow copies, backup catalogues) is covered in the T1490 Inhibit System Recovery Defensive Guide and is not repeated here.
Key takeaways
- The reboot is a symptom, not the attack. ATT&CK notes adversaries shut down or reboot after impacting systems in other ways, such as disk structure wipe or inhibiting recovery, to hasten the effect on availability. A cluster of unexpected reboots means the damage has probably already been done.
- Wipers almost always end with a reboot. Shamoon, NotPetya, AcidRain, HermeticWiper, BFG Agonizer and DynoWiper are all recorded in ATT&CK v20 as rebooting or shutting down hosts after destructive actions.
- Hypervisors multiply the effect. One command on an ESXi host powers off every guest. ATT&CK records The Gentlemen ransomware and AvosLocker terminating ESXi virtual machines, and Medusa Group manually turning off and encrypting virtual machines.
- Shutdown rights are wider than people think. Microsoft's defaults give the Shut down the system right to Users on client computers and to Backup, Server and Print Operators on domain controllers.
- Detection is correlation, not a single event. MITRE's strategy DET0559 pairs the command or API that started the shutdown with host status records, then asks whether the user and timing fit a change window.
What the technique covers
ATT&CK v20 (technique version 1.5) describes adversaries shutting down or rebooting systems to interrupt access to them or to aid their destruction. The description covers several mechanisms:
| Mechanism | Platforms | What ATT&CK describes | Notes for defenders |
|---|---|---|---|
| Operating system shutdown commands | Windows, Linux, macOS | Built-in commands to shut down or reboot the local machine or, in some cases, a remote computer | Same binaries administrators use daily; context decides |
| Network device CLI | Network devices | Remote reload of a device through T1059.008 Network Device CLI, for example reload | Restarts routing or switching for a whole site; also clears unsaved running configuration |
| Hypervisor and cloud consoles | ESXi (and cloud consoles) | Shutdown or reboot of virtual machines through hypervisor or cloud consoles and command-line tools | A single host-level action can stop dozens of guests |
| Windows API calls | Windows | InitializeSystemShutdownExW or ExitWindowsEx to force shutdown or reboot | No shutdown.exe process to alert on; host status records still appear |
| Forced crash | Windows | NtRaiseHardError or ZwRaiseHardError with the shutdown response option, producing a blue screen | Shows as an unexpected shutdown, not a planned one |
ATT&CK notes the API route may require SeShutdownPrivilege, which an adversary may obtain through T1134 Access Token Manipulation. It also notes that in some cases the system may not be able to boot again, which is the whole point when the reboot follows a disk structure wipe.
How adversaries use it: real cases
Procedure examples from the ATT&CK v20 data, with the research ATT&CK cites, and one campaign we read in full:
- 2025 Poland Wiper Attacks (C0063): ATT&CK records that the adversaries forced victim devices to reboot to finalise destruction. ESET's technical analysis describes DynoWiper samples placed in a shared directory of an energy company's domain on 29 December 2025 and run by scheduled task (T1053.005). One variant overwrote files in two phases and then forced a reboot; ESET's endpoint product appears to have interfered with all three variants. ESET attributes DynoWiper to Sandworm with medium confidence and notes that GPO-wide deployment generally requires Domain Admin rights.
- NotPetya (S0368): reboots the system one hour after infection (Talos, 2017).
- BFG Agonizer (S1136): uses elevated privileges to call
NtRaiseHardErrorand crash the system; once shut down, the system is no longer bootable (Unit 42, Agrius, 2023). - APT38 (G0082): used a custom MBR wiper, BOOTWRECK, that starts a reboot after wiping the master boot record (FireEye, 2018). Lazarus Group (G0032) rebooted systems after destroying files and wiping the MBR (US-CERT SHARPKNOT, 2018).
- AcidRain (S1125) and AcidPour (S1167): reboot the victim system once wiping completes (SentinelOne and JAGS research cited by ATT&CK).
- Qilin (S1242): can reboot the backup server to hinder recovery (Picus, March 2025). This is the reboot used against recovery infrastructure rather than end hosts.
- The Gentlemen ransomware (S9051): performed clean shutdowns of running VMs in ESXi environments and forcibly terminated others (Check Point Research, April 2026). AvosLocker (S1053)'s Linux variant terminated ESXi virtual machines, and Medusa Group (G1051) manually turned off and encrypted virtual machines (CISA, March 2025).
- Maze (S0449): issued a shutdown so that, on reboot, the ransomware ran inside a virtual machine (Sophos, 2020). Here the reboot serves evasion, not destruction.
The pattern across these cases is consistent: privileged access first, destruction or encryption second, reboot last. For hypervisor-heavy estates see the ESXi Ransomware Playbook, and for the stop-services step that often comes just before, the MITRE ATT&CK T1489 Service Stop guide.
What to detect and where
MITRE's detection strategy DET0559 (Multi-Platform Shutdown or Reboot Detection via Execution and Host Status Events) has one analytic per platform. The table condenses them and adds the log sources each depends on.
| Platform | Analytic | Data components (ATT&CK) | What to collect | Practical rule |
|---|---|---|---|---|
| Windows | AN1538 | Process Creation; Host Status | Sysmon Event ID 1 or Security 4688 with command line; System log Event ID 1074 (User32), which records the initiating process, user, reason code and shutdown type; 6008 and Kernel-Power 41 for unexpected shutdowns | Shutdown commands or restart cmdlets from a user outside the server operations group, or outside a change window |
| Linux | AN1539 | Command Execution; Host Status | auditd execve records for shutdown, reboot and systemctl poweroff; syslog power-down messages | Shutdown by an interactive or service account with no matching maintenance ticket |
| macOS | AN1540 | Process Creation; Host Status | Unified log entries for shutdown or reboot requests, including script-initiated ones | Shutdown requested by a script or with no user activity before it |
| ESXi | AN1541 | Command Execution; Host Status | Shell log for esxcli system shutdown or VM power commands; hostd.log power-off and restart records | VM power-off in bulk, or host shutdown from the shell by an unusual user |
| Network devices | AN1542 | Command Execution; Host Status | Syslog reload messages; TACACS+ command and system accounting | reload issued outside scheduled maintenance or by an account without that role |
MITRE's Windows analytic names Event ID 1074 under the Security channel; Microsoft documents 1074 as a System log event from User32, so collect the System log. Microsoft also notes the normal sequence for a clean restart is 1074, then Kernel-General 13, then 6009, while an unexpected reboot typically shows 41 and 6008 with no 1074. That difference separates a forced crash, such as the NtRaiseHardError route, from a requested shutdown.
Sequences worth alerting on
- Fleet-wide reboot burst: more than a handful of hosts reporting 1074 or 6008 within minutes, outside patch windows. This is the single strongest wiper signal at the SOC level.
- Destruction then reboot: raw disk writes, boot configuration changes, backup or shadow copy deletion, then a shutdown on the same host. Correlate with the detections in the T1490 guide.
- Scheduled-task or GPO launched shutdown: a shutdown initiated by a process whose parent is the Task Scheduler service, especially on many hosts at once, matches the DynoWiper deployment pattern.
- Bulk VM power-off: many guest power-off events on one ESXi host from a shell session rather than from vCenter tasks.
- Backup and recovery servers rebooting unexpectedly: the Qilin pattern; treat any unplanned reboot of a backup server as a priority alert.
For the platform log detail see the ESXi Logs Detection Guide and the Network Device Syslog and Configuration Change Detection Guide.
Limiting who can shut systems down
ATT&CK v20 lists no mitigations for T1529: shutdown is a legitimate feature. The controls below are NHI Mgmt Group recommendations drawn from vendor documentation. They do not stop an attacker with full administrative rights, but they remove the cheap routes and make the expensive ones visible.
| Platform | Control | Default per vendor documentation | Recommended setting |
|---|---|---|---|
| Windows | User right Shut down the system (SeShutdownPrivilege) | Client computers: Administrators, Backup Operators, Users. Member servers: Administrators, Backup Operators. Domain controllers: Administrators, Backup Operators, Server Operators, Print Operators | Domain controllers: Administrators only, as Microsoft advises. Servers where non-administrators sign in (for example Remote Desktop Session Hosts): remove it from anyone without a need |
| Windows | User right Force shutdown from a remote system (SeRemoteShutdownPrivilege) | Administrators; domain controllers also Server Operators | Restrict explicitly to Administrators or named operations roles; Microsoft notes anyone who can shut down a device can cause denial of service |
| ESXi | Lockdown mode | Normal mode keeps the DCUI service running; strict mode stops it | Enable lockdown mode so hosts are managed through vCenter; keep the Exception Users list to service accounts with specific tasks, as Broadcom warns adding administrators defeats the purpose |
| Network devices | AAA command authorisation and accounting | Per device configuration | Authorise reload only for network operations roles; enable aaa accounting commands 15 and aaa accounting system default to a TACACS+ server so every privileged command and system reload is recorded |
| Linux and macOS | sudo policy | Distribution dependent | Grant power management commands only to operations roles; log sudo use centrally |
Both Windows user rights live under Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment. Microsoft warns that removing Server Operators or Backup Operators can affect delegated administrative roles, so test the change on a pilot group first. Hardening detail for hypervisors is in the VMware ESXi Hardening Guide, and for routers and switches in the Network Device Management Plane Hardening Guide.
Making the reboot survivable
Because the reboot usually finishes an attack that started earlier, the most effective damage limitation sits around it:
- Boot integrity: Secure Boot and measured boot do not stop a wipe, but they stop a tampered boot path from running and give a clear failure state. See M1046 Boot Integrity.
- Isolated, immutable backups: a backup server that can be rebooted by the same domain account that wiped the fleet is not a recovery capability. See the Backup Security and Immutable Backup Guide.
- Rebuild playbooks for the boot layer: a host that will not boot needs a reimage path, not a restore of files. Test reimaging at scale, including domain controllers and hypervisors.
- Endpoint protection on wiper behaviour: in the Polish case ESET reports its product interfered with all three DynoWiper variants. Behaviour rules on raw disk and mass file overwrite act before the reboot.
- Out-of-band management: keep console access to hypervisors and network devices that does not depend on the production domain, so you can see what happened after a forced reload.
Where identity fits
Every case above needed privileged identity first: Domain Admin to push a wiper by Group Policy, root or an exception user on ESXi, enable-level access on a router. Non-human identities are often the path. Backup service accounts commonly hold the Backup Operators group membership that carries shutdown rights on domain controllers, management and monitoring service accounts hold vCenter roles that can power off guests, and network automation accounts hold privilege 15. Review which service accounts hold shutdown-capable rights, scope them to the hosts they manage, and alert when one issues a shutdown outside its normal schedule. See the Backup Identity Isolation Guide and How to find Windows services running as domain accounts.
How to test and roll out
- Collect the right logs: Windows System log (1074, 6006, 6008, 41) and process creation with command line; auditd execve on Linux servers; ESXi shell and hostd logs forwarded off the host; TACACS+ accounting from network devices.
- Baseline normal reboots: record patch windows, the identities and tools that reboot hosts (configuration management, patch orchestration, vCenter tasks) and expected volumes per day.
- Build the burst rule first: count unexpected shutdowns across the estate per five minutes; this catches the destructive case regardless of method.
- Emulate safely: in a test segment, an authorised tester reboots hosts using a command, a scheduled task, a remote shutdown and an ESXi VM power-off, and confirms each fires the right analytic. Use an emulation framework that maps to T1529; never test the forced-crash route on production.
- Tighten rights in pilot rings: apply the user right changes to a pilot group of servers through a dedicated GPO, watch for broken backup or print operations for two weeks, then widen.
- Roll back: unlink the GPO to restore previous rights; on ESXi, lockdown mode can be disabled from vCenter, or from the DCUI in normal mode. Do not enable strict lockdown until vCenter availability and exception users are proven, because Broadcom notes a host may need reinstalling if the vCenter connection cannot be restored.
Metrics
- Percentage of servers, hypervisors and network devices forwarding shutdown and reboot records to the SIEM.
- Unplanned reboots per week that could not be matched to a change or a known tool (should trend to near zero).
- Number of accounts holding shutdown rights on domain controllers and backup servers.
- ESXi hosts in lockdown mode, as a share of production hosts.
- Time from a fleet-wide reboot burst to an analyst acknowledging it.
Common failure patterns
- Filtering reboots as noise: SIEM content often drops 1074 and 6008 because patching produces so many. Keep them and filter by baseline instead.
- Logs stored only on the host: a wiped or unbootable host takes its own evidence with it. Forward logs before the event, especially from ESXi.
- Watching shutdown.exe only: API calls and forced crashes leave no shutdown process; host status records are the backstop.
- Default rights on domain controllers: Server, Print and Backup Operators keep shutdown rights that nobody reviewed.
- Backup servers on the production domain: the Qilin pattern of rebooting the backup server works because the attacker already holds credentials that reach it.
- No accounting on network devices: a
reloadleaves only a reboot message unless command accounting records who issued it.
Framework mapping
| Framework | Reference | Relevance |
|---|---|---|
| MITRE ATT&CK | T1529; TA0040 Impact; DET0559 (AN1538 to AN1542) | Technique and detection analytics |
| MITRE ATT&CK (related) | T1561.002 Disk Structure Wipe; T1490 Inhibit System Recovery; T1489 Service Stop; T1059.008 Network Device CLI; T1134 Access Token Manipulation | Steps that usually precede or enable the reboot |
| NIST SP 800-53 Rev 5 | AC-6 Least Privilege; AC-6(10) Prohibit Non-privileged Users from Executing Privileged Functions | Shutdown user rights, lockdown mode, command authorisation |
| NIST SP 800-53 Rev 5 | AU-12 Audit Record Generation; AU-6 Audit Record Review; SI-4 System Monitoring | Host status, command and accounting logs |
| NIST SP 800-53 Rev 5 | CP-9 System Backup; CP-10 System Recovery and Reconstitution | Recovering hosts that will not boot |
| NIST CSF 2.0 | DE.CM-09; DE.AE-02; PR.AA-05; PR.IR-03; RC.RP-01 | Monitor, analyse, restrict access, resilience, recovery |
Practitioner checklist
- Forward Windows System events 1074, 6006, 6008 and 41, plus process creation, to the SIEM.
- Forward ESXi shell and hostd logs and network device accounting off the device.
- Alert on reboot bursts across the estate outside patch windows.
- Correlate disk, boot and backup tampering with a subsequent shutdown on the same host.
- Restrict Shut down the system on domain controllers to Administrators and review it on servers.
- Restrict Force shutdown from a remote system to named roles.
- Enable ESXi lockdown mode and keep exception users to specific service accounts.
- Enable TACACS+ command and system accounting on network devices.
- Review service accounts that hold shutdown-capable rights, especially backup identities.
- Test reimaging at scale for hosts that will not boot.
Standards and references
- MITRE ATT&CK: System Shutdown/Reboot (T1529)
- Microsoft: Troubleshoot unexpected reboots using system event logs
- Microsoft: Shut down the system user right
- Microsoft: Force shutdown from a remote system user right
- Broadcom: Enabling or disabling Lockdown mode on an ESXi host
- Cisco: Configuring Accounting
- ESET Research: DynoWiper update, technical analysis and attribution
- NIST: SP 800-53 Rev. 5 Security and Privacy Controls
Related NHI Mgmt Group resources: T1490 Inhibit System Recovery Defensive Guide · ATT&CK Impact Tactic Guide · MITRE ATT&CK T1486 Data Encrypted for Impact · ESXi Ransomware Playbook · Data Integrity Protection Against Destructive Attacks Guide