Downloads
Overview
JustC2 provides a file download system that allows operators to transfer files from compromised hosts to the teamserver. Downloads are tracked in real-time and can be managed through the Downloads tab.
Initiating a Download
Downloads are typically initiated through the agent console by using file download commands. The agent reads the file on the target and sends its content back to the teamserver in chunks through the C2 channel.
Download States
| State | ID | Description |
|---|---|---|
| Running | 1 | Download in progress |
| Stopped | 2 | Download paused or interrupted |
| Finished | 3 | Download completed successfully |
| Canceled | 4 | Download was canceled by the operator |
Downloads Tab
The Downloads tab displays all downloads with:
| Column | Description |
|---|---|
| File ID | Unique download identifier |
| Agent | The agent session providing the file |
| User/Computer | Target context |
| Remote Path | Full path on the target machine |
| Local Path | Where the file is saved on the teamserver |
| Size | Total file size |
| Received | Bytes received so far |
| Progress | Visual progress indicator |
| State | Current download state |
| Date | When the download was initiated |
Managing Downloads
Syncing Downloads
Downloads are synchronized with the teamserver. When a new operator connects, they can sync existing downloads to view their status.
Click Sync on a download to retrieve the file locally from the teamserver to the client machine.
Deleting Downloads
Right-click a download → Delete to remove the download record and optionally the downloaded file from the teamserver.
Download Flow
Operator → Download command → Agent reads file
↓
Chunks sent via C2
↓
Teamserver writes file
↓
Progress updated → Downloads tab
↓
Client can sync/download- The operator issues a download command through the console
- The agent opens the file on the target and reads it in chunks
- Each chunk is sent as part of the agent’s check-in response
- The teamserver writes the chunks to a local file, tracking progress
- The operator can sync the completed file to their local machine
Notes
- Download speed is limited by the agent’s check-in interval and C2 channel bandwidth
- Large files are transferred in chunks across multiple check-ins
- Canceled downloads can potentially be resumed by re-initiating the download
- Downloaded files are stored on the teamserver’s disk in the data directory