Skip to content

A beginner course to teach how to write shellcode in x86_64 assembly.

Notifications You must be signed in to change notification settings

zer0x64/shellcoding-x64-101

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Shellcoding 101 on Linux x86_64

This repo contains exercises for learning shellcoding on linux, on x86_64 architecture(commonly simple called "64 bits").

It is aimed for assembly begginers and doesn't require much skills. The underlying assembler framework needs build tools and cmake to be installed. Make sure these are installed.

The environment requires Keystone engine, which can be installed using:

pip3 install --user keystone-engine

To compile and run a shellcode, run:

python3 shellcode.py example.asm

To debug a shellcode, make sure it contains a brakpoint(int3) and run the following command:

gdb --args python3 shellcode.py example.asm

The presentation can be found at the following link: https://docs.google.com/presentation/d/1xvIIQhMaD04_eui1VNbddBf7HwdWtgrsTbdqOlb0ao4/edit?usp=sharing

About

A beginner course to teach how to write shellcode in x86_64 assembly.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published