# Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

### Cherry Blossom

# CherryBomb -- CherryBlossom Internal Test Procedures (CDRL-14c)

21 June, 2012

- 1
- 2
…
- 12
- 13
- 14
- 15
- 16
…
- 70
- 71

UNCLASSIFIED
Cherry Bomb Program Cherry Blossom Internal Test Procedures
4 Flytrap Tests
This section describes Cherry Blossom tests related to the Flytrap product.
For testing purposes, the Flytraps will have telnet capabilities enabled. However, the
following devices do not support telnet:
• Belkin F5D8231-4
For these devices ‘dumbbellc’ must be used. Dumbbellc is used to send commands
to the Flytrap and then redirects the output back to the user. To build dumbbellc, run
‘<CB>/Flytrap/make tools’ to create <CB>/Flytrap/Tools/bin/dumbbellc. In
addition to the dumbbellc client, ensure that the Flytrap’s image is created to include
dumbbelld.
4.1 Beacon Tests
This section describes tests related to the (complex) beaconing logic of Flytraps. Note that
the tests in this section are ordered in such a way as to Make testing more efficient.
Flytrap Firmware: for all of the Beacon Tests, build a firmware (see
<CB>/Flytrap/Documentation/ImageFormation.html for instructions) with the following
settings (in <CB>/Flytrap/Config/flytrap.config):
UNCLASSIFIED
14
CONFIG_DEBUG_VERION = y
MM_INITIAL_BEACON_ADDRESS1 = 1.2.3.4 (i.e., a garbage value)
MM_INITIAL_BEACON_PORT1 = 1234 (i.e., a garbage value)
MM_INITIAL_BEACON_ADDRESS2 -- > 5.6.7.8 (i.e., a garbage value)
MM_INITIAL_BEACON_PORT2 = 5678 (i.e., a garbage value)
MM_INITIAL_BEACON_ADDRESS3 = 24.176.227.182 (i.e., zakura)
MM_INITIAL_BEACON_PORT3 = 80
MM_INITIAL_BEACON_TRAFFIC_REQUIREMENT =
MEDIUM_50_PACKETS_PER_SECOND_TRAFFIC_REQUIREMENT
MM_INITIAL_BEACON_TRAFFIC_REQUIREMENT_MAX_WAIT_SECS = 600 (i.e.,
10 minutes)
MM_INITIAL_BEACON_PERIOD_SEC = 2592000 (i.e., 30 days)
MM_INITIAL_BEACON_ONTIME_UPDATE_PERIOD_SEC = 1800 (i.e., 30 minutes)
MM_INITIAL_BEACON_FAST_RETRY_SEC = 4
MM_INITIAL_BEACON_NUMBER_OF_FAST_RETRIES = 6
MM_INITIAL_BEACON_SLOW_RETRY_SEC = 30
MM_INITIAL_BEACON_MAX_TIME_SEC = 7776000 (i.e., 90 days)
MM_INITIAL_BEACON_SUICIDE_TIME_SEC = 31536000 (i.e., 365 days)
MM_USE_NON_BLOCKING_CONNECT = y
MM_NONBLOCKING_CONNECT_TIMEOUT_SECONDS = 2
MM_NONBLOCKING_CONNECT_TIMEOUT_MICROSECONDS = 80000
CONFIG_SHELLD = y (or, if shelld is not supported for this device,
CONFIG_DUMBBELLD = y)

- 1
- 2
…
- 12
- 13
- 14
- 15
- 16
…
- 70
- 71