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

37 lines
950 B
YAML

---
attack_technique: T1123
display_name: Audio Capture
atomic_tests:
- name: SourceRecorder via Windows command prompt
description: |
Create a file called test.wma, with the duration of 30 seconds
supported_platforms:
- windows
input_arguments:
output_file:
description: Path to the recording file being captured
type: Path
default: test.wma
duration_hms:
description: Duration of audio to be recorded (in h:m:s format)
type: Path
default: 0000:00:30
executor:
name: command_prompt
command: |
SoundRecorder /FILE #{output_file} /DURATION #{duration_hms}
- name: PowerShell Cmdlet via Windows command prompt
description: |
[AudioDeviceCmdlets](https://github.com/cdhunt/WindowsAudioDevice-Powershell-Cmdlet)
supported_platforms:
- windows
executor:
name: command_prompt
command: |
powershell.exe -Command WindowsAudioDevice-Powershell-Cmdlet