Was the PCI device then able to access system memory in a transparent manner via DMA?
Inquiring minds want to know …
Was the PCI device then able to access system memory in a transparent manner via DMA?
Inquiring minds want to know …
Yes, it did!
Source: fpga - Can a non-enumerated device conduct DMA operations? - Electrical Engineering Stack Exchange
Sorry to bring that up after these months, we are a small group of students working on a security project and willing to achieve the same bahiviour (hide the device from the OS) based on pci leech.
By modifying the device and vendor IDs to 1’s the device seems to not be detected by the OS, but we only get the pci leech probe function to work ; We get errors as soon as we try to read memory. The problem doesn’t appear with standart vid/device id.
Did you change anything else in the IP Core to be able to read memory?
I was only able to read when the system has max 4 GB of memory (probably to the 32bit vs 64bit thing) . Try installing it the OS on a 4 GB stick and try reading it that way. It might work. Ulf Frisk (the author of pcileech project) says he was able to read while vendor and device ID was 0xFFFF: Cannot read memory when device and vendor ID set as 0xFFFF · Issue #8 · ufrisk/LeechCore · GitHub