Files
atomic-red-team/atomics/T1529/T1529.yaml
T
2019-10-24 10:22:24 -07:00

43 lines
1.3 KiB
YAML

---
attack_technique: T1529
display_name: System Shutdown/Reboot
atomic_tests:
- name: Shutdown System - Windows
description: |
This test shuts down a Windows system.
supported_platforms:
- windows
input_arguments:
timeout:
description: Timeout period before shutdown (seconds)
type: string
default: 1
executor:
name: command_prompt
elevation_required: true # indicates whether command must be run with admin privileges. If the elevation_required attribute is not defined, the value is assumed to be false
command: | # these are the actaul attack commands, at least one command must be provided
shutdown /s /t #{timeout}
- name: Restart System - Windows
description: |
This test restarts a Windows system.
supported_platforms:
- windows
input_arguments:
timeout:
description: Timeout period before restart (seconds)
type: string
default: 1
executor:
name: command_prompt
elevation_required: true # indicates whether command must be run with admin privileges. If the elevation_required attribute is not defined, the value is assumed to be false
command: | # these are the actaul attack commands, at least one command must be provided
shutdown /r /t #{timeout}