Files
atomic-red-team/atomics/T1064/T1064.yaml
T
Carrie Roberts 1bfefdacfc Add elevated (#542)
* provide elevation_required attribute

* provide elevation_required attribute

* provide elevation_required attribute
2019-09-03 07:34:42 -06:00

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