Did you know Cybrary has FREE video training? Join more than 2,500,000 IT and cyber security professionals, students, career changers, and more, growing their careers on Cybrary.
In this lesson, participants receive a demonstration of a classic buffer overflow attack. The goal of a buffer overview attack is for an attacker to deploy arbitrary code onto a users machine and take it over, accessing the person's information. In this demo, Kali Linux is the attacker machine and the victim's machine is a Windows XP. Using the vuln function, bytes are copied and a buffer overflow is created and a root shell on the box is the final goal. Participants learn how to create this using pre-staged code in the Python programming language.