Black Box to Clarity: Breaking Open Firmware Security