1bfefdacfc
* provide elevation_required attribute * provide elevation_required attribute * provide elevation_required attribute
21 lines
467 B
YAML
21 lines
467 B
YAML
---
|
|
attack_technique: T1064
|
|
display_name: Scripting
|
|
|
|
atomic_tests:
|
|
- name: Create and Execute Bash Shell Script
|
|
description: |
|
|
Creates and executes a simple bash script.
|
|
|
|
supported_platforms:
|
|
- macos
|
|
- linux
|
|
|
|
executor:
|
|
name: sh
|
|
elevation_required: false
|
|
command: |
|
|
sh -c "echo 'echo Hello from the Atomic Red Team' > /tmp/art.sh"
|
|
sh -c "echo 'ping -c 4 8.8.8.8' >> /tmp/art.sh"
|
|
chmod +x /tmp/art.sh
|
|
sh /tmp/art.sh |