Elektrine lite

← Feed

@treadful@lemmy.zip

Post #1843174

2026-04-29 22:49 UTC

Very quick cursory review: The python script appears to decompress what might be an ELF from those compressed bytes. Then it opens a cryptography socket (AF_ALG) with the kernel and sends that whole thing. So the exploit is in the binary data and would likely take some skilled Linux engineers to decompile it and figure out the exploit. I’m not entirely sure why they would obfuscate it. Maybe they think it helps with responsible disclosure so people can’t make something more useful than the PoC?

Replies (2)

  • @sun_is_ra@sh.itjust.works 2026-04-30 00:12

    I can at least tell you what it does because I tested it: It override your /usr/bin/su so that it now let you run as root with no password. My guess is that the payload is an su command that was modified to run without requiring password but it’s also possible - though unlikely - that it just patch your existing su. either way if you will run the script, you need to backup your existing su command first.

    Open ##1843621

  • @Aatube@piefed.social 2026-04-30 02:09

    I’m not sure how much of it is obfuscation and how much of it is golfing. Ze golfed it so ze could make the pretty valid “just 732 bytes python script” claim. The compression could very well be just a way to write a binary in Python plaintext. ChatGPT claims it just attempts to sudo, run /bin/sh if that succeeds, and exit if that fails.

    Open ##1844329