diff --git a/atomics/Indexes/index.yaml b/atomics/Indexes/index.yaml index d65f5bbb..d47fc2aa 100644 --- a/atomics/Indexes/index.yaml +++ b/atomics/Indexes/index.yaml @@ -54108,10 +54108,14 @@ execution: description: Script path type: path default: "/tmp/art.sh" + host: + description: Host to ping + type: string + default: 8.8.8.8 executor: command: | sh -c "echo 'echo Hello from the Atomic Red Team' > #{script_path}" - sh -c "echo 'ping -c 4 8.8.8.8' >> #{script_path}" + sh -c "echo 'ping -c 4 #{host}' >> #{script_path}" chmod +x #{script_path} sh #{script_path} cleanup_command: 'rm #{script_path} diff --git a/atomics/Indexes/linux-index.yaml b/atomics/Indexes/linux-index.yaml index 7974edae..82686fd8 100644 --- a/atomics/Indexes/linux-index.yaml +++ b/atomics/Indexes/linux-index.yaml @@ -31363,10 +31363,14 @@ execution: description: Script path type: path default: "/tmp/art.sh" + host: + description: Host to ping + type: string + default: 8.8.8.8 executor: command: | sh -c "echo 'echo Hello from the Atomic Red Team' > #{script_path}" - sh -c "echo 'ping -c 4 8.8.8.8' >> #{script_path}" + sh -c "echo 'ping -c 4 #{host}' >> #{script_path}" chmod +x #{script_path} sh #{script_path} cleanup_command: 'rm #{script_path} diff --git a/atomics/Indexes/macos-index.yaml b/atomics/Indexes/macos-index.yaml index 79da890b..d8e95083 100644 --- a/atomics/Indexes/macos-index.yaml +++ b/atomics/Indexes/macos-index.yaml @@ -29352,10 +29352,14 @@ execution: description: Script path type: path default: "/tmp/art.sh" + host: + description: Host to ping + type: string + default: 8.8.8.8 executor: command: | sh -c "echo 'echo Hello from the Atomic Red Team' > #{script_path}" - sh -c "echo 'ping -c 4 8.8.8.8' >> #{script_path}" + sh -c "echo 'ping -c 4 #{host}' >> #{script_path}" chmod +x #{script_path} sh #{script_path} cleanup_command: 'rm #{script_path} diff --git a/atomics/T1059.004/T1059.004.md b/atomics/T1059.004/T1059.004.md index 9c0f8dac..a56c4930 100644 --- a/atomics/T1059.004/T1059.004.md +++ b/atomics/T1059.004/T1059.004.md @@ -53,6 +53,7 @@ Creates and executes a simple sh script. | Name | Description | Type | Default Value | |------|-------------|------|---------------| | script_path | Script path | path | /tmp/art.sh| +| host | Host to ping | string | 8.8.8.8| #### Attack Commands: Run with `sh`! @@ -60,7 +61,7 @@ Creates and executes a simple sh script. ```sh sh -c "echo 'echo Hello from the Atomic Red Team' > #{script_path}" -sh -c "echo 'ping -c 4 8.8.8.8' >> #{script_path}" +sh -c "echo 'ping -c 4 #{host}' >> #{script_path}" chmod +x #{script_path} sh #{script_path} ```