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

SafeSEH reported False for resource-only DLLs #16

Open
imag0r opened this issue Nov 9, 2018 · 1 comment
Open

SafeSEH reported False for resource-only DLLs #16

imag0r opened this issue Nov 9, 2018 · 1 comment
Labels

Comments

@imag0r
Copy link

imag0r commented Nov 9, 2018

SafeSEH is reported False for resource-only DLLs. While it is technically valid, it just generates a noise in the reports as this can't be 'fixed' in the DLL itself. Resource-only DLLs contain no code, so they can't have safe Structured Exception Handlers.
PESecurity could skip such DLLs by checking whether they have non-0 entry point.
More info: https://docs.microsoft.com/en-us/cpp/build/creating-a-resource-only-dll?view=vs-2017

@egru
Copy link
Member

egru commented Dec 7, 2018

Thanks for the info. I'll take a look and write up a patch to skip those.

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

No branches or pull requests

2 participants