Skip to content

Secured Stack Implementation with Additional Libraries

Notifications You must be signed in to change notification settings

V13kv/SecuredStack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Secured Stack implementation Build Status

Implementation of stack data structure with several levels of protection.
Second task in MIPT in the first year of education.

Motivation

Imagine that there is a "bad guy" who wants to hack your program, go outside the array (we assume that there are no protections in the system) and get access to confidential data. As programmers, we want to prevent this. That is why the idea of this project is to understand the intricacies of basic methods of stack protection.

Stack protection techniques

There are several layers of protections that can be turned on/off separately:

  1. Canaries. Canaries are used to determine whether there is buffer overflow.
  2. Checksum. Checksum is used to determine whether there was some changes in data that were not expected.

Setting up

Clone the repository

git clone https://github.com/V13kv/SecuredStack;
cd SecuredStack

Compiling

make init;
make

Running

./stack.exe

About

Secured Stack Implementation with Additional Libraries

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published