diff --git a/atomics/T1135/T1135.yaml b/atomics/T1135/T1135.yaml index 7567f6f3..ff02d0ae 100644 --- a/atomics/T1135/T1135.yaml +++ b/atomics/T1135/T1135.yaml @@ -88,6 +88,14 @@ atomic_tests: Enumerate Domain Shares the current user has access. Upon execution, progress info about each share being scanned will be displayed. supported_platforms: - windows + dependency_executor_name: powershell + dependencies: + - description: | + Endpoint must be joined to domain + prereq_command: | + if ((Get-WmiObject -Class Win32_ComputerSystem).PartofDomain) {exit 0} else {exit 1} + get_prereq_command: | + "Join system to domain" executor: command: | [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12