OPEN SOURCEGo v1.0

Multi-protocol network egress assessment and DLP verification framework featuring automated L4 sweeps, corporate proxy traversal, and covert protocol smuggling across 20+ channels.

$ git clone https://github.com/shehzade/contraband.git Copy
GitHub Repo ↗
Code 174 Commits 1
contraband / proto / exfil.proto
← Back to directory
26 lines · 773 B
Raw ↗GitHub ↗
1syntax = "proto3";
2
3package contraband;
4option go_package = "github.com/shehzade/contraband/proto;proto";
5
6service ExfilService {
7 rpc UploadChunk(ChunkRequest) returns (ChunkResponse);
8 rpc UploadStream(stream ChunkRequest) returns (ChunkResponse);
9}
10
11message ChunkRequest {
12 bytes token = 1; // 16-byte session token
13 uint32 sequence = 2; // Chunk sequence number (1-based)
14 uint32 total_chunks = 3; // Total chunk count
15 bytes payload = 4; // Chunk binary payload
16 string expected_hash = 5; // Expected SHA-256 hash of complete stream
17}
18
19message ChunkResponse {
20 bool success = 1;
21 string session_id = 2;
22 int64 total_bytes = 3;
23 string payload_hash = 4;
24 string verdict = 5; // e.g. "EXFIL_SUCCESS"
25 string error_message = 6;
26}