# Vault 7: Projects

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

### Cherry Blossom

# Hacking - Image Notes

- 1
- 2
- 3

Just guessing but it looks like we take piggy, compress piggy, then use piggy.bz2 to make
piggy.o (?). piggy.o, vmlinux.lds, head-isil.o, misc-bzip2.o, and bootrec.o are used to
create vmlinux. Vmlinux is then turned into zImage
3.2 apfw
3.3 webfileset
3.4 apfw_package
4 NSLU2
The Linksys NSLU2 Network Attached Storage (NAS) device is a Linux based platform
popular with hackers. It is possible to reverse engineer part of the image Linksys
distributes for this device, as outlined below.
5 File System Types
There are a variety of small and simple filesystems used in embedded devices such as a
cramfs and romfs. Typically these images based on these file systems can be mounted by
via loopback.
Here is the typical command for mounting a cramfs, romfs, or ramfs files system:
mount -o loop image_name mnt_point
the loopback (loop) interface allows one to use a file as if it were a device.
5.1 cramfs
A cramfs is a small, compressed Linux file system. Used for embedded systems and
small devices.
5.2 romfs
A romfs is a small, efficient, read-only Linux file system. Stores only the minimum file
system, excluding common information such as modification times and permissions.
romfs is used with uClinux, SnapGear, Kiwi, and other embedded projects.
5.3 ramfs
A ramfs keeps all files in RAM allowing read and write access to files.
5.4 jffs

- 1
- 2
- 3