Adversaries may impair a system's ability to hibernate, reboot, or shut down in order to extend access to infected machines. When a computer enters a dormant state, some or all software and hardware may cease to operate which can disrupt malicious activity.[1]
Adversaries may abuse system utilities and configuration settings to maintain access by preventing machines from entering a state, such as standby, that can terminate malicious activity.[2][3]
For example, powercfg controls all configurable power system settings on a Windows system and can be abused to prevent an infected host from locking or shutting down.[4] Adversaries may also extend system lock screen timeout settings.[5] Other relevant settings, such as disk and hibernate timeout, can be similarly abused to keep the infected machine running even if no user is active.[6]
Aware that some malware cannot survive system reboots, adversaries may entirely delete files used to invoke system shut down or reboot.[7]
Involved exploitation of CVE-2024-20353 to force a victim Cisco ASA to reboot, triggering the automated unzipping and execution of the Line Runner implant.1
2023–2024
All 1 campaigns for this technique
2 software entries are documented implementing this technique. MITRE files each as a tool or as malware; newest first, then by how many groups carry them.
Can modify the crash dump process on infected machines to skip crash dump generation and proceed directly to device reboot for both persistence and forensic evasion purposes.1
created 2025-01-06MALWARE
All 2 software entries for this technique
Offense vs defense T1653
Compare defenses against adversary use. Eight counts, ranking this technique against the entire ATT&CK Enterprise matrix. Attack sits left, defense right.
Range
Technique Campaign use over its cumulative rule count.
Pick your platform, collect the listed log sources, then tune the fields to your environment.
Detection Strategy for Power Settings Abuse
Enterprise
3 platforms
AN1174 · Windows
Monitor command execution of powercfg.exe with arguments modifying sleep, hibernate, or display timeouts. Abnormal or repeated modifications to power settings outside administrative baselines may indicate persistence attempts. Correlate process creation with registry and system configuration changes to build behavioral chains.
Log sources
The data this analytic draws on. You do not need every component — each one you already collect covers part of it. Each links to its ATT&CK record.
MITRE calls these the analytic’s mutable elements: the thresholds and filters you set for your own environment.
Field
What you tune
AllowedAdminTools
Whitelist expected administrative scripts that legitimately modify power settings.
TimeWindow
Correlation period between powercfg.exe invocation and registry/policy changes.
AN1175 · Linux
Detect execution of system utilities (systemctl, systemd-inhibit, systemdsleep) modifying sleep or hibernate behavior. Abnormal edits to system configuration files (e.g., /etc/systemd/sleep.conf) should be correlated with process execution to identify persistence techniques.
Log sources
The data this analytic draws on. You do not need every component — each one you already collect covers part of it. Each links to its ATT&CK record.
execve: Execution of systemctl, loginctl, or systemd-inhibit commands related to sleep/hibernate
Tunable fields
MITRE calls these the analytic’s mutable elements: the thresholds and filters you set for your own environment.
Field
What you tune
KnownMaintenanceWindows
Filter benign modifications during patching or system maintenance intervals.
AN1176 · macOS
Monitor pmset command executions altering sleep/hibernate/standby parameters. Unexpected modifications to /Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist or similar files should be correlated with process activity.
Log sources
The data this analytic draws on. You do not need every component — each one you already collect covers part of it. Each links to its ATT&CK record.
Periodically inspect systems for abnormal and unexpected power settings that may indicate malicious activty.
Tests5Executorspowershell 5Need elevation5 of 5Have prerequisites0Have cleanup5Platformswindows
#
Test
Platform
Executor
Elevation
Prereqs
Cleanup
Ref
01
Prevent system sleep via powercfg (AC/DC standby timeout)
windows
powershell
Required
—
Yes
Sets the active power plan's AC and DC standby timeouts to 0 (never), preventing the system from sleeping. Mirrors adversary abuse of powercfg to keep an infected host active indefinitely.
Expected output: system will no longer enter standby on either AC or battery power until cleanup restores the original value.
Attack Commandsrun with powershellelevation required (root or admin)
Disables hibernation entirely using powercfg /hibernate off, removing a disruption point that could terminate malicious activity when the system enters a dormant state.
Expected output: hibernation is disabled; hiberfil.sys is removed. Cleanup re-enables hibernation.
Attack Commandsrun with powershellelevation required (root or admin)
if ($script:hibernateWasEnabled) { powercfg /hibernate on }
GUIDeb271877-e47d-4c13-aa1a-2735b2a93a07
03
Extend console lock display timeout via powercfg
windows
powershell
Required
—
Yes
Extends the console lock display timeout to a large value, delaying automatic screen-off while the PC is locked and keeping the session's display active longer than the configured policy intends.
Expected output: display will not turn off on the lock screen until cleanup restores the original timeout.
Attack Commandsrun with powershellelevation required (root or admin)
Impair system shutdown capability by denying execute on shutdown.exe
windows
powershell
Required
—
Yes
Takes ownership of shutdown.exe (required since it's normally owned by TrustedInstaller) and denies the Everyone group execute permission, simulating adversary impairment of a system's ability to shut down without deleting the binary outright. Cleanup restores both the original ACL and ownership.
Expected output: running shutdown.exe will fail with access denied until cleanup restores permissions and ownership.
Attack Commandsrun with powershellelevation required (root or admin)
Disable Fast Startup via direct registry modification (HiberbootEnabled)
windows
powershell
Required
—
Yes
Directly modifies HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Power\HiberbootEnabled rather than using the powercfg CLI, altering how the system behaves on shutdown (full shutdown vs. hybrid hibernate-backed fast startup). Exercises the registry-based detection path MITRE cites for this technique (monitoring HKLM\SYSTEM\CurrentControlSet\Control\Power and subkeys), distinct from the CLI-driven tests above.
Expected output: Fast Startup is disabled; next shutdown will perform a full shutdown rather than a hybrid hibernate. Cleanup restores the original registry value.
Attack Commandsrun with powershellelevation required (root or admin)