Vault7: CIA Hacking Tools Revealed
Navigation: » Latest version
Queue
Purpose
The Queue Proxy, qproxy program is the interface (implementation) to the queue implementation. The user interface (UIUser Interface) and the transport use this program.
Usage
Command Line
queue -q <que_id> command [parameter]
Returns
These are incomplete, actual numbers to be refined and may./will change during development
0 - done
1 - non-existent queue
2 - no data
Notes
Only one positional parameter (aka command) per execution
Operating system numeric return code code
next parameter returns full path to next task file via stdout
There are no user locks for the queue. A hard lock is used during execution, which should take only milliseconds
Examples
queue -q boss0042 ingest --file=changes.tar // processes command in changes.tar file (usually queue changes from C2), then deletes file
queue -q boss0042 next // get the next task file
queue -q boss0042 succeed -f /d/gibson/boss0042/u1001 // file specified successfully sent
Breakdown
command = next | ingest | delete | fail | succeed | exist | clone
parameter =
-q --queue <que_id>
-f --file <task_file | tar_file> // required for succeed, fail, delete, or ingest
--to <que_id> // required for clone
que_id - alphanumeric, at least 5 alphanumeric (first 4 are parent id)
task_file - file name of file to be deleted (succeed) from queue
tar_file - file name of tar file to be processed / ingested