.. / Win32_Process

Represents a process on an operating system


Functions:
Type:
Toolsets:

Execute

Launch executable

Invoke-CimMethod -ClassName Win32_Process -MethodName Create -Arguments @{CommandLine = 'C:\tmp\implant.exe'} -CimSession $s
Usecase
Launch implant

Comments
Mitre Att&ck
TA0002


Processes

List running processes

Get-CimInstance -ClassName Win32_Process -CimSession $s | select ProcessId,Name,CommandLine | ft * -AutoSize -Wrap
Usecase
Launch implant

Comments



Updated: 2023-07-01
Contributor: Arris Huijgen (bitsadmin)