binarygolf / BGGP

Binary Golf Grand Prix
39 stars 9 forks source link

Linux x64 shellcode \ sh polyglot - 70 bytes #85

Open yo-yo-yo-jbo opened 6 days ago

yo-yo-yo-jbo commented 6 days ago

Please fill out the following:

---BEGIN BGGPx---
Submit Date: 2024-06-26
BGGP Challenge Number: 5
Author: Jonathan Bar Or ("JBO")
Contact Info (Optional): @yo_yo_yo_jbo
Online Presence (Website/Social Media): @yo_yo_yo_jbo
Target File Type: Linux shellcode \ sh shell script polyglot
File Size: 70
SHA256 Hash: e37b0a29e2dfefefe18b1fbb799ac7c48605d862adc37d67f39edda2d9fdb668
Target Environment (How do we run the file?): Linux x64 Intel - can either be run with sh ./shellcode (gotta use sh, bash won't work) OR use the Linux shellcode runner supplied here: https://github.com/yo-yo-yo-jbo/bggp5_linux_shellcode
Any additional info?: 
Link to PoC video, screenshot, or console output, if any: 
Link to writeup, if any: https://github.com/yo-yo-yo-jbo/bggp5_linux_shellcode
File contents (base64 encoded please): UjQ96BkAAAA7L2Jpbi9jdXJsIC1MIDdmLnVrCmV4aXQKX0iJ/kgxwJlS/EiDxxOqSIPvB6pXSIPvBKpXrFZIifdIieYPBQ==
---END BGGPx---

If this is an update to an existing entry, please include a link to your entry below this text. Reminder that authors can only update an entry once during BGGP.

yo-yo-yo-jbo commented 5 days ago

Self modifying - relies on being loaded into rwx mem region.