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}"