Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support transparent decompression of UPX'd binaries #197

Open
tstromberg opened this issue May 8, 2024 · 0 comments
Open

Support transparent decompression of UPX'd binaries #197

tstromberg opened this issue May 8, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@tstromberg
Copy link
Collaborator

tstromberg commented May 8, 2024

Similar to how we transparently decompress other archival formats, we should be able to run "upx -d" if a program appears to be compressed with UPX.

We should probably show the decompressed payload as if it existed "inside" the other one, so that the rule matches for both compressed and uncompressed payloads show up differently. For example:

# file
- HIGH: this file was compressed with UPX!

# file ∴ upx
- CRITICAL: it's malware!

If a UPX'd binary is encountered, but the upx utility is unavailable, an error message should be sent to stderr, saying something like:

"upx" not in path, unable to decompress binary for further analysis

@egibs egibs added the enhancement New feature or request label May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants