Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 BGGP 4 (2023), Result has been announced on 31th Oct

views
     
TSMatQuasar
post Jul 31 2023, 09:12 PM

Casual
***
Validating
329 posts

Joined: Jun 2023
QUOTE(MatQuasar @ Jul 3 2023, 09:11 AM)
I sent another entry, this time is DLL.....

user posted image
*
Found a DLL entry for BGGP4 by a user on Mastodon:

QUOTE
Dn-FamiTracker-dll-hijack
BGGP4 Submission https://binary.golf/

Produce exactly 1 copy of itself ✅
Name the copy "4" ✅
Not execute the copied file ✅
Print, return, or display the number 4 ✅
Size: 19456 bggp4.dll (pretty big for a dll?)

Dn-FamiTracker v0.5.0.1 contains an undocumented plugins feature.

https://github.com/Dn-Programming-Core-Mana...racker/releases

Step 1. Download and unzip Dn-FamiTracker v0.5.0.1

Step 2. Create a folder called Plugins in the same directory as the exe

Step 3. Place attached DLL in the folder, name it bggp4.dll

Step 4. Launch Dn-Famitracker


https://github.com/eatscrayon/Dn-FamiTracker-dll-hijack

Mine is only 3KB! His/Hers is 19KB, I win!!! rclxm9.gif

But I understand that it is a hijack, his/her DLL has exported function only known to Dn-FamiTracker:
CODE
; fasm1 autogenerated include
; builder script: "export.cmd"
; library bggp4.dll, "C:\FASMW\bggp4.dll"

import bggp4.dll,\
 file_exists, "file_exists"


I tried running "rundll32 bggp4.dll, file_exists" but it doesn't work that way.

Check out more on : https://haunted.computer/tags/BGGP4 on Mastodon, or
https://twitter.com/hashtag/BGGP4 on Twitter.

----

International visitors might see this thread if searched from Google, currently listed as no. 2 in search result using keyword "bggp4".

This post has been edited by MatQuasar: Aug 6 2023, 05:45 PM
TSMatQuasar
post Aug 19 2023, 03:11 AM

Casual
***
Validating
329 posts

Joined: Jun 2023
The competition is ending soon, still 6 days left.

The organizer of BGGP said they might migrate @binarygolf account from Twitter to Mastodon in the future.

Sad news is @junyian is not participating as he is busy with his day job.

---

Update: 3 days left until deadline.

Can't wait to see the result on netspooky's GitHub BGGP repo.

I hope to see @angch, @flashang, @bitRAKE (from other forum) in this year's BGGP competition.

This post has been edited by MatQuasar: Aug 22 2023, 09:59 PM
TSMatQuasar
post Aug 22 2023, 10:03 PM

Casual
***
Validating
329 posts

Joined: Jun 2023
Here is the video "DN-Famitracker Plugin #BGGP4" by eatscrayon (He/she is a hacker)


TSMatQuasar
post Aug 24 2023, 05:43 PM

Casual
***
Validating
329 posts

Joined: Jun 2023
The competition is not ending tomorrow, but it has been extended for another two weeks.

The organizer said this year entries is more than twice as much as last year, last year about 30 submission, so this year 60+ submission is expected, wah..... Me alone had submitted 3 entries....

Update (for those not on Twitter or Mastodon following @binarygolf)
user posted image

EDIT: To visit their Mastodon profile, type in URL like this https://haunted.computer/@binarygolf

This post has been edited by MatQuasar: Aug 24 2023, 09:20 PM
TSMatQuasar
post Sep 4 2023, 06:41 PM

Casual
***
Validating
329 posts

Joined: Jun 2023
Some notes by organizer of BGGP worths reading tongue.gif
https://haunted.computer/@netspooky/111053550813845300

user posted image

Reposted from : https://haunted.computer/@binarygolf/111054125124497417

This post has been edited by MatQuasar: Sep 26 2023, 05:03 PM
TSMatQuasar
post Sep 22 2023, 03:31 PM

Casual
***
Validating
329 posts

Joined: Jun 2023
Result is expected to be uploaded to the organizer's GitHub repo:

https://github.com/netspooky/BGGP

It has not been announced yet, so perhaps anyone eagerly waiting can check the GitHub repo above for "2023" folder in the next few days for BGGP4 result.

----

https://xcellerator.github.io/posts/bggp4/ says:
QUOTE
Similar to previous years, I didn’t actually submit any of these entries for scoring as I actually help out with scoring other people’s entries with the Binary Golf Association.


So xcellerator, a smart guy in Linux kernel hacking and tmp.0ut 1:1 contributor, was not participating BGGP3 and BGGP4 even though he had entries / write-ups for them. He is joining netspooky to score our entries, nice one!

This post has been edited by MatQuasar: Sep 26 2023, 05:05 PM
TSMatQuasar
post Oct 28 2023, 05:41 PM

Casual
***
Validating
329 posts

Joined: Jun 2023
QUOTE(flashang @ Jul 6 2023, 08:56 PM)
Just learn lua for some testing when free.
It's quite easy.

smile.gif
*
It is certainly nice to see you latest work: https://github.com/Flash-ang/lua-mod using Lua . rclxm9.gif

But I am not familiar with web server, so have no clue how to run it.




TSMatQuasar
post Oct 31 2023, 01:04 PM

Casual
***
Validating
329 posts

Joined: Jun 2023
Finally, results have been announced 4 hours ago on:

https://github.com/binarygolf/BGGP/tree/main/2023


