this post was submitted on 15 Sep 2024
23 points (78.0% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

54476 readers
601 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 1 year ago
MODERATORS
 

UPX is open source and works on linux , windows and mac (ie. cross platform) I would like to know why the torrenting space isn't using it already / having a mature discussion about it.

top 25 comments
sorted by: hot top controversial new old
[–] schizo@forum.uncomfortable.business 32 points 1 month ago (1 children)

Pack what executables exactly?

Like take a copy of Nodobe Notoshop and repack it?

If that's what you mean, uh, politely, but fuck no. Malware is enough of a problem that there's no way I'd want to start downloading crap that's been UPXed since that's going to make it impossible to determine if it's legitimate or not by (most) endpoint tools, or they'll just see UPX and go 'bad shit!' on everything.

[–] Linuxer@discuss.online 1 points 1 month ago (1 children)

What do you actually mean?

Do you scan for torrents using some endpoint tools ?

[–] schizo@forum.uncomfortable.business 16 points 1 month ago (2 children)

Sorry, I meant antivirus. (Corpo IT calls it endpoint, since it's, well, the endpoint.)

[–] Linuxer@discuss.online 2 points 1 month ago (2 children)

. Malware is enough of a problem that there’s no way I’d want to start downloading crap that’s been UPXed since that’s going to make it impossible to determine if it’s legitimate or not by (most) endpoint tools, or they’ll just see UPX and go ‘bad shit!’ on everything.

You had clearly misunderstood what this tool is. Its tool for better compression of executables which could be used in data sensitive (Like , most people would agree with me that some times decrypting on our own local device could be better since it could be more predictable than waiting for seeders , because there are very less seeders)

[–] schizo@forum.uncomfortable.business 17 points 1 month ago* (last edited 1 month ago) (1 children)

Politely, but no.

It's a compression tool that is also used to mask malware, and you're proposing to expand it's use in a use case that's ALREADY coated in enough malware to give you herpes just by walking past your average tracker.

It's a bad idea from a security perspective, and it's not going to outperform a LZMA-based compression tool using a large dictionary (7zip, etc.) which also isn't fucking with binaries in a way that makes detecting and preventing malicious software more complicated for the average user, who typically knows absolutely zero about what's going on.

[–] Linuxer@discuss.online 3 points 1 month ago* (last edited 1 month ago)

I had actually agreed with you , here was my initial comment , though I just wanted to look into upx github page more

okay now I understand what you mean.
Basically the same threat model follows if you want to unpack a upx
and it also states
- We will *NOT* add any sort of protection and/or encryption.
    This only gives people a false feeling of security because
    all "protectors" can be broken by definition.

What would you recommend instead ? .
But also if you are extracting that file , you are basically running it , but the main issue is that antivirus can't read it

new response:


But on  https://upx.github.io/ , its given as

>secure: as UPX is documented Open Source since many years any relevant Security/Antivirus software is able to peek inside UPX compressed apps to verify them

I am really sorry mate but please read about upx once because I don't know why but you just seem so defensive to this change without actually giving any good reason. Though you do seem knowledgable so I am obviously looking to have more discussion , but just a bit more detailed.
Thanks , have a good day / good night
[–] montar@lemmy.ml 6 points 1 month ago (1 children)

He didn't, malware guys use UPX and it's true that antiviruses scream bloody murder when they see it. It's also true you can't see what's inside unless you have special tools to do so. UPX also has one huge downside, it's its RAM usage, due to it's inner workings it's unable to use optimisations that normal binaries can like page sharing.

[–] Linuxer@discuss.online 0 points 1 month ago (1 children)

okay so what alternative do you suggest which could be better used in exe formats I feel that unzipping from exe isn't the best solution to this problem

(like some exe contain some zip file inside them and extract them)

[–] montar@lemmy.ml 1 points 1 month ago* (last edited 1 month ago)

Just putting all your stuff in one big .7z so you can unpack it to directory then scan them all w/ AV.

[–] Linuxer@discuss.online 1 points 1 month ago* (last edited 1 month ago)

well then you could still extract it using upx , (basically if I remember correctly , you use upx on one exe file to generate another (I think this is the intended use case of what I am suggesting) & then use antivirus on that. according to their website you can list, test and unpack your executables. Also, a checksum of both the compressed and uncompressed file is maintained internally.

[–] onlinepersona@programming.dev 13 points 1 month ago (2 children)

Maybe present what it's for and why you think it should be used? To me, you just proposed a random tool and just shared a link. Sorry dude, I ain't reading all that.

Anti Commercial-AI license

[–] Linuxer@discuss.online 7 points 1 month ago (2 children)

Okay I have edited it to give more of my side. And not sure why you linked Anti Commercial AI license , I am not a bot .

[–] B1naryB0t@lemmy.dbzer0.com 18 points 1 month ago

It's the digital equivalent of those sovereign citizens who think the people in charge give a fuck what they think. It makes them feel better.

[–] veniasilente@lemm.ee 1 points 1 month ago

It's a licensing statement. Their post is CC-licensed.

[–] Linuxer@discuss.online 0 points 1 month ago

Okay agreed.

[–] Kissaki@lemmy.dbzer0.com 8 points 1 month ago (1 children)

The executable being packed in an executable format means it has to be decompressed on each launch. If it doesn't it means it's not saving any space anyway.

I don't know what packing you're looking for, but Windows applications are typically installed with installers. An executable compressed executable goes against this; unless you want to pack installers.

Traditional file compression works well enough. People know to launch an msi or exe or read a README. Introducing non-standard tools is not necessarily a good idea, and certainly is not intuitive to users not already familiar with it.

[–] Linuxer@discuss.online 0 points 1 month ago

Traditional file compression doesn't work that well as compared to upx. Upx supports as much as 500 mb/s on any reasonable device (this is very comparable to https://github.com/mhx/dwarfs) , which is honestly insane.

[–] catloaf@lemm.ee 7 points 1 month ago (1 children)

What advantage does it have over existing methods? It's great that it's cross-platform, but so are zip files. And the content inside isn't cross-platform, so I don't think that ultimately adds anything.

[–] Linuxer@discuss.online 1 points 1 month ago (1 children)

I mean , I use linux but I can use wine to run the content inside , so in some sense "every content" is cross platform. I think it ultimately adds to better performance specifically for executable torrents in the long run over things like zip.

[–] catloaf@lemm.ee 2 points 1 month ago

In what way?

[–] SweetMylk@lemm.ee 4 points 1 month ago

We should use tiny spoons to drink water in communal spaces!

[–] Teknikal@eviltoast.org 3 points 1 month ago* (last edited 1 month ago) (1 children)

Have you ever used upx on a windows machine, defender throws fits and deletes everything.

[–] Linuxer@discuss.online 1 points 1 month ago* (last edited 1 month ago)

What advantage does it have over existing methods? It’s great that it’s cross-platform, but so are zip files. And the content inside isn’t cross-platform, so I don’t think that ultimately adds anything.

https://github.com/upx/upx/issues/437

It states that the more people use and report upx as non antivirus to windows , the better detection rate occurs. This software is open source y'all. Not sure why you all have got your pitchforks

heres https://www.virustotal.com/gui/file/e61c808be19688dacff19d9439563410067e6eb72a9cc8afdb2644a785d056b1 , upx virustotal link.

[–] Imgonnatrythis@sh.itjust.works 2 points 1 month ago (1 children)

Is it faster than 7z or have better ratios?

[–] Linuxer@discuss.online 0 points 1 month ago

yes I think it does indeed have better ratio than 7z with better speed , I think without the need of extraction.