Files
atomic-red-team/atomics/T1124/T1124.yaml
T
Josh Rickard 1513717eb2 Updating atomics to conform to standard (#1619)
* Updated format of input_argument types for Url

* Updated type for input_arguments to Url (missed)

* Updating Path type for input_arguments

* Updated String type for input_arguments

* Missed a few Strings and Url types

* Updated default values for input_arguments to align with their types

* Updated Integer type for input_arguments

* Updated formatting and spacing of atomics
2021-09-03 18:20:46 -06:00

30 lines
865 B
YAML

attack_technique: T1124
display_name: System Time Discovery
atomic_tests:
- name: System Time Discovery
auto_generated_guid: 20aba24b-e61f-4b26-b4ce-4784f763ca20
description: |
Identify the system time. Upon execution, the local computer system time and timezone will be displayed.
supported_platforms:
- windows
input_arguments:
computer_name:
description: computer name to query
type: String
default: localhost
executor:
command: |
net time \\#{computer_name}
w32tm /tz
name: command_prompt
- name: System Time Discovery - PowerShell
auto_generated_guid: 1d5711d6-655c-4a47-ae9c-6503c74fa877
description: |
Identify the system time via PowerShell. Upon execution, the system time will be displayed.
supported_platforms:
- windows
executor:
command: |
Get-Date
name: powershell