From ff42b1a43f2e9c2a3f47c2b8f1064b8cf8ec68fc Mon Sep 17 00:00:00 2001 From: RazviOverflow <41084837+RazviOverflow@users.noreply.github.com> Date: Sun, 4 Aug 2024 19:06:45 +0200 Subject: [PATCH] Update relro.md --- .../common-binary-protections-and-bypasses/relro.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binary-exploitation/common-binary-protections-and-bypasses/relro.md b/binary-exploitation/common-binary-protections-and-bypasses/relro.md index 693d582f1..6f20934a6 100644 --- a/binary-exploitation/common-binary-protections-and-bypasses/relro.md +++ b/binary-exploitation/common-binary-protections-and-bypasses/relro.md @@ -23,7 +23,7 @@ Let's break down the concept into its two distinct types for clarity. ### **Partial RELRO** -**Partial RELRO** takes a simpler approach to enhance security without significantly impacting the binary's performance. Partial RELRO makes **the non-PLT part of the GOT section (usually referred to as .got from readelf output) read only**. Bear in mind that other sections like the .got.plt are still writeable and, therefore, subject to attacks. This **doesn't prevent the GOT** to be abused **from arbitrary write** vulnerabilities. +**Partial RELRO** takes a simpler approach to enhance security without significantly impacting the binary's performance. Partial RELRO makes **the .got read only (the non-PLT part of the GOT section)**. Bear in mind that the rest of the section (like the .got.plt) is still writeable and, therefore, subject to attacks. This **doesn't prevent the GOT** to be abused **from arbitrary write** vulnerabilities. Note: By default, GCC compiles binaries with Partial RELRO.