GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Plaxtic/Basic-Linux-Security: bypassing builtin security features on Linux

BranchesTags
Open more actions menu

Latest commit

 

History

10 Commits
10 Commits

Folders and files

NameName
Last commit message
Last commit date
allsec
allsec
 
 
level1
level1
 
 
level2
level2
 
 
level3
level3
 
 
level4
level4
 
 
level5
level5
 
 
src
src
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
aslr.sh
aslr.sh
 
 
build.sh
build.sh
 
 

Repository files navigation

Basic-Linux-Security

Several Basic Ctf binaries intended to show how the basic Linux/gcc security protections (such as NX, ASLR, PIE, Relro, and stack canaries) may be bypassed.

To build the binaries, run:

./build.sh

Try not to look at the source code initially. The goal in every case is to pop a shell.

Each level contains the same two binaries with increasing layers of security. The sol folder contains my solution, exploit.py, (if I have solved it) along with rough working notes. The working notes are also executable tutorials, to execute these or the solutions please install pwntools (you will probably need it anyway).

pip install pwn

The script aslr.sh should be used to turn off aslr for the first 2 levels, and back on for the others.

./aslr.sh on/off

allsec contains binaries with all basic protections enabled. As the simple buffer overflow appears to be impossible here, I have included four more complex, exploitable binaries. The best stuff is in allsec.

(more to come)

About

bypassing builtin security features on Linux

Topics

ctfhardeninglinuxreverse-engineeringsecurity

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.