C’s Random Collection
204 subscribers
96 photos
4 videos
20 files
1.09K links
Personal tech notes, all opnions are mine. https://blog.chenxi.dev
Download Telegram
https://en.wikipedia.org/wiki/Return-to-libc_attack return to libc attack 也就是现在所说的 ROP,在 CTF 里是个很常见的攻击?因为 Memory 有 (DEP, or data execution prevention, means that you can't run code from anywhere you want anymore),再加 stack 的 ramdomization, Buffer overflow 攻击就基本杜绝注入攻击了。但 ROP 还是可以的 #security #system
if the stack is DEP, then just begin the exploit at the ret and call the following chain of gadgets. Finally got the idea of ROP. 把 Caller 的 stack overwrite 掉,跳到目标 gadget 然后 return 就好了。 btw, pop 是个好东西,popping means restoring whatever is on top of the stack into the register #ROP #security