intel's dpdk has a packet generator which can also record responses as well as craft custom packets...http://dpdk.org/browse/apps/pktgen-dpdk/
What I found in general for testing UEFI:
EDK2 testkit https://github.com/tianocore/edk2-stagi ... /edk2-test
Design and development of an automated regression test suite for UEFI https://core.ac.uk/download/pdf/35204716.pdf
Open Source Test Tools for UEFI https://www.researchgate.net/publicatio ... s_for_UEFI
Building Your Linux Firmware Security toolkit https://www.linuxfestnorthwest.org/site ... wsec_0.pdf
In this document I particularly love the quote "Evaluate new UEFI systems, sniffing 24x7, wired and ethernet, powered on and off, w/ and w/o OS, to determine what the vendor’s firmware might be doing over a network."
Then there is the uefi.org test tools http://uefi.org/testtools