Revise implant details and add security notes

Updated README to reflect changes in implant functionality and security considerations.
This commit is contained in:
creinky authored and GitHub committed 2026-11-05 21:39:42 -07:00
1 parent 0b1f34c585
commit a1bb028001
1 file changed
+17 -6
+17 -6
View File
@@ -7,7 +7,7 @@ An MCP (Model Context Protocol) server and implant pair for autonomous penetrati
```
┌─────────┐ ┌──────────────┐ ┌─────────────────┐ ┌──────────┐
│ Agent │────▶│ MCP Client │────▶│ MCP Server │◀────│ Implant │
│ (Bionic)│ │ (FastMCP) │ │ (command queue) │ │ (Debian) │
│ (Bionic)│ │ (FastMCP) │ │ (command queue) │ │ (Kali) │
└─────────┘ └──────────────┘ └─────────────────┘ └──────────┘
▲ beacons out
│ periodically
@@ -31,9 +31,11 @@ This works through NAT/firewalls because the implant only makes outbound connect
- MCP transport on port 8000
### Implant (`implant.py`)
- Runs on target network (Debian host with tools installed)
- Beacons out every N seconds to check for commands
- Executes nmap scans, shell commands, etc. locally
- Runs on target network (Kali host)
- Beacons out periodically to check for commands with **time-aware jitter**:
- Business hours (Mon-Fri 8AM-6PM): base interval ±10% jitter
- Off-hours: 2x base interval ±30% jitter for improved stealth
- Executes nmap scans, shell commands, Impacket tools, etc. locally
- Reports results back to MCP server
## Setup
@@ -57,6 +59,7 @@ python implant.py --id test-implant --interval 30
| `nmap_scan` | Queue nmap scan on implant | target, scan_type, ports, output_format |
| `list_network_interfaces` | List implant's network interfaces | implant_id (optional) |
| `run_command` | Execute shell command on implant | command, implant_id (optional) |
| `impacket` | Queue Impacket tool execution | script_name, target, username, password, domain, extra_args |
| `get_result` | Retrieve result of queued command | request_id |
| `list_implants` | Show all registered implants | none |
| `server_status` | Check MCP server status | none |
@@ -67,6 +70,14 @@ python implant.py --id test-implant --interval 30
- **ports**: Port spec like `"80,443"` or `"1-1024"`. Default: top 1000
- **output_format**: `normal`, `xml`, or `grepable`. Default: normal
### impacket Parameters
- **script_name**: Impacket script name (e.g., `secretsdump`, `smbclient`, `getusers`, `lookupsid`, `samrdump`, `wmiexec`, `psexec`)
- **target**: Target IP address or hostname (optional)
- **username**: Username for authentication (optional)
- **password**: Password for authentication (optional)
- **domain**: Domain name (optional)
- **extra_args**: Additional command-line arguments to pass to the script
## Proxmox LXC Deployment (MCP Server)
To host the MCP server 24/7 in a Proxmox LXC container:
@@ -117,7 +128,7 @@ curl http://localhost:8000/mcp
## Security Considerations
- Currently no authentication between components — run on trusted networks
- **Optional API key authentication**: Set the `IMPLANT_API_KEY` environment variable on both server and implant to require an `X-API-Key` header on all beacon traffic. Without it, any host can register as an implant.
- `run_command` tool is powerful; consider restricting in production
- Use HTTPS transport for remote deployments
- Implant IDs are simple strings; use UUIDs for multi-implant environments
- Implant IDs are auto-generated truncated UUIDs by default (8 hex chars), suitable for multi-implant environments