Adversaries may shutdown/reboot systems to interrupt access to, or aid in the destruction of, those systems. Operating systems may contain commands to initiate a shutdown/reboot of a machine. In some cases, these commands may also be used to initiate a shutdown/reboot of a remote computer.(Citation: Microsoft Shutdown Oct 2017) Shutting down or rebooting systems may disrupt access to computer resources for legitimate users.Adversaries may attempt to shutdown/reboot a system after impacting it in other ways, such as Disk Structure Wipe or Inhibit System Recovery, to hasten the intended effects on system availability.(Citation: Talos Nyetya June 2017)(Citation: Talos Olympic Destroyer 2018)
This test shuts down a Windows system.
Supported Platforms: Windows
Name | Description | Type | Default Value |
---|---|---|---|
timeout | Timeout period before shutdown (seconds) | string | 1 |
shutdown /s /t #{timeout}
This test restarts a Windows system.
Supported Platforms: Windows
Name | Description | Type | Default Value |
---|---|---|---|
timeout | Timeout period before restart (seconds) | string | 1 |
shutdown /r /t #{timeout}
This test restarts a macOS/Linux system.
Supported Platforms: macOS, Linux
Name | Description | Type | Default Value |
---|---|---|---|
timeout | Time to restart (can be minutes or specific time) | string | now |
shutdown -r #{timeout}
This test shuts down a macOS/Linux system using a halt.
Supported Platforms: macOS, Linux
Name | Description | Type | Default Value |
---|---|---|---|
timeout | Time to shutdown (can be minutes or specific time) | string | now |
shutdown -h #{timeout}
This test restarts a macOS/Linux system via reboot
.
Supported Platforms: macOS, Linux
reboot
This test shuts down a Linux system using halt
.
Supported Platforms: Linux
halt -p
This test restarts a Linux system using halt
.
Supported Platforms: Linux
halt --reboot
This test shuts down a Linux system using poweroff
.
Supported Platforms: Linux
poweroff
This test restarts a Linux system using poweroff
.
Supported Platforms: Linux
poweroff --reboot