shutdown.exe

  • File Path: C:\windows\SysWOW64\shutdown.exe
  • Description: Windows Shutdown and Annotation Tool

Hashes

Type Hash
MD5 C973B3C3149C0CBACD0B252C28403F81
SHA1 A1E742887CCE12C65E9ED7BE58938DB6317C9DB0
SHA256 08EEF39A50BBC70E4257CAEA1DF39BCFE2CF3EF725A54C3BFA01DA3A9046ECEE
SHA384 E55B16276DD67C59E25642D05932E41EB24A7916416B25317861A115276FA385BC449A81503C7F35E8F7AFFB46FE3A9F
SHA512 98BF49C8F3E649FAFBEC328A69D575AD8219D41AF05C68CA1C1F612A5696028814129A4E1DBA08A5C80CBC2EBA9E368327B132DC4D6C798F444BCECDACB754DB
SSDEEP 384:qYdSqaeKLOPhP+2QeFGKK4b71gcZ1vgnmuwL4d9rw9BTk4rZFmXnYpgVlrQPWX+p:MNS0eGu7151vgsMrwnTkuq5brD+p

Signature

  • Status: The file C:\windows\SysWOW64\shutdown.exe is not digitally signed. You cannot run this script on the current system. For more information about running scripts and setting execution policy, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170
  • Serial: ``
  • Thumbprint: ``
  • Issuer:
  • Subject:

File Metadata

  • Original Filename: SHUTDOWN.EXE.MUI
  • Product Name: Microsoft Windows Operating System
  • Company Name: Microsoft Corporation
  • File Version: 6.3.9600.16384 (winblue_rtm.130821-1623)
  • Product Version: 6.3.9600.16384
  • Language: English (United States)
  • Legal Copyright: Microsoft Corporation. All rights reserved.

Possible Misuse

The following table contains possible examples of shutdown.exe being misused. While shutdown.exe is not inherently malicious, its legitimate functionality can be abused for malicious purposes.

