mirror of
https://github.com/Aryma-f4/Ares-mythic.git
synced 2026-06-12 12:04:12 +00:00
37 lines
558 B
Markdown
37 lines
558 B
Markdown
+++
|
|
title = "psinject"
|
|
chapter = false
|
|
weight = 103
|
|
hidden = false
|
|
+++
|
|
|
|
{{% notice info %}}
|
|
Artifacts Generated: Process Inject
|
|
{{% /notice %}}
|
|
|
|
## Summary
|
|
Execute PowerShell commands in a remote process. Leverages the currently set injection technique to inject the PowerShell loader.
|
|
|
|
### Arguments (Positional or Popup)
|
|
#### PID
|
|
Target process ID.
|
|
|
|
#### Command
|
|
PowerShell command to be executed.
|
|
|
|
## Usage
|
|
```
|
|
psinject -PID [pid] -Command [command]
|
|
```
|
|
|
|
Example
|
|
```
|
|
psinject -PID 1234 -Command Get-Process
|
|
```
|
|
|
|
|
|
## MITRE ATT&CK Mapping
|
|
|
|
- T1059
|
|
- T1055
|