This project contains software and HDL code for the PCIeScreamer FPGA PCIe board. Once flashed it may be used together with the PCILeech Direct Memory Access (DMA) Attack Toolkit or MemProcFS - The Memory Process File System to perform DMA attacks, dump memory or perform research.
⚠️ The PCIeScreamer R01/R02 firmware is not actively maintained and may not be up-to-date. The current firmware will still work with PCILeech.
- Retrieve memory from the target system over USB3 up to 100MB/s.
- Access all memory of target system without the need for kernel module (KMD) unless protected with VT-d/IOMMU.
- Enumerate/Probe accessible memory at >1GB/s.
- Raw PCIe Transaction Layer Packet (TLP) access.
For information about more capabilities check out the general PCILeech or MemProcFS abilities and capabilities.
For information about other supported FPGA based devices please check out PCILeech FPGA.
- LambdaConcept PCIeScreamer R02 PCIe board. (LambdaConcept)
For more information about the hardware, and alternative software, please check out the PCIeScreamer wiki.
Please also note that the DIP-switch SW2 should be configured as: 1: ON, 2: OFF, 3: OFF (R01 model only).
Please note that this instruction applies to Xilinx Vivado compatible programming cables, such as Diligent HS2. This instruction will not work with the LambdaConcept programming cable.
- Install Vivado WebPACK or Lab Edition (only for flashing).
- Build PCILeech PCIeScreamer (see below) alternatively download and unzip pre-built binary (see below in releases section).
- Open Vivado Tcl Shell command prompt.
- cd into the directory of your unpacked files, or this directory (forward slash instead of backslash in path).
- Make sure the JTAG USB cable is connected.
- Run
source vivado_flash_hs2.tcl -notrace
to flash the PCILeech bitstream onto the PCIeScreamer board. - Finished !!!
Please note that this instruction applies to the LambdaConcept programming cable. OpenOCD is recommended when using the LambdaConcept programming cable. The LambdaConcept programming cable is not supported by Xilinx Vivado.
- Build PCILeech PCIeScreamer (see below) alternatively download and unzip pre-built binary (link in version history at the bottom of this readme).
- Follow the instruction about how to flash with OpenOCD (Linux preferred) on the LambdaConcept PCIeScreamer Wiki.
- Install Xilinx Vivado WebPACK 2020.2 or later.
- Open Vivado Tcl Shell command prompt.
- cd into the directory of your pcileech_ac701.bin (forward slash instead of backslash in path).
- Run
source vivado_generate_project.tcl -notrace
to generate required project files. - Run
source vivado_build.tcl -notrace
to generate Xilinx proprietary IP cores and build bitstream. - Finished !!!
Building the project may take a very long time (~1 hour).
The PCIe device will show as Xilinx Ethernet Adapter with Device ID 0x0666 on the target system by default. For instructions how to change the device id and other advanced build properties check out the build readme for information.
The PCIeScreamer R01 is known to have stability issues. The PCILeech/LeechCore have some mitigations built into the v3.2 version of the bitstream to mitigate as much as possible. If using the R01 version of the PCIeScreamer use the v3.2 version of the bitstream. The PCIe link to the target system may experience instability, degradation or total loss of connectivity in some cases. In some cases the link intermittently becomes unavailable resulting in lost DMA/TLP packets.
The PCIeScreamer R02 is more stable and should be usable in most situations. Use the latest version of the bitstream if using the R02 version. The latest version have stability mitigations removed which increases performance.
No stability issues or bug fixes will take place for the R01 version of the PCIeScreamer.
Furthermore, if connected to source which does not provide sufficient power, such as ExpressCard slot with PE3A adapter, it is recommended to use external power to the PCeScreamer to increase stability. 5V-15V is recommended. This is not needed if connected directly to PCIe slot in target computer.
If stability is paramount the ScreamerM2 or the more expensive SP605 or AC701 hardware is currently recommended. The PCIeScreamer R02 should be fine for most situations but the most demanding ones (e.g. offensive PCIe DMA attacking locked computers) in which the Xilinx dev boards are still prefered.
The completed solution contains Xilinx proprietary IP cores licensed under the Xilinx CORE LICENSE AGREEMENT. This project as-is published on Github contains no Xilinx proprietary IP. Published source code are licensed under the MIT License. The end user that have downloaded the no-charge Vivado WebPACK from Xilinx will have the proper licenses and will be able to re-generate Xilinx proprietary IP cores by running the build detailed above.
Previous releases (click to expand):
v4.0
- Major internal re-design for increased future flexibility and ease of use.
- Download pre-built binaries for R01 and R02 versions of the PCIeScreamer below:
v4.1
- Minor bug-fixes and internal re-design.
- Download pre-built binaries for R01 and R02 versions of the PCIeScreamer below:
v4.2
- Optional custom PCIe configuration space.
- Optional on-board static PCIe TLP transmit.
- Download pre-built binaries for R01 and R02 versions of the PCIeScreamer below:
v4.6
- Support for Ryzen CPUs.
- Support connecting USB cable after device power-on.
- NB! stability issues remain!
v4.7
- New USB core.
- Support for auto-clear of PCIe status register / master abort flag.
- NB! stability issues remain!
v4.8
- Bug fixes.
- NB! stability issues remain!
- R02 SHA256:
8be43dbf89f30eb25db4582291de8a07e11cd4b36824c4f50125aa7488e9c6de
- R02 SHA256:
v4.9
- Bug fixes.
- NB! stability issues remain!
- R02 SHA256:
f46c816b70d18a135f0587db4e5daeeba266c17bff94cc2cccb9e90703d1d884
- R02 SHA256:
PCILeech-FPGA versions above v4.2 are only partially supported due to lack of hardware support.