Source Source File Example License
sigma lnx_auditd_system_shutdown_reboot.yml title: 'System Shutdown/Reboot' DRL 1.0
sigma lnx_auditd_system_shutdown_reboot.yml description: 'Adversaries may shutdown/reboot systems to interrupt access to, or aid in the destruction of, those systems.' DRL 1.0
sigma lnx_auditd_system_shutdown_reboot.yml - 'shutdown' DRL 1.0
sigma proc_creation_macos_system_shutdown_reboot.yml title: 'System Shutdown/Reboot' DRL 1.0
sigma proc_creation_macos_system_shutdown_reboot.yml description: 'Adversaries may shutdown/reboot systems to interrupt access to, or aid in the destruction of, those systems.' DRL 1.0
sigma proc_creation_macos_system_shutdown_reboot.yml - '/shutdown' DRL 1.0
sigma cisco_cli_dos.yml description: Detect a system being shutdown or put into different boot mode DRL 1.0
sigma cisco_cli_dos.yml - 'shutdown' DRL 1.0
sigma proc_creation_win_crime_snatch_ransomware.yml # Shutdown in safe mode immediately DRL 1.0
sigma proc_creation_win_crime_snatch_ransomware.yml - 'shutdown /r /f /t 00' DRL 1.0
sigma proc_creation_win_crime_snatch_ransomware.yml - Scripts that shutdown the system immediately and reboot them in safe mode are unlikely DRL 1.0
sigma proc_creation_win_susp_shutdown.yml title: Suspicious Execution of Shutdown DRL 1.0
sigma proc_creation_win_susp_shutdown.yml description: Use of the commandline to shutdown or reboot windows DRL 1.0
sigma proc_creation_win_susp_shutdown.yml - https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/shutdown DRL 1.0
sigma proc_creation_win_susp_shutdown.yml Image\|endswith: \shutdown.exe DRL 1.0
sigma registry_event_asep_reg_keys_modification.yml - '\Group Policy\Scripts\Shutdown' DRL 1.0
sigma registry_event_asep_reg_keys_modification.yml - '\Shutdown' DRL 1.0
sigma registry_event_asep_reg_keys_modification_currentversion.yml - '\Group Policy\Scripts\Shutdown' DRL 1.0
sigma registry_event_asep_reg_keys_modification_system_scripts.yml - '\Shutdown' DRL 1.0
malware-ioc rtm shutdown © ESET 2014-2018
atomic-red-team index.md - T1529 System Shutdown/Reboot MIT License. © 2018 Red Canary
atomic-red-team index.md - Atomic Test #1: Shutdown System - Windows [windows] MIT License. © 2018 Red Canary
atomic-red-team index.md - Atomic Test #3: Restart System via shutdown - macOS/Linux [macos, linux] MIT License. © 2018 Red Canary
atomic-red-team index.md - Atomic Test #4: Shutdown System via shutdown - macOS/Linux [macos, linux] MIT License. © 2018 Red Canary
atomic-red-team index.md - Atomic Test #6: Shutdown System via halt - Linux [linux] MIT License. © 2018 Red Canary
atomic-red-team index.md - Atomic Test #8: Shutdown System via poweroff - Linux [linux] MIT License. © 2018 Red Canary
atomic-red-team linux-index.md - T1529 System Shutdown/Reboot MIT License. © 2018 Red Canary
atomic-red-team linux-index.md - Atomic Test #3: Restart System via shutdown - macOS/Linux [macos, linux] MIT License. © 2018 Red Canary
atomic-red-team linux-index.md - Atomic Test #4: Shutdown System via shutdown - macOS/Linux [macos, linux] MIT License. © 2018 Red Canary
atomic-red-team linux-index.md - Atomic Test #6: Shutdown System via halt - Linux [linux] MIT License. © 2018 Red Canary
atomic-red-team linux-index.md - Atomic Test #8: Shutdown System via poweroff - Linux [linux] MIT License. © 2018 Red Canary
atomic-red-team macos-index.md - T1529 System Shutdown/Reboot MIT License. © 2018 Red Canary
atomic-red-team macos-index.md - Atomic Test #3: Restart System via shutdown - macOS/Linux [macos, linux] MIT License. © 2018 Red Canary
atomic-red-team macos-index.md - Atomic Test #4: Shutdown System via shutdown - macOS/Linux [macos, linux] MIT License. © 2018 Red Canary
atomic-red-team windows-index.md - T1529 System Shutdown/Reboot MIT License. © 2018 Red Canary
atomic-red-team windows-index.md - Atomic Test #1: Shutdown System - Windows [windows] MIT License. © 2018 Red Canary
atomic-red-team linux-matrix.md | | | Implant Internal Image CONTRIBUTE A TEST | Setuid and Setgid | Dynamic Linker Hijacking | Private Keys | System Checks | | Remote Email Collection CONTRIBUTE A TEST | | Multiband Communication CONTRIBUTE A TEST | System Shutdown/Reboot | MIT License. © 2018 Red Canary
atomic-red-team macos-matrix.md | | | Modify Authentication Process CONTRIBUTE A TEST | Re-opened Applications | Hidden Window CONTRIBUTE A TEST | Steal Web Session Cookie CONTRIBUTE A TEST | System Owner/User Discovery | | | | Multiband Communication CONTRIBUTE A TEST | System Shutdown/Reboot | MIT License. © 2018 Red Canary
atomic-red-team matrix.md | | Scheduled Task | Container Orchestration Job | Default Accounts | DLL Search Order Hijacking | Keychain | Query Registry | | Local Email Collection | | Multiband Communication CONTRIBUTE A TEST | System Shutdown/Reboot | MIT License. © 2018 Red Canary
atomic-red-team windows-matrix.md | | Windows Management Instrumentation | Domain Account | Dynamic-link Library Injection | Disable or Modify System Firewall | Man-in-the-Middle CONTRIBUTE A TEST | System Location Discovery CONTRIBUTE A TEST | | Remote Data Staging CONTRIBUTE A TEST | | Multiband Communication CONTRIBUTE A TEST | System Shutdown/Reboot | MIT License. © 2018 Red Canary
atomic-red-team T1529.md # T1529 - System Shutdown/Reboot MIT License. © 2018 Red Canary
atomic-red-team T1529.md <blockquote>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. MIT License. © 2018 Red Canary
atomic-red-team T1529.md 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)</blockquote> MIT License. © 2018 Red Canary
atomic-red-team T1529.md - Atomic Test #1 - Shutdown System - Windows MIT License. © 2018 Red Canary
atomic-red-team T1529.md - Atomic Test #3 - Restart System via shutdown - macOS/Linux MIT License. © 2018 Red Canary
atomic-red-team T1529.md - Atomic Test #4 - Shutdown System via shutdown - macOS/Linux MIT License. © 2018 Red Canary
atomic-red-team T1529.md - Atomic Test #6 - Shutdown System via halt - Linux MIT License. © 2018 Red Canary
atomic-red-team T1529.md - Atomic Test #8 - Shutdown System via poweroff - Linux MIT License. © 2018 Red Canary
atomic-red-team T1529.md ## Atomic Test #1 - Shutdown System - Windows MIT License. © 2018 Red Canary
atomic-red-team T1529.md | timeout | Timeout period before shutdown (seconds) | Integer | 1| MIT License. © 2018 Red Canary
atomic-red-team T1529.md shutdown /s /t #{timeout} MIT License. © 2018 Red Canary
atomic-red-team T1529.md shutdown /r /t #{timeout} MIT License. © 2018 Red Canary
atomic-red-team T1529.md ## Atomic Test #3 - Restart System via shutdown - macOS/Linux MIT License. © 2018 Red Canary
atomic-red-team T1529.md shutdown -r #{timeout} MIT License. © 2018 Red Canary
atomic-red-team T1529.md ## Atomic Test #4 - Shutdown System via shutdown - macOS/Linux MIT License. © 2018 Red Canary
atomic-red-team T1529.md | timeout | Time to shutdown (can be minutes or specific time) | String | now| MIT License. © 2018 Red Canary
atomic-red-team T1529.md shutdown -h #{timeout} MIT License. © 2018 Red Canary
atomic-red-team T1529.md ## Atomic Test #6 - Shutdown System via halt - Linux MIT License. © 2018 Red Canary
atomic-red-team T1529.md ## Atomic Test #8 - Shutdown System via poweroff - Linux MIT License. © 2018 Red Canary
atomic-red-team T1546.002.md shutdown /r /t 0 MIT License. © 2018 Red Canary
signature-base apt_blackenergy.yar $s3 = “shutdown /r /t %d” fullword ascii CC BY-NC 4.0
signature-base apt_blackenergy.yar $s9 = “shutdown.exe” fullword wide /* Goodware String - occured 1 times */ CC BY-NC 4.0
signature-base apt_grizzlybear_uscert.yar $DK_shutdown = “shutdown /r /t %d” CC BY-NC 4.0
signature-base apt_keylogger_cn.yar $s3 = “shutdown.exe -r -t 0” fullword ascii CC BY-NC 4.0
signature-base apt_turbo_campaign.yar $s32 = “shutdown” CC BY-NC 4.0
signature-base crime_cn_campaign_njrat.yar $s7 = “shutdown -r -t 00” fullword wide CC BY-NC 4.0
signature-base gen_rats_malwareconfig.yar $c2 = “shutdown -r -t 00” wide CC BY-NC 4.0
signature-base pua_xmrig_monero_miner.yar $s2 = “* COMMANDS: ‘h’ hashrate, ‘p’ pause, ‘r’ resume, ‘q’ shutdown” fullword ascii CC BY-NC 4.0
stockpile 0821b0b0-7902-4a7b-8052-80bda5a43684.yml name: Shutdown Target System Apache-2.0
stockpile 0821b0b0-7902-4a7b-8052-80bda5a43684.yml description: Force shutdown a target system using Process Injection and raw shellcode Apache-2.0

