binarygolf / BGGP

Binary Golf Grand Prix
39 stars 9 forks source link

Linux ELF32 x86 (64-bit env) #86

Closed 0x6d6e647a closed 4 days ago

0x6d6e647a commented 1 week ago
---BEGIN BGGPx---
Submit Date: 2024-06-26
BGGP Challenge Number: 5
Author: mndz
Contact Info (Optional): 
Online Presence (Website/Social Media): https://linktr.ee/0x6d6e647a
Target File Type: Linux ELF32 x86 (64-bit env)
File Size: 116
SHA256 Hash: 6caa6c2204338c023588cf3204d9df5cb121d41741b5bb21577d8b081361bda7
Target Environment (How do we run the file?): Expected environment is a 64-bit Linux with merge-usr file system layout so curl can be found at /bin/curl. Execute the file as follows: ./mndz.elf32 https://binary.golf/5/5.
Any additional info?: The 32-bit execution switches to a 64-bit context in order to execve the 64-bit curl executable.
Link to PoC video, screenshot, or console output, if any: 
Link to writeup, if any: https://github.com/0x6d6e647a/bggp-2024
File contents (base64 encoded please): 
f0VMRgEBAQDqIIACADMAAAIAAwABAAAACIACAC4AAACLRCQI6y4AADQAIAABAAEAAAAAAAAAAIAC
AACAAgB0AAAAdAAAAAUAAAAvYmluL2N1cmwAZ0iJRCQMZ4lcJAhnSIlcJBRnjUM7v0qAAgCNdCQE
DwU=
---END BGGPx---
OxNinja commented 4 days ago
---BEGIN VERIFICATION---
Reviewer: 0xNinja
Review Date: 2024-06-30
SHA256: 6caa6c2204338c023588cf3204d9df5cb121d41741b5bb21577d8b081361bda7
Score: 5004
Note: 
---END VERIFICATION---

score = 4096 - 116 + 1024

Waiting for peer-review on my reviews before adding this to the README