I'm new to Linux operating system. Last day, I practice "heap exploitation", and they give me an elf file, and a "libc.so.6" file, and they said I must debug/exploit with that libc file, but I don't know how to use it.

I try to run the elf file, and I receive "Illegal instruction (core dumped)". After googling, I try with LD_PRELOAD, LD_LIBRARY_PATH but no luck. I'm using LUbuntu 18.04.

So can you guys help me with this case ? Thanks in advance !


I can almost guarantee 'they' are wanting you to perform a return to libc exploit.

Some good references

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.