SLAE64: Assignment 7 – Cryptor

This blog post has been created for completing the requirements of the SecurityTube Linux Assembly Expert (SLAE64) certification:

Student-ID: PA-15847

The Objectives for the Assignment:

- create a custom crypter
- free to use any existing encryption schema
- can use any programming language

We’ll use the following encryption script for this assignment:

I used the following encoder for this purpose:

I used the Execve Shellcode as we wrote during the course:


We’ll compile the file:

gcc assignment7-crypter.c -o assignment7-crypter

And then run the crypter file to have the encoded shellcode:

Then we’ll run the following decoder to get the same decoded shellcode

Here’s the command for the compilation:

gcc assignment7-decrypter.c assignment7-aes.c -o decrypter -fno-stack-protector -z execstack

This will give us the original shellcode back.

So this was the last assignment of the SLAE64 course. Hope you enjoyed them as much as I did 🙂

You can find the sourcecode in my Github repository:

Categorized as SLAE64