4 ms·
I was going to mention something about PXE, but according to Intel it has no security at all: https://www.intel.com/content/www/us/en/developer/articles/techni
by msla 3y ago
I was going to mention something about PXE, but according to Intel it has no security at all:
https://www.intel.com/content/www/us/en/developer/articles/technical/network-boot-in-a-zero-trust-environment.html https://www.intel.com/content/www/us/en/developer/articles/t...
> As network technology has improved, the limitations of PXE Boot are more apparent. PXE has no mechanism for encryption or authentication, is susceptible to man-in-the-middle attacks, does not scale outside of local networks, and has reliability issues associated with TFTP time-outs and UDP packet loss.
[snip]
> One of the key issues with PXE is a lack of security. The TFTP & UDP transactions associated with PXE may be the last unencrypted traffic on your network and are trivial to intercept. This boot process goes against the “zero trust” concept applied to today’s networks.
However, UEFI to the rescue:
> The UEFI Specification introduced HTTP(S) Boot in in version 2.5. HTTP Boot combines the Dynamic Host Configuration Protocol (DHCP), Domain Name System (DNS), and Hypertext Transfer Protocol (HTTP) to provide system deployment and configuration capabilities over the network. Compared to PXE Boot, HTTP Boot can handle much larger files than TFTP, and scale to much larger distances. PXE depends on UDP broadcast You can easily download multi-megabyte files, such as a Linux kernel and a root file system, from servers that are not on your local area network.
Because HTTP is now a layer of the network stack.
- AndyMcConachie 3y agoSo I might not be able to turn on my computer because an X.509 certificate expired ;)
- abofh 3y agoYes, but more likely because of clock skew because the battery long ago died. Not that I've ever seen that...
- tinus_hn 3y agoBut how is the network securely going to tell the computer which https server to use? I can get a certificate for any server I put on the network.
- johnnny 3y agoUsing DHCP, the same tool that can configure any client computer with addresses and gateways, meaning you hopefully secure that already. Some switches give you tools to mark a few physical ports as "truster", allowing DHCP OFFER from those; and drop (or ever shutdown the port!) when such a packet is received on an untrusted port.
- toast0 3y agoIf you can trust DHCP, why can't you trust TFTP? Your smart switch could drop TFTP packets just like it drops DHCP packets and you're good again. (Yes, yes, pxe doesn't check for secureboot signatures)
- hulitu 3y agoSo now nobody on your network can boot your computer, but everybody in the internet can. Secure by design.
- johnnny 3y agoWhere did you get the idea that anybody on the Internet can? The first step to network booting (PXE or UEFI boot) requires DHCP, which means a DHCP server or relay on your local broadcast domain (switched LAN, and I'm sure there are extensions for boot-over-WIFI somewhere). Sure your computer could fetch the boot image over the Internet, if you're okay with involving the unreliability of the Internet in your boot process, but that'd require explicit configuration on your DHCP server.
- nightfly 3y agoAMT/IPMI is more reliable than PXE and does support/require authentication