# 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
…
- 9
- 10
- 11
- 12
- 13
…
- 70
- 71

UNCLASSIFIED
Cherry Bomb Program Cherry Blossom Internal Test Procedures
Run: Perform the following:
• cd <CB>/Flytrap
• make im{image_number}_inc && make target_tests. For example,
make im32_inc && make target_tests.
The image number can be found by searching for the appropriate MMV in the
<CB>/Flytrap/formImage.sh file.
• Upload the mm_T executable to the flytrap:
From the flytrap, run ‘netcat -v -w 90 -l -p 5600 > /tmp/mm_T’
From the client, run ‘cd <CB>/Flytrap/Apps/MissionManager/Test
&& nc -v -w 10 {flytrap_IP} 5600 < mm_T’
• If any changes have been made to the underlying source code between the
time the flytrap was re-imaged and testing, upload the dynamic libraries to the
flytrap. This is typically only necessary during a troubleshooting phase and
not during normal testing.
From the flytrap, run ‘mkdir /tmp/ft-{svn.version}’ and then ‘netcat
-v -w 90 -l -p 5600 > /tmp/ft-{svn.version}/libft.so‘
From the client, run ‘cd <CB>/Flytrap/Common/libft && nc -v -w
10 {flytrap_IP} 5600 < libft.so’
From the flytrap, run ‘netcat -v -w 90 -l -p 5600 > /tmp/ft-
{svn. version}/libcbrypt.so‘
From the client, run ‘cd <CB>/Flytrap/Common/libft && nc -v -w
10 {flytrap_IP} 5600 < libcbcrypt.so’
The ft-{svn.version} path is displayed at the end of the make call and can
be found by searching for ‘-rpath=/tmp/ft-{svn.version}’
• From the flytrap, run ‘chmod +x /tmp/mm_T’
• From the flytrap, run ‘/tmp/mm_T’
Pass/Fail: any unit test failures will stop the test process and report the error;
otherwise success will be reported.
UNCLASSIFIED
11

- 1
- 2
…
- 9
- 10
- 11
- 12
- 13
…
- 70
- 71