Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UEFI Application for x86 64bit - 316 bytes #130

Open
mebeim opened this issue Jul 21, 2024 · 0 comments
Open

UEFI Application for x86 64bit - 316 bytes #130

mebeim opened this issue Jul 21, 2024 · 0 comments
Labels
BGGP Entry Needs Verification This entry needs verification

Comments

@mebeim
Copy link

mebeim commented Jul 21, 2024

---BEGIN BGGPx---
Submit Date: 2024-07-21
BGGP Challenge Number: 5
Author: @mebeim
Contact Info (Optional): 
Online Presence (Website/Social Media): https://mebeim.net
Target File Type: UEFI Application (Portable Executable binary)
File Size: 316 bytes
SHA256 Hash: 65b87dcd644d85a4907258436a8419c9ecf5bf3fc483a8a7d63c307ad377ab96
Target Environment (How do we run the file?):
  As you will need UEFI with network and HTTP+TLS support, it is not that simple.
  I wrote detailed instructions here: https://github.com/mebeim/bggp/blob/master/uefi/README.md
  See the "Building" and "Running" section in particular.
Any additional info?: Tested on QEMU 7.2.11 and 9.0.0, Debian 12, EDK II OVMF edk2-stable202405
Link to PoC video, screenshot, or console output, if any: https://github.com/mebeim/bggp
Link to writeup, if any: https://github.com/mebeim/bggp
File contents (base64 encoded please):
TVoAAVBFAABkhgEA/1EIg8chif4xyesGoAAGAgsCsRgBz/ysZqvi+1ZQ6zDkAAAAQkdHUABNRUJF
SU0ABAAAAAQAAAD/UyCLH1RQ/8BQidmJ4uu4ABAAAOQAAACJ4et0CgBQidmJ4v9REIni/w6D7HiJ
ZgiJ2f9RIInmMcmxOma6+AP8827r/gYAAAAx0kmJ4P+TyAAAAIsMJFCJ4v8Riwwkg8cQifpJifjr
mAAAAAAAAAAAAAAAAAAAAAD/wFBRVFDrnlgEAADkAAAAWAAAAOQAAACD71lXg8cMV4niUInmUuvY
i1pgg8N4jT0EAAAAifnrmK/myL282XlDpyrgxOddrhybsll6C5FxQYJCqFoN8ltbYmluYXJ5Lmdv
bGYASG9zdABodHRwczovL2JpbmFyeS5nb2xmLzUvNQ==
---END BGGPx---

Sorry but unfortunately the setup is not so easy as it requires UEFI firmware with HTTPS + TLS support, so I opted to provide a (hopefully) straightforward way to build and run your own EDK II OVMF firmware with QEMU using Docker (see instructions at the link provided above). Please do not hesitate to ping me if there are any issues.

Update 2024-09-04: writeup added in the repo linked above!

@mebeim mebeim added BGGP Entry Needs Verification This entry needs verification labels Jul 21, 2024
@mebeim mebeim changed the title UEFI Application - 324 bytes UEFI Application for x86 64bit - 324 bytes Jul 21, 2024
@mebeim mebeim changed the title UEFI Application for x86 64bit - 324 bytes UEFI Application for x86 64bit - 316 bytes Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BGGP Entry Needs Verification This entry needs verification
Projects
None yet
Development

No branches or pull requests

1 participant