How arno0x/dbc2 works
DBC2 is a Dropbox-relayed controller and endpoint-agent system. At a high level, an operator starts the controller, which discovers agents and exchanges encrypted data through Dropbox; agents poll the relay and return status or results. The repository also contains staging, PowerShell modules, and native loading code, but those operational branches are omitted here. Relationships shown are limited to the README’s documented architecture and the sampled controller startup and crypto code; unsampled implementation details are not inferred.
Main entry points: agentHandler.py Agent task handling · pollingThread.py Polling and results · dropboxHandler.py Dropbox API client · dropboxC2.py Controller startup
Components 11
Controller
- Controller startup
dropboxC2.py - Command console
lib/console.py - Agent task handling
lib/agentHandler.py - Polling and results
lib/pollingThread.py - Agent and task state
lib/statusHandler.py - Data encryption
lib/crypto.py
Communication
- Dropbox API client
lib/dropboxHandler.py - Dropbox service
Endpoint
- Endpoint agent
agent/source/dbc2_agent.cs - Agent Dropbox handler
agent/source/dropboxHandler.cs
Other components
- Operator
Connections 12
- Operator → Controller startup: starts
readme.md - Controller startup → Command console: opens console
dropboxC2.py - Command console → Agent task handling: issues tasks
- Agent task handling → Agent and task state: records tasks
lib/agentHandler.py - Agent task handling → Data encryption: encrypts task data
lib/agentHandler.py - Agent task handling → Dropbox API client: uploads commands
lib/agentHandler.py - Polling and results → Dropbox API client: polls and reads
lib/pollingThread.py - Polling and results → Agent and task state: updates agent state
lib/pollingThread.py - Dropbox API client → Dropbox service: transfers data
lib/dropboxHandler.py - Endpoint agent → Agent Dropbox handler: uses relay handler
- Agent Dropbox handler → Dropbox service: polls and exchanges
readme.md - Dropbox service → Polling and results: relays agent data
readme.md