Additional Info*

*The information below is copied from MicrosoftDocs, which is maintained by Microsoft. Available under CC BY 4.0 license.


shutdown

Enables you to shut down or restart local or remote computers, one at a time.

Syntax

shutdown [/i | /l | /s | /sg | /r | /g | /a | /p | /h | /e | /o] [/hybrid] [/fw] [/f] [/m \\computer][/t xxx][/d [p|u:]xx:yy [/c "comment"]]

Parameters

Parameter Description
/i Displays the Remote Shutdown box. The /i option must be the first parameter following the command. If /i is specified, all other options are ignored.
/l Logs off the current user immediately, with no time-out period. You cannot use /l with /m or /t.
/s Shuts down the computer.
/sg Shuts down the computer. On the next boot, if Automatic Restart Sign-On is enabled, the device automatically signs in and locks based on the last interactive user. After sign in, it restarts any registered applications.
/r Restarts the computer after shutdown.
/g Shuts down the computer. On the next restart, if Automatic Restart Sign-On is enabled, the device automatically signs in and locks based on the last interactive user. After sign in, it restarts any registered applications.
/a Aborts a system shutdown. Effective only during the time-out period. To use /a, you must also use the /m option.
/p Turns off the local computer only (not a remote computer)—with no time-out period or warning. You can use /p only with /d or /f. If your computer doesn’t support power-off functionality, it will shut down when you use /p, but the power to the computer will remain on.
/h Puts the local computer into hibernation, if hibernation is enabled. You can use /h only with /f.
hybrid Shuts down the device and prepares it for fast startup. This option must be used with the /s option.
/fw Combining this option with a shutdown option causes the next restart to go to the firmware user interface.
/e Enables you to document the reason for the unexpected shutdown on the target computer.
/o Goes to the Advanced boot options menu and restarts the device. This option must be used with the /r option.
/f Forces running applications to close without warning users.
Caution: Using the /f option might result in loss of unsaved data.
/m \\<computername> Specifies the target computer. Can’t be used with the /l option.
/t <xxx> Sets the time-out period before shutdown to xxx seconds. The valid range is 0-315360000 (10 years), with a default of 30. If the timeout period is greater than 0, the /f parameter is implied.
/d [p | u:]<XX>:<YY> Lists the reason for the system restart or shutdown. The supported parameter values are:<ul><li>p - Indicates that the restart or shutdown is planned.</li><li>u - Indicates that the reason is user-defined.<p>NOTE
If p or u aren’t specified, the restart or shutdown is unplanned.</li><li>xx - Specifies the major reason number (a positive integer, less than 256).</li><li>yy Specifies the minor reason number (a positive integer, less than 65536).</li></ul>
/c <comment> Enables you to comment in detail about the reason for the shutdown. You must first provide a reason by using the /d option and you must enclose your comments in quotation marks. You can use a maximum of 511 characters.
/? Displays help at the command prompt, including a list of the major and minor reasons that are defined on your local computer.
Remarks
  • Users must be assigned the Shut down the system user right to shut down a local or remotely administered computer that is using the shutdown command.

  • Users must be members of the Administrators group to annotate an unexpected shutdown of a local or remotely administered computer. If the target computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. For more information, see:

  • If you want to shut down more than one computer at a time, you can call shutdown for each computer by using a script, or you can use shutdown /i to display the Remote Shutdown box.

  • If you specify major and minor reason codes, you must first define these reason codes on each computer where you plan to use the reasons. If the reason codes aren’t defined on the target computer, Shutdown Event Tracker can’t log the correct reason text.

  • Remember to indicate that a shutdown is planned by using the p parameter. Not using the p parameter, indicates that the shutdown was unplanned.

    • Using the p parameter, along the reason code for an unplanned shutdown, causes the shutdown to fail.

    • Not using the p parameter, and only providing the reason code for an planned shutdown, also causes the shutdown to fail

Examples

To force apps to close and to restart the local computer after a one-minute delay, with the reason Application: Maintenance (Planned) and the comment “Reconfiguring myapp.exe”, type:

shutdown /r /t 60 /c "Reconfiguring myapp.exe" /f /d p:4:1

To restart the remote computer myremoteserver with the same parameters as the previous example, type:

shutdown /r /m \\myremoteserver /t 60 /c "Reconfiguring myapp.exe" /f /d p:4:1

Additional References


MIT License. Copyright (c) 2020-2021 Strontic.