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

Doesn't detect UPX packed executable #2

Open
zbuc opened this issue May 20, 2015 · 3 comments
Open

Doesn't detect UPX packed executable #2

zbuc opened this issue May 20, 2015 · 3 comments

Comments

@zbuc
Copy link

zbuc commented May 20, 2015

There's an example from the book Practical Malware Analysis that is packed with UPX that isn't detected by packerid.

http://practicalmalwareanalysis.com/labs/

The example is Lab01-02.exe. packerid returns "None" when it should detect UPX.

If you examine the sections in the PE binary, you'll see that it has UPX sections and the UPX unpacker works against the file.

@david-r-cox
Copy link

Interesting, any thoughts on why it fails? Have you gotten it to successfully detect other UPX binaries?

@zbuc
Copy link
Author

zbuc commented May 26, 2015

I haven't had a chance to look at how packerid performs detection yet.

The book called out the fact that PEid for Windows didn't detect UPX properly on the binary, so I checked how packerid fared, which also failed to detect the packing.

@sooshie
Copy link
Owner

sooshie commented Jun 5, 2015

Could be a couple of different reasons. packerid uses pefile which is based off PEiD and uses it's signatures.

The signature available could be less than great, and there are a couple of minor issues with how pefile handles PEiD signatures. I've fixed a couple, but haven't gotten around to fixing all of them yet.

Mostly unrelated. I've been working on some new ways to do packer detection that are not based off PEiD. They'll be released later this summer at Defcon, and I'll eventually get them wrangled into packerid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants