From 7f7fb3a9e63b5ef0038beaf364ee9cf003cca0bb Mon Sep 17 00:00:00 2001 From: CircleCI Atomic Red Team doc generator Date: Mon, 9 Mar 2020 21:52:28 +0000 Subject: [PATCH] Generate docs from job=validate_atomics_generate_docs branch=master --- atomics/T1136/T1136.md | 3 ++- atomics/index.yaml | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/atomics/T1136/T1136.md b/atomics/T1136/T1136.md index 6a6a790a..6e48bf91 100644 --- a/atomics/T1136/T1136.md +++ b/atomics/T1136/T1136.md @@ -102,11 +102,12 @@ Creates a new user in a command prompt | Name | Description | Type | Default Value | |------|-------------|------|---------------| | username | Username of the user to create | String | T1136_CMD| +| password | Password of the user to create | String | T1136_CMD!| #### Attack Commands: Run with `command_prompt`! Elevation Required (e.g. root or admin) ``` -net user /add "#{username}" +net user /add "#{username}" "#{password}" ``` #### Cleanup Commands: diff --git a/atomics/index.yaml b/atomics/index.yaml index 13613fc6..0b3278c1 100644 --- a/atomics/index.yaml +++ b/atomics/index.yaml @@ -1176,10 +1176,14 @@ persistence: description: Username of the user to create type: String default: T1136_CMD + password: + description: Password of the user to create + type: String + default: T1136_CMD! executor: name: command_prompt elevation_required: true - command: 'net user /add "#{username}" + command: 'net user /add "#{username}" "#{password}" ' cleanup_command: 'net user /del "#{username}"