Files
atomic-red-team/atomics/T1037/T1037.yaml
T
caseysmithrc a1dddca13c fix
2018-05-24 07:49:17 -06:00

23 lines
455 B
YAML

---
attack_technique: T1037
display_name: Logon Scripts
atomic_tests:
- name: Logon Scripts
description: |
Added Via Reg.exe
supported_platforms:
- windows
input_arguments:
script_command:
description: Command To Execute
type: String
default: cmd.exe /c calc.exe
executor:
name: command_prompt
command: |
REG.exe ADD HKCU\Environment /v UserInitMprLogonScript /t REG_MULTI_SZ /d "#{script_command}"