From e2e66117b81c03b524d8ca0b7cf2d5ac7bf4f72d Mon Sep 17 00:00:00 2001 From: Atomic Red Team doc generator Date: Mon, 13 Feb 2023 22:53:46 +0000 Subject: [PATCH] Generated docs from job=generate-docs branch=master [ci skip] --- atomics/Indexes/index.yaml | 16 ++++++++-------- atomics/Indexes/linux-index.yaml | 16 ++++++++-------- atomics/T1546.004/T1546.004.md | 8 ++++---- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/atomics/Indexes/index.yaml b/atomics/Indexes/index.yaml index 03b2dc98..9d5402d4 100644 --- a/atomics/Indexes/index.yaml +++ b/atomics/Indexes/index.yaml @@ -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: diff --git a/atomics/Indexes/linux-index.yaml b/atomics/Indexes/linux-index.yaml index ae85961b..6d2873ac 100644 --- a/atomics/Indexes/linux-index.yaml +++ b/atomics/Indexes/linux-index.yaml @@ -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: diff --git a/atomics/T1546.004/T1546.004.md b/atomics/T1546.004/T1546.004.md index 0da3c55a..eaae56c8 100644 --- a/atomics/T1546.004/T1546.004.md +++ b/atomics/T1546.004/T1546.004.md @@ -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 ```