12.11.2012 Views

Can you still trust your network card? - Agence nationale de la ...

Can you still trust your network card? - Agence nationale de la ...

Can you still trust your network card? - Agence nationale de la ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Real impact Controlling the host<br />

Using DMA<br />

DMA transfers<br />

◮ NIC and host share <strong>network</strong> packets using DMA;<br />

◮ meta-data (NIC address, host address, size) are stored in special<br />

structures, the buffer <strong>de</strong>scriptors.<br />

proof of concept co<strong>de</strong>: write to main memory<br />

◮ write an host address to a buffer <strong>de</strong>scriptor address field in the<br />

NIC;<br />

◮ send packets;<br />

◮ packet is written to the main memory at given address.<br />

(almost) reliable.<br />

SGDSN/ANSSI – http://www.ssi.gouv.fr/<strong>trust</strong><strong>network</strong><strong>card</strong> 45/51

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!