Files
atomic-red-team/atomics/T1135/T1135.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

59 lines
1.3 KiB
YAML

---
attack_technique: T1135
display_name: Network Share Discovery
atomic_tests:
- name: Network Share Discovery
description: |
Network Share Discovery
supported_platforms:
- macos
- linux
input_arguments:
computer_name:
description: Computer name to find a mount on.
type: string
default: computer1
executor:
name: sh
command: |
df -aH
smbutil view -g //#{computer_name}
showmount #{computer_name}
- name: Network Share Discovery command prompt
description: |
Network Share Discovery utilizing the command prompt
supported_platforms:
- windows
input_arguments:
computer_name:
description: Computer name to find a mount on.
type: string
default: computer1
executor:
name: command_prompt
elevation_required: false
command: |
net view \\#{computer_name}
- name: Network Share Discovery PowerShell
description: |
Network Share Discovery utilizing PowerShell
supported_platforms:
- windows
input_arguments:
computer_name:
description: Computer name to find a mount on.
type: string
default: computer1
executor:
name: powershell
elevation_required: false
command: |
net view \\#{computer_name}
get-smbshare -Name #{computer_name}