ufrisk / pcileech

Direct Memory Access (DMA) Attack Software
GNU Affero General Public License v3.0
4.84k stars 715 forks source link

Dealing with newer laptop boards. #285

Open popalltheshells opened 8 months ago

popalltheshells commented 8 months ago

Hi, just curious - has anyone encountered a case where the laptop we use it against only has 1 NVME m.2 slot; and a soldered on WLAN m.2 slot? I was looking for a solution that maybe has an m.2 slot expansion to turn the one slot into two.

Since PCI Squirrel does need the laptop to be on -> meaning we can't just replace the NVME SSD with the PCI Squirrel.

How would you resolve this without a PCIe to thunderbolt? Or is that the only way.

dmgarry commented 8 months ago

This is something that has crossed my mind before but unfortuanately I havent had any time to test my ideas.

Idea 1:

place m2 ssd into a usb adapter and connect this then via usb/usb-c slot and PCI Squirrel then into internal m2 slot.

Idea 2:

Using an adapter key that goes to a dual m2 card to connect the main ssd and the pci squirrel to and put them in through the same m2 slot on the board.

once again these are just ideas and hope they make sense, they may work or may trigger bitlocker or not work due to 100 other reasons... 😃

popalltheshells commented 8 months ago

Using an adapter key that goes to a dual m2 card to connect the main ssd and the pci squirrel to and put them in through the same m2 slot on the board.

I was looking into this but I can't seem to find an adapter for this; scoured through aliexpress and others. But the m.2 to USB and set the BIOS boot order may work actually, didn't think of that!

dmgarry commented 8 months ago

depending on your key this is what i came across before:

https://www.reichelt.com/ie/en/adapter-m-2-key-m-sff-8643-nvme-horizontal-2242-delock-63918-p236856.html?PROVID=2854&gclid=Cj0KCQiAwP6sBhDAARIsAPfK_wb10pMpGxhw0belrsdg1dWHYEuNwfqlLsfjm4dck37I40h0BP_Xj4oaArlQEALw_wcB

ex1

popalltheshells commented 8 months ago

I've gotten myself an NVME m.2 to USB so I can change BIOS boot order to that. From Amazon; will update this thread if it works. Fingers crossed.

popalltheshells commented 8 months ago

I tried connecting my PCI squirrel to internal NVME m.2 slot but it's not powering on.. Any ideas? @ufrisk @dmgarry

dmgarry commented 8 months ago

you connected external power to adapter cable?

On Fri, 12 Jan 2024 at 21:52, Iggy @.***> wrote:

I tried connecting my PCI squirrel to internal NVME m.2 slot but it's not powering on.. Any ideas? @ufrisk https://github.com/ufrisk @dmgarry https://github.com/dmgarry

— Reply to this email directly, view it on GitHub https://github.com/ufrisk/pcileech/issues/285#issuecomment-1889996103, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2IQCWRBVVTFL6XR7RJAFODYOGWCJAVCNFSM6AAAAABBW6FK6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBZHE4TMMJQGM . You are receiving this because you were mentioned.Message ID: @.***>

popalltheshells commented 8 months ago

I have the squirrel so it should power from PCIe connection - no external power slot from what I can see.

dmgarry commented 8 months ago

adapter

red circle on the adapter cable shows where external power must be connected

squirrel will only get power directly if connected to pci slot, m2 slot needs external power to adapter cable.

popalltheshells commented 8 months ago

OHHHH NO way, okay let me try that! Thank you very much. @dmgarry do you have a recommendation on a power adapter that takes that SATA connector?

dmgarry commented 8 months ago

I took a power supply something similar from an old pc that has alot of different power connectors on it and keep it in my kit powersupply

popalltheshells commented 8 months ago

Turns out my PCIe x4 to M.2 connector has 4 pins (molex connectors?) Like the one your circled; but the cable that came with it only has two pins. image

I was thinking if something like this would work? image

dmgarry commented 8 months ago

yep that'll connect to the adapter, just need to get power to the other end and it'll power the squirrel

popalltheshells commented 8 months ago

Thank you! I'm still wondering why this seller is bundling power cable with a different adapter that won't work (based on your photo) - which was the one I got. image

dmgarry commented 8 months ago

You sure the power connector you got with it won't fit? They usually send the right one

popalltheshells commented 8 months ago

Yeah the power connector that came with the m.2 (m key) adapter has 2 slots for the pins, but the m.2 adapter itself has 4 pins (I tried connecting it anyways but that didn't work);

I also happen to have another m.2 adapter (but b key),that only has 2 pins - and it worked with the power 2 pins connector (Squirrel turned on). lol - it is wild

popalltheshells commented 8 months ago

Update: I've tried with surface pro 4 - tried plugging the internal NVME to USB and boot from there, and have my PCILeech through the built in NVME slot - both LEDs turned on which is good - but surface pro 4 won't let me boot from USB and kept saying "no OS".

Have you had success in the past with using PCI screamer on an m.2 NVME slot with the adapter? If so, I'll find another laptop to test it on, may just be the surface pro 4 that I'm using is broken in a way @dmgarry