Skip to content

Commit

Permalink
Generated docs from job=generate-docs branch=master [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
Atomic Red Team doc generator committed Jul 10, 2024
1 parent a5ae5e1 commit 9bf5eb6
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
6 changes: 5 additions & 1 deletion atomics/Indexes/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
6 changes: 5 additions & 1 deletion atomics/Indexes/linux-index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
6 changes: 5 additions & 1 deletion atomics/Indexes/macos-index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
3 changes: 2 additions & 1 deletion atomics/T1059.004/T1059.004.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,15 @@ 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`!


```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}
```
Expand Down

0 comments on commit 9bf5eb6

Please sign in to comment.