generate_payload
Generate living off the land binary payloads for command execution, reverse shells, bind shells, file read, and file write operations based on technique ID and payload type.
Instructions
Generate LOL binary payload information — command execution, reverse shells, bind shells, file read, file write payloads from the knowledge base
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": {
"technique_id": "<technique_id>",
"payload_type": "<payload_type>"
},
"name": "generate_payload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| encode | No | Whether to encode the generated payload | |
| context | No | Execution context or privilege level | |
| attacker_ip | No | Attacker IP address for reverse/bind shell payloads | |
| output_file | No | Output file path for file write payloads | |
| target_file | No | Target file path for file read/write payloads | |
| payload_type | Yes | Type of payload to generate | |
| technique_id | Yes | Technique ID to generate payload for | |
| attacker_port | No | Attacker port for reverse/bind shell payloads |