Deutsch Français Nederlands Español Italiano Português Русский 日本語 中文 한국어 हिन्दी తెలుగు मराठी தமிழ் Türkçe Ελληνικά Polski Čeština Magyar Svenska Dansk Suomi Українська العربية Indonesia

Stack Pivoting

Stack Pivoting is a technique used in computer security to exploit vulnerabilities in software. It involves taking control of the call stack, which is a region of memory that stores information about function calls in a program.

When a function is called, it pushes data onto the stack, including the address of the instruction that called it. When the function returns, it pops that data off of the stack and resumes from the calling instruction.

An attacker can use Stack Pivoting to redirect the return address to a different location in memory. By doing this, they can execute arbitrary code and take control of the system.

The term “pivoting” refers to the fact that the attacker is “pivoting” the call stack, redirecting it to a different location.

To counter this technique, developers can use stack canaries and other security measures to detect if the call stack has been tampered with.