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

Couldn't load file; corrupt or not a PE? #1052

Open
eljeffeg opened this issue May 10, 2023 · 1 comment
Open

Couldn't load file; corrupt or not a PE? #1052

eljeffeg opened this issue May 10, 2023 · 1 comment

Comments

@eljeffeg
Copy link

Not sure if this is a winchecksec issue or a pe-parse issue, but I get many binaries that give Couldn't load file; corrupt or not a PE? when running winchecksec / uthenticode. Running pe-parse on one file gives Error 9: (Bad Magic) ParsePEFromBuffer:2528.

Here is the header of one such file.
example_head1.zip

@woodruffw
Copy link
Member

Thanks for the report @eljeffeg!

From a quick glance, this is probably a pe-parse issue, since the parsing fails at that level. But I'll take a look at the samples you sent over and confirm.

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

2 participants