Lantunnel
Lantunnel P2P 저지연·암호화·릴레이 폴백으로 포트포워딩 없이 LAN 원격 접근
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기C2 pet project
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗A modern, distributed Command & Control (C2) framework designed for secure remote administration and red team operations. Built with Go for the backend services and Python for the operator interface.
Documentation: nexusc2.io
This C2 framework provides a robust platform for managing remote agents through a scalable, microservices-based architecture. It features real-time bidirectional communication, dynamic payload generation, and comprehensive operational security features.
📊 Interactive Diagram: For a detailed interactive version of this architecture diagram with comprehensive documentation, download and open docs/c2-architecture.html in your browser.
graph TB
subgraph External["🌐 External Network"]
direction LR
Agent["💻 Compromised Agent<br/>(Implant on Target)"]
Spacer[" "]
Client["👤 Operator Client<br/>(GUI / API)"]
end
subgraph HostSystem[" "]
direction TB
HostLabel["🖥️ Host System - Docker Host"]
subgraph FirewallLayer[" "]
FW_Label["🛡️ Firewall Layer"]
FW_Allow["✅ Allow: 127.0.0.1<br/>✅ Allow: 172.28.0.0/16<br/>❌ Block: External → :50051"]
end
subgraph HostNetwork[" "]
HN_Label["🔴 Host Network Mode"]
AgentHandler["⚡ Agent-Handler<br/>network_mode: host<br/>gRPC: 0.0.0.0:50051<br/>Listeners: Any Port"]
end
subgraph DockerBridge[" "]
DB_Label["🔵 Docker Bridge Network<br/>172.28.0.0/16"]
Database["🗄️ PostgreSQL<br/>172.28.0.2:5432"]
Websocket["🌐 WebSocket Server<br/>172.28.0.3:3131"]
RestAPI["🔌 REST API<br/>172.28.0.6:8443"]
Builder["🔨 Builder Service<br/>172.28.0.5<br/>(Local/Remote)"]
end
end
RemoteBuilder["🔨 Remote Builder<br/>(Optional)<br/>mTLS :9443"]
%% External Connections
Agent <-->|"HTTPS/HTTP"| AgentHandler
Client <-->|"WSS :3131"| Websocket
Client <-->|"HTTPS :8443"| RestAPI
%% Internal connections
Websocket <-->|"gRPC :50051"| AgentHandler
RestAPI <-->|"gRPC :50051"| AgentHandler
Websocket -->|":5432"| Database
RestAPI -->|":5432"| Database
AgentHandler -->|":5432"| Database
Websocket -.->|"Docker API"| Builder
RestAPI -.->|"Docker API"| Builder
Websocket -.->|"mTLS"| RemoteBuilder
RestAPI -.->|"mTLS"| RemoteBuilder
FW_Allow -.->|"Protects"| AgentHandler
%% Styling
classDef hostNet fill:#e74c3c,stroke:#c0392b,stroke-width:3px,color:#fff
classDef bridgeNet fill:#4a90e2,stroke:#2980b9,stroke-width:2px,color:#fff
classDef external fill:#95a5a6,stroke:#7f8c8d,stroke-width:2px,color:#fff
classDef firewall fill:#f39c12,stroke:#e67e22,stroke-width:3px,color:#000
classDef spacer fill:none,stroke:none,color:transparent
classDef label fill:none,stroke:none,color:#fff,font-weight:bold
class AgentHandler hostNet
class Database,Websocket,RestAPI,Builder bridgeNet
class Agent,Client,RemoteBuilder external
class FW_Allow firewall
class Spacer spacer
class HostLabel,FW_Label,HN_Label,DB_Label label
Message Flow:
Network Architecture:
network_mode: host for dynamic port bindingNetwork Ports:
The framework includes a modular setup script that handles all dependencies and configuration:
cd scripts
sudo ./setup.sh
This will install and configure:
For detailed installation options and troubleshooting, see SETUP.md
The setup script supports modular execution for recovery scenarios:
# Re-run specific components if something fails
sudo ./setup.sh --certs # Only regenerate certificates
sudo ./setup.sh --secrets # Only regenerate database secrets
sudo ./setup.sh --docker # Only install Docker
sudo ./setup.sh --help # See all available options
If you prefer manual installation or need to customize specific steps:
cd scripts
sudo ./setup.sh
cd ../server/docker
docker compose up -d
cd client
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Configure certificates (automatically handled by setup script)
Launch the GUI:
source venv/bin/activate
cd src
python main.py
.
├── scripts/
│ ├── setup.sh # Modular setup script
│ └── gen_default_certs.sh
├── docs/
│ ├── API.md # REST API reference with curl examples
│ ├── SETUP.md # Detailed installation guide
│ ├── LOGVIEWER.md # Details for logviewer executable
│ ├── MALLEABLE-PROFILES.md # Traffic customization guide
│ └── c2-architecture.html
├── server/
│ ├── cmd/ # Service entry points
│ ├── internal/ # Core C2 services logic
│ ├── docker/ # Docker configurations
│ │ └── payloads/ # Agent source code
│ └── configs/ # Service configurations
├── client/
│ ├── src/ # Python GUI source
│ └── certs/ # Client certificates
See REST API Reference for complete endpoint documentation with curl examples.
A Python CLI tool is included at server/scripts/nexus-api.py for testing and automation:
# Login and save credentials
./nexus-api.py login -u admin -p password
# List agents
./nexus-api.py agents list
# Send a command
./nexus-api.py command <agent_id> "whoami"
# Build a payload
./nexus-api.py payload build -l https-listener -o windows -a amd64
If you encounter issues during installation:
sudo ./setup.sh --certs # Regenerate certificates
sudo ./setup.sh --docker # Reinstall Docker
go versionscripts/certs/For more details, see the Setup Guide.
MIT
This project uses code from the following open source projects:
See THIRD_PARTY_LICENSES.md for full license texts.
This software is provided for authorized security testing purposes only. Users are responsible for complying with all applicable laws and regulations. The authors assume no liability for misuse or damage caused by this software.
Quick Start Command:
cd scripts
sudo ./setup.sh