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

Segmentation fault on some not usual elf #3

Open
yurket opened this issue Dec 10, 2014 · 2 comments
Open

Segmentation fault on some not usual elf #3

yurket opened this issue Dec 10, 2014 · 2 comments

Comments

@yurket
Copy link

yurket commented Dec 10, 2014

Recently I've run into a crackme from the web-site http://crackmes.de/. Here is the link to binary http://crackmes.de/users/josamont/j333/, but it needs registration, so I've uploaded the binary here https://yadi.sk/d/WheWlZ1FdH8kF.

Running ht on this binary gives me segfault.
Here is the gdb backtrace: https://gist.github.com/yurket/2f70b1199db5aae3bfc5

@Celelibi
Copy link

This is a common occurrence with ELF produced by sstrip. It removes the section headers, which are required by several tools handling ELF files, including ht.

I made some patch a while ago to make the elf/image view show the in-memory view as done by the kernel (thus only relying on the program headers).

I think that's the right thing to do with the ELF of type ET_EXEC and ET_DYN.

@sebastianbiallas
Copy link
Owner

@Celelibi : Can you update/attach you patch?
Thanks
Sebastian

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