Files
atomic-red-team/atomics/T1124/T1124.yaml
T
Michael Haag b512869c36 Powershell fixes
Fixed per issue #322
2018-09-05 11:35:24 -04:00

36 lines
628 B
YAML

---
attack_technique: T1124
display_name: System Time Discovery
atomic_tests:
- name: System Time Discovery
description: |
Identify the system time
supported_platforms:
- windows
input_arguments:
computer_name:
description: computer name to query
type: string
default: computer1
executor:
name: command_prompt
command: |
net time \\#{computer_name}
w32tm /tz
- name: System Time Discovery - PowerShell
description: |
Identify the system time via PowerShell
supported_platforms:
- windows
executor:
name: powershell
command: |
Get-Date