This game is a single 13 KiB file that runs on Windows, Linux and in the Browser.

https://iczelia.net/posts/snake-polyglot/

113 points · 9 comments · view on lemmy.world

9 Comments

jokro@feddit.org · 25 pts · 230d

Wow, in case it's not clear, it really is the same file for all three platforms.

diemartin@sh.itjust.works · 25 pts · 230d (4 replies)

This is pretty cool. Reminds me of .kkrieger, but this beats it in small size and that it's a polyglot (though .kkrieger wins in visuals)

I didn't see a link to source code for the snake tho

01189998819991197253@infosec.pub · 11 pts · 230d (3 replies)

I've been looking for this game for so long! Thank you!

Edit. Here's the source.

diemartin@sh.itjust.works · 8 pts · 230d (2 replies)

Oh, I meant the polyglot snake sources, but thanks

01189998819991197253@infosec.pub · 3 pts · 230d (1 reply)

Ah whoops. Sorry about the misunderstanding

diemartin@sh.itjust.works · 3 pts · 229d

No problem :)

Upon reading my comment again, it's a bit ambiguous. Clarified a bit

FishFace@piefed.social · 10 pts · 230d

Ok but is it good

Hirom@beehaw.org · 4 pts · 230d (1 reply)

VirusTotal doesn't like it https://www.virustotal.com/gui/file/ede115f31fb3fcc3c27bad1b6da5cfee30bd692c3fc04ca1e8f0e8f43787b66f

Either it's because it's using the same technique as malware, or because it's malware.

TeamAssimilation@infosec.pub · 9 pts · 229d

I’d guess the former, given it’s tiny compared to normal droppers, but you can never be sure these days.

This sample is a multi-platform 'polyglot' binary acting as a dropper and potentially a browser-based exploit. It functions as a Windows PE (with no standard imports, suggesting custom shellcode or manual API resolution), a Linux shell script, and an HTML/JavaScript file. The Linux component contains a command ('tail -c+4294 $0 | lzma -dc > /tmp/a') that extracts and executes a hidden payload from its own body. The embedded JavaScript is obfuscated and uses 'eval' to execute dynamically generated code. This structure is typical of sophisticated malware or cross-platform exploit delivery kits.

MonkderVierte@lemmy.zip · 1 pts · 229d
[ removed ]