All Questions
Tagged with debugging privilege-escalation
4 questions
2
votes
2
answers
5k
views
Debugging SUID for privilege escalation
When doing privilege escalation, assuming an application with the SUID set and a debugger, what stops us from starting a shell from within the debugger? I mean just write the shell code in an ...
1
vote
0
answers
1k
views
Trick needed to make use of a local buffer overflow vulnerability to obtain root
I am working on a certain CTF trying to gain root privileges in it, I found a vulnerable program to buffer overflow vulnerability with Non executable stack security level (NX), I developed an exploit ...
1
vote
1
answer
766
views
Shell not always escalating privileges in narnia
I'm going through the various overthewire wargames and I have a question about narnia0. The code in c contains
if(val==0xdeadbeef)
system("/bin/sh");
else {
printf("WAY OFF!!!!\n");
I got it to work ...
5
votes
2
answers
774
views
Privilege escalation fails outside gdb
I have an application with the following source code:
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
int bof(char *str)
{
char buffer[12];
strcpy(buffer, str);
...