Vault 7: Projects

SECRET//20330530
b. The phone will have a blank screen. If the phone displays the iTunes icon
with a cable, the phone is in Restore mode instead of DFU mode. If the
iPhone displays a silver Apple icon, ensure the USB cord is firmly
connected to both laptop and iPhone. In either case, attempt to place
the iPhone in DFU mode again.
11. ./dfu-util <generated ipsw file> n82ap (for 3g iPhone)
If you get the “No DFU capable USB device found” error message, attempt to put the phone in DFU
mode until dfu-util finds it. Note: if successful, the phone will show a white screen. If not, restart at
step 9.
12. Launch iTunes. It will detect the phone in DFU mode.
13. Hold alt/option and click restore. Choose the generated ipsw file.
iTunes will take approximately 5-10 minutes to restore the phone. The restored phone will contain the
NightSkies implant.
14. Once iTunes has completed the installation, unplug the phone immediately (do
not sync with laptop).
15. Turn off phone.
Configure Apache & PHP on your LP. Confirm PHP is working correctly before attempting to install
the LP files.
The package creator program will have generated a website for the LP (website_lp_web.tar.gz). Copy
this to the LP and unzip. Ensure it matches the URL specified during configuration.
(S) pkgcreator: updating the LP
To update commands on the LP, new site files must be generated using the pkgcreator program. To do
so, modify the configuration using pkgcreator and then run its generate function. The pkgcreator
program can be run with no arguments to have it create a new configuration, or with the following
command-line arguments:
Argument Effect Default
-h, --help Display usage and exit
-c CONFIGFILE,
--config=CONFIGFILE
Specify configuration plist filename config.plist
-e EXECFILE,
--exec=EXECFILE
Specify default binary iplant
-g, --generate Skip menu and just generate package
given provided arguments
-f, --force Force overwriting of folders without
prompting
-k KEY, --key=KEY Use this key when using –g and -f
-n, --noexec Don’t generate executable
SECRET//20330530
4