TSMatQuasar
post Oct 31 2023, 01:10 PM

Casual
***
Validating
329 posts

Joined: Jun 2023
QUOTE(flashang @ Jun 24 2023, 10:24 PM)
already submitted lua file.

may be do other language when free.

smile.gif
*
user posted image

Woohoo, you won the Lua category! rclxm9.gif

You're No. 2 in PHP category. Not bad!

And you ranked No. 2 in Python..... rclxms.gif
user posted image

This post has been edited by MatQuasar: Oct 31 2023, 01:15 PM
TSMatQuasar
post Oct 31 2023, 01:13 PM

Casual
***
Validating
329 posts

Joined: Jun 2023
I won the PE category! Yuppy! My ELF, however, ranked the last.

user posted image

Link to my PE write-up:

How to create 1024-byte PE for BGGP4 code golf
( https://forum.lowyat.net/topic/5406205 )

This post has been edited by MatQuasar: Oct 31 2023, 01:50 PM
TSMatQuasar
post Oct 31 2023, 03:59 PM

Casual
***
Validating
329 posts

Joined: Jun 2023
user posted image

I ranked last in ELF64....

CianLR is a Google software developer, according to his/her GitHub profile.
flashang
post Oct 31 2023, 05:19 PM

Casual
***
Junior Member
355 posts

Joined: Aug 2021


QUOTE(MatQuasar @ Oct 31 2023, 01:10 PM)
user posted image

Woohoo, you won the Lua category!  rclxm9.gif

You're No. 2 in PHP category. Not bad!

And you ranked No. 2 in Python.....   rclxms.gif
user posted image
*
nobody try lua, lesser competitor, so easier to get high rank.

all using the same method, call shell to copy, remove any extra space...

tongue.gif



This post has been edited by flashang: Oct 31 2023, 05:21 PM
TSMatQuasar
post Dec 9 2023, 05:46 PM

Casual
***
Validating
329 posts

Joined: Jun 2023
I plan to reverse ic3queen's UEFI App in the next few weeks, I will then publish my finding on here.

But then I haven't even try to create "Hello,world " UEFI App..... Stay tuned.

https://haunted.computer/@ic3qu33n@infosec....044987010309755

QUOTE
Yo @binarygolf, here’s my entry 0 for BGGP4 —  a self-replicating UEFI app.

This is the first submission of the collab entry that I’m working on w @netspooky
We’ll be golfing this lil self-rep app so expect smaller and smaller entries to follow.

Entry 0 is a UEFI self-rep app I wrote in nasm-syntax x86 asm (1480 bytes) 
xoxo:

***

TVoAAVBFAABkhgMAAAAAAAAAAAAAAAAAoAAGAgsCAAD7AgAAzAAAAAAAAAAAAgAAAAIAAAAAAAAAAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAyAUAAAACAAAAAAAACgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAudGV4dAAAAPsCAAAAAgAA+wIAAAACAAAAAAAAAAAAAAAAAAAgAFBgLmRhdGEAAADMAAAA/AQAAMwAAAD8BAAAAAAAAAAAAAAAAAAAQAAA0C5yZWxvYwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABVSInlSIHswAAAAEiJDQIDAABIiRXjAgAASIsd3AIAAEiLW2BIiR3ZAgAASIsFygIAAEiLQEBIiQXPAgAASIsdwAIAAEiLu5gAAABIiw3CAgAATI0FwwIAAMdFwKExG1tmx0XEYpVmx0XG0hFIuI4/AKDJaXI7SIlFyEiNVcBMiw2PAgAAU//XW0iDOA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post has been edited by MatQuasar: Dec 9 2023, 05:47 PM
TSMatQuasar
post Dec 10 2023, 02:35 AM

Casual
***
Validating
329 posts

Joined: Jun 2023
This is an update to the ic3queen UEFI app, I try to run it from EFI Shell within QEMU.

Looks like it is not successful. No new file created.
user posted image

This is the command line I used:
CODE
"C:\Program Files\qemu\qemu-system-x86_64" -bios OVMF.fd -hda fat:rw:LYN/


I downloaded OVMF.fd from the Internet, it is an emulated UEFI firmware for virtual machine.

A fast hexdump to the ic3queen.EFI executable found that there is no DOS Stub, just MZ signature followed by PE header. Wow.

Is there anything wrong with my settings?

This post has been edited by MatQuasar: Dec 10 2023, 03:23 AM
TSMatQuasar
post Dec 10 2023, 01:02 PM

Casual
***
Validating
329 posts

Joined: Jun 2023
Ah, finally I solved the ic3queen's problem. I know why it didn't work previously.

From disassembler by IDA Free, I found a path name called "\\self-rep-golf.efi", which means the EFI app must be named exactly that.

user posted image

Now it works as expected:

user posted image

And from hexdump again, I can see 3 sections: code, data and reloc(ation).

Puzzle solved!
TSMatQuasar
post Dec 11 2023, 10:00 PM

Casual
***
Validating
329 posts

Joined: Jun 2023
Another UEFI app entry for BGGP4 is by a German, written in Rust, reduced to 7KB in size from 40KB. But he/she didn't win the smallest UEFI category, because ic3queen's is only 1,480 bytes (written in NASM).

https://www.ytvwld.de/blog/bggp23.html

user posted image

3 Pages < 1 2 3Top
 

Change to:
| Lo-Fi Version
0.0164sec    0.49    5 queries    GZIP Disabled
Time is now: 24th December 2025 - 09:22 PM