From 396cdf4d92967bd97190dc1b5bb736f94edf33ef Mon Sep 17 00:00:00 2001 From: Carrie Roberts Date: Mon, 25 Nov 2019 10:05:55 -0700 Subject: [PATCH] fix duplicate key in yaml issues (#690) --- atomics/T1075/T1075.yaml | 1 - atomics/T1082/T1082.yaml | 15 +++++++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/atomics/T1075/T1075.yaml b/atomics/T1075/T1075.yaml index d15c1486..7ae670fd 100644 --- a/atomics/T1075/T1075.yaml +++ b/atomics/T1075/T1075.yaml @@ -30,7 +30,6 @@ atomic_tests: command: | mimikatz # sekurlsa::pth /user:#{user_name} /domain:#{domain} /ntlm:#{ntlm} -atomic_tests: - name: crackmapexec Pass the Hash description: | command execute with crackmapexec diff --git a/atomics/T1082/T1082.yaml b/atomics/T1082/T1082.yaml index e41f8993..ecda53fe 100644 --- a/atomics/T1082/T1082.yaml +++ b/atomics/T1082/T1082.yaml @@ -84,14 +84,12 @@ atomic_tests: sudo lsmod | grep -i "virtio_pci\|virtio_net" sudo lsmod | grep -i "hv_vmbus\|hv_blkvsc\|hv_netvsc\|hv_utils\|hv_storvsc" -- name: Hostname Discovery +- name: Hostname Discovery (Windows) description: | - Identify system hostname for Windows, Linux, and macOS systems. + Identify system hostname for Windows. supported_platforms: - windows - - linux - - macos executor: name: command_prompt @@ -99,6 +97,15 @@ atomic_tests: command: | hostname +- name: Hostname Discovery + description: | + Identify system hostname for Linux and macOS systems. + + supported_platforms: + - linux + - macos + + executor: name: bash elevation_required: false command: |