"This blog post has been created for completing the requirements of the SecurityTube Linux Assembly Expert certification." http://securitytube-training.com/online-courses/securitytube-linux-assembly-expert/ Student ID: SLAE64-1434 Target Operating System : 64 bit Linux (x86_64 GNU/Linux) Resulting Shellcode Size (machine code bytes): 22 Published: https://www.exploit-db.com/exploits/41174/ GitHub Link : https://github.com/rtaylor777/nasm/blob/master/ExecveStack1434.nasm Testing Once you have downloaded the ExecveStack1434.nasm source code from the GitHub link above, you will need to assemble it. Assuming you have the NASM assembler ( http://www.nasm.us/ ): Assemble : nasm -felf64 ExecveStack1434.nasm -o ExecveStack1434.o Link : ld ExecveStack1434.o -o ExecveStack1434 Then Execute : ./ExecveStack1434 This will launch the /bin/sh shell. Object Dump Once you have the object file ExecveStack1434.o: objdump -M intel -D ExecveStack1434.o ...
Cryptic thoughts, analysis of code, assembler projects, information security topics