├── .gitignore ├── 32bitLocalBinSh ├── makefile └── shell32.s ├── 32bitPutFileOnDisk ├── makefile └── shell32.s ├── 32bitSocketReuse ├── handler.sh ├── makefile ├── readme ├── shell.py └── shell32.s ├── 32bitStager ├── makefile ├── mapper_payload.s ├── readme ├── stage ├── test.sh └── test_shellcode.c ├── 32shellEmulator ├── makefile ├── readme └── shell32.s ├── 64BitLocalBinSh ├── makefile └── shell64.s ├── 64bitPutFileOnDisk ├── makefile └── shell64.s ├── 64bitSocketReuse ├── handler.sh ├── makefile ├── readme ├── shell.py └── shell64.s ├── 64shellEmulator ├── makefile └── shell64.s ├── README.md ├── getsShellcode ├── getsShellcode.s ├── makefile └── readme ├── include ├── elf.s ├── getSysCallNum.sh ├── runtime │ ├── gs.h │ └── gs.s ├── short32.s ├── short64.s ├── syscall.s └── util.s ├── isis ├── example.py ├── isis.py ├── nasm.py ├── nasm │ ├── LICENSE │ ├── nasm.exe │ ├── ndisasm.exe │ └── rdoff │ │ ├── ldrdf.exe │ │ ├── rdf2bin.exe │ │ ├── rdf2com.exe │ │ ├── rdf2ihx.exe │ │ ├── rdf2ith.exe │ │ ├── rdf2srec.exe │ │ ├── rdfdump.exe │ │ ├── rdflib.exe │ │ └── rdx.exe └── setup.py ├── lib_research ├── elf_notes ├── lib.c ├── loader.s ├── loader │ ├── elf_offsets.s │ ├── handler.sh │ ├── loader.s │ ├── makefile │ └── sendModule.py ├── makefile ├── prgm_header.py └── stage │ ├── gdb.init │ ├── makefile │ └── s.c ├── loader_research ├── .gdbinit ├── Makefile ├── input.c ├── mapper.c ├── other.c ├── test.c └── unmap.c ├── reverse32IPv4 ├── makefile ├── r32.s └── readme ├── reverse64IPv4 ├── makefile ├── r64.s └── readme ├── shellcodeAsArray └── sa.py └── stage ├── makefile └── stage.c /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/.gitignore -------------------------------------------------------------------------------- /32bitLocalBinSh/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/32bitLocalBinSh/makefile -------------------------------------------------------------------------------- /32bitLocalBinSh/shell32.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/32bitLocalBinSh/shell32.s -------------------------------------------------------------------------------- /32bitPutFileOnDisk/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/32bitPutFileOnDisk/makefile -------------------------------------------------------------------------------- /32bitPutFileOnDisk/shell32.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/32bitPutFileOnDisk/shell32.s -------------------------------------------------------------------------------- /32bitSocketReuse/handler.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | socat TCP-LISTEN:12345,reuseaddr,fork EXEC:"strace -f ./testShellcode" 3 | 4 | -------------------------------------------------------------------------------- /32bitSocketReuse/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/32bitSocketReuse/makefile -------------------------------------------------------------------------------- /32bitSocketReuse/readme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/32bitSocketReuse/readme -------------------------------------------------------------------------------- /32bitSocketReuse/shell.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/32bitSocketReuse/shell.py -------------------------------------------------------------------------------- /32bitSocketReuse/shell32.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/32bitSocketReuse/shell32.s -------------------------------------------------------------------------------- /32bitStager/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/32bitStager/makefile -------------------------------------------------------------------------------- /32bitStager/mapper_payload.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/32bitStager/mapper_payload.s -------------------------------------------------------------------------------- /32bitStager/readme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/32bitStager/readme -------------------------------------------------------------------------------- /32bitStager/stage: -------------------------------------------------------------------------------- 1 | ../stage/stage -------------------------------------------------------------------------------- /32bitStager/test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./test_shellcode mapper_payload_test 3 | -------------------------------------------------------------------------------- /32bitStager/test_shellcode.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/32bitStager/test_shellcode.c -------------------------------------------------------------------------------- /32shellEmulator/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/32shellEmulator/makefile -------------------------------------------------------------------------------- /32shellEmulator/readme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/32shellEmulator/readme -------------------------------------------------------------------------------- /32shellEmulator/shell32.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/32shellEmulator/shell32.s -------------------------------------------------------------------------------- /64BitLocalBinSh/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/64BitLocalBinSh/makefile -------------------------------------------------------------------------------- /64BitLocalBinSh/shell64.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/64BitLocalBinSh/shell64.s -------------------------------------------------------------------------------- /64bitPutFileOnDisk/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/64bitPutFileOnDisk/makefile -------------------------------------------------------------------------------- /64bitPutFileOnDisk/shell64.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/64bitPutFileOnDisk/shell64.s -------------------------------------------------------------------------------- /64bitSocketReuse/handler.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | socat TCP-LISTEN:12345,reuseaddr,fork EXEC:"strace ./testShellcode" 3 | 4 | -------------------------------------------------------------------------------- /64bitSocketReuse/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/64bitSocketReuse/makefile -------------------------------------------------------------------------------- /64bitSocketReuse/readme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/64bitSocketReuse/readme -------------------------------------------------------------------------------- /64bitSocketReuse/shell.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/64bitSocketReuse/shell.py -------------------------------------------------------------------------------- /64bitSocketReuse/shell64.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/64bitSocketReuse/shell64.s -------------------------------------------------------------------------------- /64shellEmulator/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/64shellEmulator/makefile -------------------------------------------------------------------------------- /64shellEmulator/shell64.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/64shellEmulator/shell64.s -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/README.md -------------------------------------------------------------------------------- /getsShellcode/getsShellcode.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/getsShellcode/getsShellcode.s -------------------------------------------------------------------------------- /getsShellcode/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/getsShellcode/makefile -------------------------------------------------------------------------------- /getsShellcode/readme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/getsShellcode/readme -------------------------------------------------------------------------------- /include/elf.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/include/elf.s -------------------------------------------------------------------------------- /include/getSysCallNum.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/include/getSysCallNum.sh -------------------------------------------------------------------------------- /include/runtime/gs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/include/runtime/gs.h -------------------------------------------------------------------------------- /include/runtime/gs.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/include/runtime/gs.s -------------------------------------------------------------------------------- /include/short32.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/include/short32.s -------------------------------------------------------------------------------- /include/short64.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/include/short64.s -------------------------------------------------------------------------------- /include/syscall.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/include/syscall.s -------------------------------------------------------------------------------- /include/util.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/include/util.s -------------------------------------------------------------------------------- /isis/example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/isis/example.py -------------------------------------------------------------------------------- /isis/isis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/isis/isis.py -------------------------------------------------------------------------------- /isis/nasm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/isis/nasm.py -------------------------------------------------------------------------------- /isis/nasm/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/isis/nasm/LICENSE -------------------------------------------------------------------------------- /isis/nasm/nasm.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/isis/nasm/nasm.exe -------------------------------------------------------------------------------- /isis/nasm/ndisasm.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/isis/nasm/ndisasm.exe -------------------------------------------------------------------------------- /isis/nasm/rdoff/ldrdf.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/isis/nasm/rdoff/ldrdf.exe -------------------------------------------------------------------------------- /isis/nasm/rdoff/rdf2bin.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/isis/nasm/rdoff/rdf2bin.exe -------------------------------------------------------------------------------- /isis/nasm/rdoff/rdf2com.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/isis/nasm/rdoff/rdf2com.exe -------------------------------------------------------------------------------- /isis/nasm/rdoff/rdf2ihx.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/isis/nasm/rdoff/rdf2ihx.exe -------------------------------------------------------------------------------- /isis/nasm/rdoff/rdf2ith.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/isis/nasm/rdoff/rdf2ith.exe -------------------------------------------------------------------------------- /isis/nasm/rdoff/rdf2srec.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/isis/nasm/rdoff/rdf2srec.exe -------------------------------------------------------------------------------- /isis/nasm/rdoff/rdfdump.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/isis/nasm/rdoff/rdfdump.exe -------------------------------------------------------------------------------- /isis/nasm/rdoff/rdflib.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/isis/nasm/rdoff/rdflib.exe -------------------------------------------------------------------------------- /isis/nasm/rdoff/rdx.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/isis/nasm/rdoff/rdx.exe -------------------------------------------------------------------------------- /isis/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/isis/setup.py -------------------------------------------------------------------------------- /lib_research/elf_notes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/lib_research/elf_notes -------------------------------------------------------------------------------- /lib_research/lib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/lib_research/lib.c -------------------------------------------------------------------------------- /lib_research/loader.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/lib_research/loader.s -------------------------------------------------------------------------------- /lib_research/loader/elf_offsets.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/lib_research/loader/elf_offsets.s -------------------------------------------------------------------------------- /lib_research/loader/handler.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/lib_research/loader/handler.sh -------------------------------------------------------------------------------- /lib_research/loader/loader.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/lib_research/loader/loader.s -------------------------------------------------------------------------------- /lib_research/loader/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/lib_research/loader/makefile -------------------------------------------------------------------------------- /lib_research/loader/sendModule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/lib_research/loader/sendModule.py -------------------------------------------------------------------------------- /lib_research/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/lib_research/makefile -------------------------------------------------------------------------------- /lib_research/prgm_header.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/lib_research/prgm_header.py -------------------------------------------------------------------------------- /lib_research/stage/gdb.init: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/lib_research/stage/gdb.init -------------------------------------------------------------------------------- /lib_research/stage/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/lib_research/stage/makefile -------------------------------------------------------------------------------- /lib_research/stage/s.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/lib_research/stage/s.c -------------------------------------------------------------------------------- /loader_research/.gdbinit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/loader_research/.gdbinit -------------------------------------------------------------------------------- /loader_research/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/loader_research/Makefile -------------------------------------------------------------------------------- /loader_research/input.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/loader_research/input.c -------------------------------------------------------------------------------- /loader_research/mapper.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/loader_research/mapper.c -------------------------------------------------------------------------------- /loader_research/other.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/loader_research/other.c -------------------------------------------------------------------------------- /loader_research/test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/loader_research/test.c -------------------------------------------------------------------------------- /loader_research/unmap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/loader_research/unmap.c -------------------------------------------------------------------------------- /reverse32IPv4/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/reverse32IPv4/makefile -------------------------------------------------------------------------------- /reverse32IPv4/r32.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/reverse32IPv4/r32.s -------------------------------------------------------------------------------- /reverse32IPv4/readme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/reverse32IPv4/readme -------------------------------------------------------------------------------- /reverse64IPv4/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/reverse64IPv4/makefile -------------------------------------------------------------------------------- /reverse64IPv4/r64.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/reverse64IPv4/r64.s -------------------------------------------------------------------------------- /reverse64IPv4/readme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/reverse64IPv4/readme -------------------------------------------------------------------------------- /shellcodeAsArray/sa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/shellcodeAsArray/sa.py -------------------------------------------------------------------------------- /stage/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/stage/makefile -------------------------------------------------------------------------------- /stage/stage.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osirislab/Shellcode/HEAD/stage/stage.c --------------------------------------------------------------------------------