# Vault 7: Projects

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

### Cherry Blossom

# Flytrap -- Firmware Upgrade Procedures - Belkin F5D8231

- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9

be used during the TEST phase, and the REAL packages are to be used during
the operation). It is critical that all PACKAGE files be in the right
directories!
Hereafter, the {XYZ}_PACKAGE is referred to as <PACKAGE>.
IMPORTANT: if you need to edit any of the .sh scripts under
<HOME>/<PACKAGE>, use an editor that will not add
CR-LF pairs (e.g., use vi, don't use WordPad or Notepad)
a. Insert the "Wireless Upgrade Package for Belkin F5D8231-4 v4 fw 4.00.16"
cdrom into the laptop.
b. Copy the <PACKAGE>.tar.gz of interest to your cygwin home directory,
which is typically C:\cygwin\home\<YOUR_USER> (hereafter referred to
as <HOME>).
c. Open a cygwin command window and untar the PACKAGE:
tar -xzvf <PACKAGE>.tar.gz
d. cd into <HOME>/<PACKAGE> and execute: ./setup_windows.sh.
NOTE: If the setup_windows.sh script shows any errors, do the
following manual steps:
- Using an explorer window, copy the
<HOME>/<PACKAGE>/webserver_files/belky
directory to your webserver's root htdocs directory (i.e., your
webserver's htdocs directory should now have a belky subdirectory).
- cd into <HOME>/<PACKAGE>/wireless_client_files/cfg_file_crc
and run "make test"
- cd into <HOME>/<PACKAGE>/wireless_client_files/dumbbellc
and run "make -f Makefile.cygwin"
5. Verify the <PACKAGE> setup:
a. Verify that the webserver_files have been deployed to the correct
directory. Open a web browser to URL:
"http://127.0.0.1/belky/md5sums.txt".
You should see the same info as in
<HOME>/<PACKAGE>/webserver_files/md5sums.txt
b. Verify that <HOME>/<PACKAGE>/wireless_client_files/cfg_file_crc runs.
From a cygwin command prompt, cd to
<HOME>/<PACKAGE>/wireless_client_files/cfg_file_crc
and execute "./cfg_file_crc". You should see a USAGE message.
c. Verify that <HOME>/<PACKAGE>/wireless_client_files/dumbbellc runs.
From a cygwin command prompt, cd to
<HOME>/<PACKAGE>/wireless_client_files/dumbbellc
and execute "./dumbbellc". You should see a USAGE message.
TESTING:
This section describes the TESTING procedures. If you are performing the
operation, skip to the "OPERATIONAL PROCEDURES" section.
1. Connect the WAN port of the Belkin F5D8231-4 v4 with firmware 4.00.16 to
the internet with an ethernet cable.
2. Restore the device to the manufacturer's 4.00.16 image.
- Connect the laptop to a wired LAN port of the device with an ethernet
cable.
- Open a browser (IE) to "http://<device_LAN_IP_address>"

- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9