Click here to Skip to main content
15,885,278 members
Articles / Security

A Simple 32bit Ret2libc Attack in Linux

Rate me:
Please Sign up or sign in to vote.
5.00/5 (6 votes)
27 May 2021CPOL12 min read 10.3K   6  
In this article, we will be looking at a more advanced version of a buffer overflow attack.
In this typical instance, we will be looking at how an attacker would circumvent DEP (Data execution prevention) by redirecting the return address of a C function to a function contained in libC (C standard library) in a 32bit binary.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Germany Germany
I am an avid programmer, my primary field has been .NET development on ERP systems. I branched out into PHP, Javascript and web development and now into Cyber-security.

Comments and Discussions