Generated docs from job=generate-docs branch=master [ci skip]
This commit is contained in:
@@ -38546,14 +38546,14 @@ privilege-escalation:
|
||||
text_to_append:
|
||||
description: Text to append to the ~/.profile file
|
||||
type: String
|
||||
default: "# Hello from Atomic Red Team T1546.004"
|
||||
default: "# Atomic Red Team was here... T1546.004"
|
||||
executor:
|
||||
elevation_required: false
|
||||
name: sh
|
||||
command: 'echo ''#{text_to_append}'' >> ~/.profile
|
||||
|
||||
'
|
||||
cleanup_command: 'sed -i "s/# Atomic Red Team was here! T1546.004//" ~/.profile
|
||||
cleanup_command: 'sed -i "s/# Atomic Red Team was here... T1546.004//" ~/.profile
|
||||
|
||||
'
|
||||
- name: System shell profile scripts
|
||||
@@ -38569,14 +38569,14 @@ privilege-escalation:
|
||||
text_to_append:
|
||||
description: Text to append to the /etc/profile.d/bash_completion.sh file
|
||||
type: String
|
||||
default: "# Hello from Atomic Red Team T1546.004"
|
||||
default: "# Atomic Red Team was here... T1546.004"
|
||||
executor:
|
||||
elevation_required: true
|
||||
name: sh
|
||||
command: 'echo ''#{text_to_append}'' >> /etc/profile.d/bash_completion.sh
|
||||
|
||||
'
|
||||
cleanup_command: 'sed -i "s/# Atomic Red Team was here! T1546.004//" /etc/profile.d/bash_completion.sh
|
||||
cleanup_command: 'sed -i "s/# Atomic Red Team was here... T1546.004//" /etc/profile.d/bash_completion.sh
|
||||
|
||||
'
|
||||
T1134.005:
|
||||
@@ -62237,14 +62237,14 @@ persistence:
|
||||
text_to_append:
|
||||
description: Text to append to the ~/.profile file
|
||||
type: String
|
||||
default: "# Hello from Atomic Red Team T1546.004"
|
||||
default: "# Atomic Red Team was here... T1546.004"
|
||||
executor:
|
||||
elevation_required: false
|
||||
name: sh
|
||||
command: 'echo ''#{text_to_append}'' >> ~/.profile
|
||||
|
||||
'
|
||||
cleanup_command: 'sed -i "s/# Atomic Red Team was here! T1546.004//" ~/.profile
|
||||
cleanup_command: 'sed -i "s/# Atomic Red Team was here... T1546.004//" ~/.profile
|
||||
|
||||
'
|
||||
- name: System shell profile scripts
|
||||
@@ -62260,14 +62260,14 @@ persistence:
|
||||
text_to_append:
|
||||
description: Text to append to the /etc/profile.d/bash_completion.sh file
|
||||
type: String
|
||||
default: "# Hello from Atomic Red Team T1546.004"
|
||||
default: "# Atomic Red Team was here... T1546.004"
|
||||
executor:
|
||||
elevation_required: true
|
||||
name: sh
|
||||
command: 'echo ''#{text_to_append}'' >> /etc/profile.d/bash_completion.sh
|
||||
|
||||
'
|
||||
cleanup_command: 'sed -i "s/# Atomic Red Team was here! T1546.004//" /etc/profile.d/bash_completion.sh
|
||||
cleanup_command: 'sed -i "s/# Atomic Red Team was here... T1546.004//" /etc/profile.d/bash_completion.sh
|
||||
|
||||
'
|
||||
T1547.002:
|
||||
|
||||
@@ -24829,14 +24829,14 @@ privilege-escalation:
|
||||
text_to_append:
|
||||
description: Text to append to the ~/.profile file
|
||||
type: String
|
||||
default: "# Hello from Atomic Red Team T1546.004"
|
||||
default: "# Atomic Red Team was here... T1546.004"
|
||||
executor:
|
||||
elevation_required: false
|
||||
name: sh
|
||||
command: 'echo ''#{text_to_append}'' >> ~/.profile
|
||||
|
||||
'
|
||||
cleanup_command: 'sed -i "s/# Atomic Red Team was here! T1546.004//" ~/.profile
|
||||
cleanup_command: 'sed -i "s/# Atomic Red Team was here... T1546.004//" ~/.profile
|
||||
|
||||
'
|
||||
- name: System shell profile scripts
|
||||
@@ -24852,14 +24852,14 @@ privilege-escalation:
|
||||
text_to_append:
|
||||
description: Text to append to the /etc/profile.d/bash_completion.sh file
|
||||
type: String
|
||||
default: "# Hello from Atomic Red Team T1546.004"
|
||||
default: "# Atomic Red Team was here... T1546.004"
|
||||
executor:
|
||||
elevation_required: true
|
||||
name: sh
|
||||
command: 'echo ''#{text_to_append}'' >> /etc/profile.d/bash_completion.sh
|
||||
|
||||
'
|
||||
cleanup_command: 'sed -i "s/# Atomic Red Team was here! T1546.004//" /etc/profile.d/bash_completion.sh
|
||||
cleanup_command: 'sed -i "s/# Atomic Red Team was here... T1546.004//" /etc/profile.d/bash_completion.sh
|
||||
|
||||
'
|
||||
T1134.005:
|
||||
@@ -41596,14 +41596,14 @@ persistence:
|
||||
text_to_append:
|
||||
description: Text to append to the ~/.profile file
|
||||
type: String
|
||||
default: "# Hello from Atomic Red Team T1546.004"
|
||||
default: "# Atomic Red Team was here... T1546.004"
|
||||
executor:
|
||||
elevation_required: false
|
||||
name: sh
|
||||
command: 'echo ''#{text_to_append}'' >> ~/.profile
|
||||
|
||||
'
|
||||
cleanup_command: 'sed -i "s/# Atomic Red Team was here! T1546.004//" ~/.profile
|
||||
cleanup_command: 'sed -i "s/# Atomic Red Team was here... T1546.004//" ~/.profile
|
||||
|
||||
'
|
||||
- name: System shell profile scripts
|
||||
@@ -41619,14 +41619,14 @@ persistence:
|
||||
text_to_append:
|
||||
description: Text to append to the /etc/profile.d/bash_completion.sh file
|
||||
type: String
|
||||
default: "# Hello from Atomic Red Team T1546.004"
|
||||
default: "# Atomic Red Team was here... T1546.004"
|
||||
executor:
|
||||
elevation_required: true
|
||||
name: sh
|
||||
command: 'echo ''#{text_to_append}'' >> /etc/profile.d/bash_completion.sh
|
||||
|
||||
'
|
||||
cleanup_command: 'sed -i "s/# Atomic Red Team was here! T1546.004//" /etc/profile.d/bash_completion.sh
|
||||
cleanup_command: 'sed -i "s/# Atomic Red Team was here... T1546.004//" /etc/profile.d/bash_completion.sh
|
||||
|
||||
'
|
||||
T1547.002:
|
||||
|
||||
@@ -149,7 +149,7 @@ An adversary may wish to establish persistence by executing malicious commands f
|
||||
#### Inputs:
|
||||
| Name | Description | Type | Default Value |
|
||||
|------|-------------|------|---------------|
|
||||
| text_to_append | Text to append to the ~/.profile file | String | # Hello from Atomic Red Team T1546.004|
|
||||
| text_to_append | Text to append to the ~/.profile file | String | # Atomic Red Team was here... T1546.004|
|
||||
|
||||
|
||||
#### Attack Commands: Run with `sh`!
|
||||
@@ -161,7 +161,7 @@ echo '#{text_to_append}' >> ~/.profile
|
||||
|
||||
#### Cleanup Commands:
|
||||
```sh
|
||||
sed -i "s/# Atomic Red Team was here! T1546.004//" ~/.profile
|
||||
sed -i "s/# Atomic Red Team was here... T1546.004//" ~/.profile
|
||||
```
|
||||
|
||||
|
||||
@@ -186,7 +186,7 @@ An adversary may wish to establish persistence by adding commands into any of th
|
||||
#### Inputs:
|
||||
| Name | Description | Type | Default Value |
|
||||
|------|-------------|------|---------------|
|
||||
| text_to_append | Text to append to the /etc/profile.d/bash_completion.sh file | String | # Hello from Atomic Red Team T1546.004|
|
||||
| text_to_append | Text to append to the /etc/profile.d/bash_completion.sh file | String | # Atomic Red Team was here... T1546.004|
|
||||
|
||||
|
||||
#### Attack Commands: Run with `sh`! Elevation Required (e.g. root or admin)
|
||||
@@ -198,7 +198,7 @@ echo '#{text_to_append}' >> /etc/profile.d/bash_completion.sh
|
||||
|
||||
#### Cleanup Commands:
|
||||
```sh
|
||||
sed -i "s/# Atomic Red Team was here! T1546.004//" /etc/profile.d/bash_completion.sh
|
||||
sed -i "s/# Atomic Red Team was here... T1546.004//" /etc/profile.d/bash_completion.sh
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user