Skip to main content

Questions tagged [rop]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
31 views

Why can't I resolve the 'system' dynamic addresss in ret_2_libc exploit?

First and foremost, I am a noob pwner. The problem at hand is from TryHackMe.com > pwn101 > pwn109. A simple ret_2_libc in which you exploit a simple buffer overflow, leak the addresses of gets()...
Christian Sanchez's user avatar
0 votes
1 answer
128 views

ROP: System function not printing results to stdout

in oder to solve a CTF-Challenge I have to construct a small ROP-chain. The scope of the ROP chain is to print the content of the `flag` file. I already constructed the ROP-chain, but it seems that ...
pekusbill's user avatar
1 vote
1 answer
271 views

How does PIE mitigate exploits?

I read a tutorial where they compiled with the -no-pie option. Is it because the .text segment will be loaded at a random address, therefore making the address of gadgets founds inside it useless ?
hehehe's user avatar
  • 11
0 votes
0 answers
84 views

system doesn't invoke /bin/sh

I am learning libc shellcode attacks and trying to execute /bin/sh from system I can execute other commands from system like whoami and ls -a but can not run /bin/sh the following works string = b&...
Devharsh Trivedi's user avatar
1 vote
0 answers
52 views

xIP vs xSP vs xBP: How to choose the target?

We have 32bit & 64bit binaries, and in ROP (Return Oriented Programming), we sometimes target RSP/ESP, sometimes RIP/EIP, (maybe) sometimes RBP/EBP (I'm new to this, haven't seen RBP used yet). In ...
ChocolateOverflow's user avatar
1 vote
0 answers
167 views

RopGadget buffer overflow

I have a question, I have a device that i can perform on it buffer overflow. The problem is that is that there is an ASLR(on all addresses in /proc/binary/maps, but not on the binary itself, but all ...
Logan's user avatar
  • 71
1 vote
2 answers
172 views

BufferOverflow - Cannot push a specific return address on the stack

I'm currently playing with buffer overflow and ROP-chains, and I'm facing a weird behavior that I don't know how to deal with. I don't know why, but i cannot correctly push the address of my first ...
Guillaume's user avatar
  • 709
2 votes
1 answer
456 views

ROP chain: Buffer Overflow Return Pointer

I am trying to get a ROP exploit to work on Ubuntu 18.04 LTS 64bit. I have a 64 bit binary (Nx enabled, ASLR disabled) with vuln function as follows: public vuln vuln proc near var_100= byte ptr -...
Kainaat Singh's user avatar
2 votes
1 answer
1k views

How to reverse engineer a Black Box?

I am trying to reverse engineer / research a black box system, this is, a system for which there is no public information at all. Let's say the system is a modern handheld console. I have already ...
78dtat78da's user avatar
4 votes
2 answers
634 views

Can't trace MIPS embedded device remotely

I'm trying to debug a remote device using gdbserver and IDA Pro. I'm attached to the correct PID and I'm able to step through instructions until the point where I redirect $pc to my ROP chain. At the ...
ub3rduck's user avatar
3 votes
1 answer
474 views

Reverse engineering POST request body

I have a POST request that had spawned a PHP webshell. It has exploited the REST API vulnerability in WordPress versions 4.7.0 and 4.7.1. The body of the request is in binary (possibly gzip-compressed)...
McJohnson's user avatar
  • 131
1 vote
2 answers
1k views

What is this protection that seems to prevent ROP when ASLR in ON?

I was doing some tests to train myself to ROP when ASLR is ON and NX is enabled. I created this small program for testing purpose #include <stdio.h> #include <stdlib.h> #include <...
Hackndo's user avatar
  • 475