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

Bypassing ASLR/NX with GOT Overwrite - finding system offset #3

Open
AndyCyberSec opened this issue May 25, 2019 · 1 comment
Open

Comments

@AndyCyberSec
Copy link

Please clarify how tou find system offset

This is not clear:
./dump local-03ffe08ba6d5e7f5b1d647f6a14e6837938e3bed | grep system

what is it?

Then the guide will be perfect :)

@sanmiguella
Copy link

you can use objdump too but..

objdump -d /lib/i386-linux-gnu/libc-2.23.so | grep "<__libc_system@@GLIBC_PRIVATE>" -> command
0003ada0 <__libc_system@@GLIBC_PRIVATE> -> 0x0003ada0

identify and dump is to make your life easier

vagrant@ubuntu-xenial:~/libc-database$ ./identify /lib/i386-linux-gnu/libc-2.23.so
id local-568c528bd0d4ab9279ab140a11c9b138487e41ee

vagrant@ubuntu-xenial:~/libc-database$ ./dump local-568c528bd0d4ab9279ab140a11c9b138487e41ee | grep system
offset_system = 0x0003ada0

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