Files
atomic-red-team/atomics/T1148/T1148.yaml
T
2018-05-23 17:09:04 -06:00

22 lines
469 B
YAML

---
attack_technique: t1146
display_name: HISTCONTROL
atomic_tests:
- name: Disable history collection
description: |
Disables history collection in shells
supported_platforms:
- linux
- macos
input_arguments:
evil_command:
description: Command to run after shell history collection is disabled
type: String
default: whoami
executor:
name: sh
command: |
export HISTCONTROL=ignoreboth
ls #{evil_command}